Brian, It's simple. I'll try to explain.
1. Check if fonts, available on your system, support Arabic glyphs. 2. Write down (i.e. in any text editor) the names of these fonts. 3. Open your fo file and check the names of the fonts you are using. Please, note, that the font families in your fo file should have the same names as your font files in your system. 4. Try to use the exact fonts with Arabic glyphs instead of autodetect. Try to use the following: http://xmlgraphics.apache.org/fop/1.1/fonts.html#advanced (but hold the step 2 in your mind). Finally, you need to get: 1. The names of the fonts file in your system, that contains Arabic glyphs. 2. The fo file with font families that exists in your system and contains Arabic glyphs. 3. The configuration file that makes a dependency between the font files in your system and font names fo file. -- Best regards, Eduard Tibet -----Original Message----- From: Brian Hansen [mailto:greencopperm...@gmail.com] Sent: Thursday, November 08, 2012 11:06 AM To: fop-users@xmlgraphics.apache.org Subject: Need help to get Arabic working with FOP Hi I'm pulling my hair out in frustration! I have been trying for so long to get Arabic fonts to display correct when using Docbook (converting XML to FO using Xsltproc and then to PDF using FOP). I'm sorry, but I just don't understand the documentation for FOP. It's not clear enough for me. I'm running FOP 1.0 on Linux. I need to know exacty, step by step, what I need to do to get Arabic text rendered properly. Instead # is shown. I have created this file foprc.xconf: <fop> <renderers> <renderer mime="application/pdf"> <fonts> <auto-detect/> </fonts> </renderer> </renderers> </fop> When I run FOP I use this command: $ fop -c foprc.xconf -fo filename.fo -pdf filename.pdf I get this message: <SNIP> Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400". Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400". Glyph "?" (0x627, afii57415) not available in font "Helvetica-Bold". Glyph "?" (0x644, afii57444) not available in font "Helvetica-Bold". Glyph "?" (0x625, afii57413) not available in font "Helvetica-Bold". Glyph "?" (0x633, afii57427) not available in font "Helvetica-Bold". Glyph "?" (0x645, afii57445) not available in font "Helvetica-Bold". Glyph "?" (0x64a, afii57450) not available in font "Helvetica-Bold". Glyph "?" (0x629, afii57417) not available in font "Helvetica-Bold". Glyph "?" (0x646, afii57446) not available in font "Helvetica-Bold". Glyph "?" (0x644, afii57444) not available in font "Times-Roman". Glyph "?" (0x627, afii57415) not available in font "Times-Roman". Glyph "?" (0x625, afii57413) not available in font "Times-Roman". Glyph "?" (0x647, afii57470) not available in font "Times-Roman". Glyph "?" (0x62a, afii57418) not available in font "Times-Roman". Glyph "?" (0x642, afii57442) not available in font "Times-Roman". Glyph "?" (0x648, afii57448) not available in font "Times-Roman". Glyph "?" (0x649, afii57449) not available in font "Times-Roman". Glyph "?" (0x62e, afii57422) not available in font "Times-Bold". Glyph "?" (0x627, afii57415) not available in font "Times-Bold". Glyph "?" (0x641, afii57441) not available in font "Times-Bold". Glyph "?" (0x625, afii57413) not available in font "Times-Bold". Glyph "?" (0x650, afii57456) not available in font "Times-Bold". Glyph "?" (0x646, afii57446) not available in font "Times-Bold". Glyph "?" (0x651, afii57457) not available in font "Times-Bold". Glyph "?" (0x64e, afii57454) not available in font "Times-Bold". Line 1 of a paragraph overflows the available area by 33725 millipoints. (See position 38:32883) Line 1 of a paragraph overflows the available area by 33725 millipoints. (See position 38:33245) Line 1 of a paragraph overflows the available area by 33725 millipoints. (See position 38:33624) Line 1 of a paragraph overflows the available area by 2500 millipoints. (See position 42:40585) Line 1 of a paragraph overflows the available area by 2500 millipoints. (See position 42:41202) Line 1 of a paragraph overflows the available area by 2500 millipoints. (See position 42:41645) Line 1 of a paragraph overflows the available area by 2500 millipoints. (See position 42:42132) Line 1 of a paragraph overflows the available area by 2500 millipoints. (See position 42:42782) Line 1 of a paragraph overflows the available area by 2500 millipoints. (See position 42:43361) Line 1 of a paragraph overflows the available area by 2500 millipoints. (See position 42:44233) </SNIP> What exactly do I need to do? --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org