[xep-support] line-through with different fonts

Louis Meigret meigret at technologist.com
Sat Jan 24 19:14:10 PST 2004



Alexander Peshkov (peshkov at renderx.com) wrote in answer to Oliver

>OB> I'm using <fo:inline text-decoration="line-through"> ... </fo:inline>
>OB> to create text that is marked as cancelled.
>OB> Unfortunately if the contents uses different fonts (Courier, Helvetica
>OB> and Times), the result is not a straight line but rather a line that
>OB> has breaks (the parts appear in slightly different vertical positions).
>OB> I suspect this is because each font has its own metric (though the
>OB> font-size is the same).

>Yes, you are right. Line-through cross glyphs at the half X-height. 

[LM] I have a corollary question. It seems that when I change font the thickness of the strikehrough sometimes changes (for, I believe, the same fontsize). Is this also a font variable ? A given glyph in the font ?


-- 
_______________________________________________
Get your free email from http://www.iname.com

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list