OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [office] multiple spans


Hi Michael,

I am just working from the ODF Standard and was looking for a property that does not just affect a single character. (In Gnumeric you cannot specify kerning between characters, therefore so far I have not yet to worry about implementation of this.)

Andreas


On 2021-03-01 12:17 p.m., Michael Stahl wrote:

hi Andreas,

On 01.03.21 19:38, Andreas J Guelzow wrote:
Hi,

If I compare

<text:p style-name="styleA">AB<text:span style-name="styleB">CD<text:span style-name="styleA">EF</text:span>GH</text:span>IJ</text:p>

with

<text:p style-name="styleA">AB<text:span style-name="styleB">CD</text:span><text:span style-name="styleA">EF</text:span><text:span style-name="styleB">GH</text:span>IJ</text:p>

where styleA includes style:letter-kerning=TRUE and styleB includes style:letter-kerning=FALSE

Then I would think that in the first case there is no letter kerning between D and E but in the second case there is letter kerning between D and E.

how do you implement the second case? you only get letter kerning between 2 characters if you send both of them to the text shaping together, but you can't do that if they have different formatting or a different font, which may well be the case between styleA and styleB.

in LO Writer, the only text-properties attribute that *doesn't* prevent kerning at span breaks is the dreaded officeooo:rsid extension, and that was a pain to implement...

regards,
Âmichael


--

Andreas J. Guelzow, PhD FTICA

Registrar & Associate Vice-President, Enrolment and Planning

Professor, Mathematical & Computing Sciences

Direct: +1 780 479 9290
Toll-Free: +1 866 479 5200

Concordia University of
                                        Edmonton

concordia.ab.ca


Concordia University of
                                      Edmonton Twitter Concordia University of
                                      Edmonton Instagram Concordia University of
                                      Edmonton Facebook



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]