[xep-support] Characters not appearing

Gustaf Liljegren gustaf.liljegren at xml.se
Thu Jul 4 10:07:12 PDT 2002


Wendell wrote:

>Do I have to find a way to switch fonts to get, e.g. the "right arrow" 
>(x2192) character to appear? The file symbol.fo in the distribution shows 
>me examples of this.

Yes. Since no font contains all characters, you got to switch fonts
sometimes, and that's what you do with the 'font-family' property. So
whatever path you choose, there must be a switch of font-family in the FO
before you feed it to XEP. I know how it feels like putting a <font>
element into one's DTD, but sometimes it's the best solution. Layout markup
is markup too. :-)

One alternative solution is to use inline images. In one DTD, I made a
"charpic" element for this (becuase the publisher couldn't handle the
Opentype fonts I needed for those special characters). If you make the
image large enough and let XEP scale it down to 10pt or whatever font size
you use, no one will see it. There should be no space around the image.

One bad thing with this approach is that XEP doesn't seem to recognize the
transparent property of GIF files (haven't tried with TIFF). So I can't use
special characters in grayed areas for admonitions and such.

Gustaf

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