[xep-support] Creating inline areas with zero width

Jirka Kosek jirka at kosek.cz
Wed Jun 14 10:25:42 PDT 2006


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 at 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
------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3225 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060614/a7351bb5/attachment.bin>


More information about the Xep-support mailing list