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 Andreas,

i found the attributes you are looking for :)

20.367  style:text-combine

20.385  style:text-rotation-angle

these work in a similar way to the proposed text range box / text portion box / whatever it will be called: consecutive spans with the same value get combined into one 2-lines or rotated

of course the specification doesn't currently say that this is the case...

regards,
 michael

On 01.03.21 20:47, Andreas J Guelzow wrote:
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...

--
Michael Stahl
Senior Software-Entwickler LibreOffice
âââ
allotropia software GmbH
Flachsland 10
22083 Hamburg
Germany
âââ
michael.stahl@allotropia.de
https://www.allotropia.de
âââ
Registered office: Hamburg, Germany
Registration court Hamburg, HRB 165405
Managing director: Thorsten Behrens
VAT-ID: DE 335606919
âââ


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