Normally, http://xmlgraphics.apache.org/fop/faq.html#pdf-characters applies.
Removing the metrics-url is one step in the right direction. Then you need a font that contains the required glyphs, hoping it is not a symbolic font which can cause problems. Fonts like Arial or FreeSans are known to have Greek characters. If the font has the right Unicode characters and a Unicode CMap table, FOP can display the characters. On 23.07.2010 12:30:10 Spyros Papantoniou wrote: > Hello, > > I try to print Greek characters with FOP 0.95, but apparently only the first > page (ANSI) seems to be accessible. The Greek characters are located in the > second page (after 255) of the character set. > They are displayed as ####. > > Use userconfig.xml, and was advised to remove the metrics files. > Still the fonts are not printed. > > <fop version="1.0"> > <renderers> > <renderer mime="application/pdf"> > <fonts> > <font > metrics-url="file:///Users/sp/Triboni8080/ginkgo/fopFonts/Greek.xml" > kerning="yes" > > embed-url="file:///Users/sp/Triboni8080/ginkgo/fopFonts/Greek.ttf"> > <font-triplet name="FreeSans" style="normal" weight="normal"/> > </font> > <font > metrics-url="file:///Users/spyrospapantoniou/Triboni8080/ginkgo/fopFonts/GREEKPAR.xml" > > kerning="yes" > > embed-url="file:///Users/spyrospapantoniou/Triboni8080/ginkgo/fopFonts/GREEKPAR.ttf"> > <font-triplet name="FreeSans" style="normal" weight="bold"/> > </font> > > <font <!-- > metrics-url="file:///Users/sp/Triboni8080/ginkgo/fopFonts/DINRg.xml" > kerning="yes" --> > > embed-url="file:///Users/sp/Triboni8080/ginkgo/fopFonts/DINRg.ttf"> > <font-triplet name="DINRg" style="normal" weight="normal"/> > </font> > > > </fonts> > <renderer> > </renderers> > </fop> > > Sample output with DINRg: > > ####: Anafora ########### DINRg, ##μ### 24.05.2010 ### 23.07.2010 > > latin chars ok, Greek = ### > > > Any ideas how to configure fop to print Greek? > many thanks > Spyros > > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
