Re: [xep-support] line-through with different fonts

From: Louis Meigret (meigret@technologist.com)
Date: Sat Jan 24 2004 - 19:14:10 PST

  • Next message: Paul A. Hoadley: "Re: [xep-support] Is it possible to underline a text without underlining its interleaving spaces"

    Alexander Peshkov (peshkov@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@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
    


    This archive was generated by hypermail 2.1.5 : Sat Jan 24 2004 - 19:19:11 PST