Jeff, Le 28/10/2011 12:57, Jeffrey Walton a écrit : > On Fri, Oct 28, 2011 at 5:59 AM, Pascal Sancho <[email protected]> > wrote: >> Hi, >> >> Please, do not mix 2 topics in one thread, that help users to retrieve >> relevant info in archives. > Sorry, I don't understand what you meant. Rendering → and Base-14 > seemed relevant. > >> That said: >> assuming your → is declared in a DTD, you have to set a >> font-family that contains such glyph, even when in one of Base-14 fonts. > OK. I looked through fop(1) before posting, and did not see a way to > add additional fonts.
the glyph corresponding to → (AKA →) is in ZapfDingbats font. You have to explicitely set it: <fo:wrapper font-family="ZapfDingbats">→</fo:wrapper> Note that ZapfDingbats onlya have regular glyphes; you have to ensure that italic or bold are not used. You can use other fonts; read [1] for further information. [1] http://xmlgraphics.apache.org/fop/1.0/fonts.html > Jeff > >> Le 28/10/2011 11:17, Jeffrey Walton a écrit : >>> Hi All, >>> >>> My XML source is using → for a right arrow. FOP renders # instead >>> of the symbol in a PDF using the Apache FO stylesheet. I believe the >>> right arrow should be standard (part of Base-14). >>> >>> I believe the right arrow is part of Base14. When using docbook2pdf >>> (via openjade tools), the symbol rendered properly. >>> >>> Ubuntu 10.04, x64. FOP 0.95 (part of Ubuntu package). I believe I have >>> all the Appache FOP stuff installed. I also have MS TrueType fonts >>> installed. For waht its worth, I did not have luck with a local >>> install of FOP 1.0 (see below). >>> >>> Any ideas? >>> >>> Jeff >>> >>> $ pwd >>> /home/jeffrey/Desktop/fop-1.0 >>> $ ant ./build.xml >>> Buildfile: build.xml >>> >>> BUILD FAILED >>> Target "./build.xml" does not exist in the project "fop". -- Pascal --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
