According to FOP developers [1], when rendering SVGs, FOP uses batik library - which doesn't use FOP's font configuration, using system fonts instead. I am using a work-around I described in that thread [1] to get SVGs to use proper fonts; you can also pre-render them in your vector editor (e.g., in Inkscape: Path -> Object to path).
[1] http://permalink.gmane.org/gmane.text.xml.fop.user/34984 Regards, Alexey. On Thursday, December 05, 2013 07:45:29 am markus.sticker.e...@zf.com wrote: > Hello, > > I tried to use (for PDF) a SVG which is using the font “symbol”. > (I know the font is a BASE14 font and is embedded in the Adobe Reader. > So I tried with symbol.ttf in the config and also without. I also cleaned > the Font Cache) > > I also have take a look in to the sources and the desired glyph are > described. So this is confusing me, because they got width but are not in > the font ? > > Expected: formula.png > I got: formula_fail.png > -------------------------------------------------------------- FOP message > -------------------------------------------------------------- [WARN] > DefaultEventListener - glyphNotAvailable - Glyph "(" (0x28, parenleft) not > available in font "SymbolMT". [WARN] DefaultEventListener - > glyphNotAvailable - Glyph ")" (0x29, parenright) not available in font > "SymbolMT". [WARN] DefaultEventListener - glyphNotAvailable - Glyph "ò" > (0xf2, ograve) not available in font "SymbolMT". [WARN] > DefaultEventListener - glyphNotAvailable - Glyph "+" (0x2b, plus) not > available in font "SymbolMT". [WARN] DefaultEventListener - > glyphNotAvailable - Glyph "=" (0x3d, equal) not available in font > "SymbolMT". -------------------------------------------------------------- > FOP message -------------------------------------------------------------- > Symbol.java > > è width[0x2b] = 549; > > è width[0xf2] = 274; > > è …. > > So want’s wrong? > Thanks for your help in advance > Best regards > > Markus --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
