← Prev in month ← Prev in thread

proposal; Amend fo:letter-spacing

From
Thomas Zander <>
Date
2008-06-05T15:57:07+00:00
ID
Thread
proposal; Amend fo:letter-spacing
Hello TC,

In ODF the letter spacing attribute specifies the amount of space between 
letters. This is the way that XSL does things and this is fine for things 
like webpages.
Unfortunately for DTP applications this is not really what is expected. The 
spacing between characters in DTP is not a static value, it is a percentage 
value.  Basically when you have an 'm' the spacing adjustment is wider than 
when you have an 'i'.
In KOffice we intend to use the percentage based letter spacing adjustment and 
we were surprised reading the spec (and trying out OOo) that this is not 
possible.  Would it be possible to adjust the spec to also allow percentage 
based values?

Which would add the <ref name="percent"/> and we end up with the following;

<define name="style-text-properties-attlist" combine="interleave">
    <optional>
        <attribute name="fo:letter-spacing">
            <choice>
                <ref name="length"/>
                <value>normal</value>
                <ref name="percent"/>
            </choice>
        </attribute>
    </optional>
</define>

Thanks!
-- 
Thomas Zander
← Prev in month ← Prev in thread