Im using xsl-fo for printing pdfs (started to make my own library with itext, but xsl-fo looks fine for me). I have problem with aligning text which have different letter-spacing than default. my code is:
<fo:block border="solid 0.5mm green" text-align="center">
<fo:inline border="solid 0.5mm black" letter-spacing="5pt">lorem ipsum</fo:inline>
</fo:block>
it produces the output:
Problem is, that text "lorem ipsum" got to be positioned with larger letter-spacing, instead of positioning text with default letter-spacing and printing text with user defined letter-spacing. when we delete the letter-spacing="5pt" all works as expected.
Is there any override to this behavior? I have tried googling for some fancy attributes that will help, or tried playing with blocks but have no luck. Thanks.