Re: [xep-support] Creating inline areas with zero width

From: Jirka Kosek <jirka@kosek.cz>
Date: Wed Jun 14 2006 - 10:25:42 PDT

Janean Angeles wrote:
> I'm not sure if this is the 'best' way of doing this, but it worked for me.
>
> Try applying a negative padding-left to the 2nd value. Taking your fo and altering it like this:
>
> <fo:block>
> A<fo:inline baseline-shift="super" inline-progression-dimension="0pt">X</fo:inline><fo:inline baseline-shift="sub" padding-left="-8pt">Y</fo:inline>
> </fo:block>
>
> This technique worked in my test. You may still have to play with the padding variable to get them right (due to font differences), but it's something to start with...

Yes, negative spaces are solution, but only in a case when you know the
exact size of overlapping content. My problem is, that instead of single
letter "X" I must cope with arbitrary content of unknown width.

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------

-------------------
(*) 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/terms-of-service.html

Received on Wed Jun 14 11:03:34 2006

This archive was generated by hypermail 2.1.8 : Wed Jun 14 2006 - 11:03:35 PDT