You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Foucault, Sebastien" <Se...@hraccess.com> on 2005/01/18 10:44:40 UTC

RE : RE : Alignement problems in table with no borders

Jeremias,

I'd like to thank you VERY VERY VERY (...) MUCH for that quick, precise and
helpful answer ! It seems to work perfectly !

I am not a font specialist. 
- Could you explain me the reason for that wrong behaviour (is it a bug) ? 
- What are the potential issues involved by the removal of the "kerning"
elements in the metrics file (I had to remove them mymelf from the metrics
XML document using DOM / Xpath functions because the TTFReader.constructFont
element has no parameter allowing to switch kerning elements generation off
) ?
- Why the "no" value on the kerning attribute in userconfig.xml file is not
enough (I tried it does not work) ?

Thank's in advance

Regards
--
Sébastien FOUCAULT




-----Message d'origine-----
De : Jeremias Maerki [mailto:dev.jeremias@greenmail.ch] 
Envoyé : 18 January 2005 08:11
À : fop-user@xml.apache.org
Objet : Re: RE : Alignement problems in table with no borders


Try removing all kerning elements from the font metric XML file and
switching kerning to "no" in the userconfig.xml.

On 17.01.2005 18:38:55 Foucault, Sebastien wrote:
> It is impossible to reproduce the alignment problem in basic conditions.
> I refined the diagnostic of this problem, 
> The problem occurs when using font metrics for the Arial font.
> 
> In userconfig.xml :
> 
> <font kerning="yes" metrics-file="font6364.xml">
>    <font-triplet name="Arial" style="normal" weight="normal"/>
> </font>
> 
> The font metrics file & the FO file are attached.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: RE : RE : Alignement problems in table with no borders

Posted by Jeremias Maerki <de...@greenmail.ch>.
On 18.01.2005 10:44:40 Foucault, Sebastien wrote:
> Jeremias,
> 
> I'd like to thank you VERY VERY VERY (...) MUCH for that quick, precise and
> helpful answer ! It seems to work perfectly !

You're welcome.

> I am not a font specialist. 
> - Could you explain me the reason for that wrong behaviour (is it a bug) ? 

It's a bug, yes.

> - What are the potential issues involved by the removal of the "kerning"
> elements in the metrics file (I had to remove them mymelf from the metrics
> XML document using DOM / Xpath functions because the TTFReader.constructFont
> element has no parameter allowing to switch kerning elements generation off
> ) ?

No issues, other than the text generated could be nicer looking from a
typographical point of view. Kerning manipulates the horizontal
positioning of characters, for example it ensures that for "AV" the "V"
is moved closer to the "A" than it would normally be so the text looks
nicer.

> - Why the "no" value on the kerning attribute in userconfig.xml file is not
> enough (I tried it does not work) ?

I don't know. I've never managed to allocate the time to find out. I was
happy enough to have a work-around.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org