[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] multiple spans
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=FALSEThen 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 -- 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]