Bug#808839: Exception java.lang.IllegalArgumentException: URI is not hierarchical
Mathieu Malaterre
malat at debian.org
Mon Feb 15 07:24:56 UTC 2016
Control: tags -1 confirmed
$ export FOP_HYPHENATION_PATH=/usr/share/java/jlatexmath-fop.jar
$ sudo apt-get install libjlatexmath-fop-java
$ apt-get source libjlatexmath-fop-java
$ cd libjlatexmath-java-1.0.3/
$ fop -xsl ./plugin/fop/examples/latex.xsl -c
./plugin/fop/examples/conf.xml -xml
./plugin/fop/examples/latex_docbook.xml -pdf /tmp/bla.pdf
[...]
[WARN] FOUserAgent - Unable to load font file:
file:/usr/share/fonts/X11/Type1/a010035l.pfb. Reason:
java.io.FileNotFoundException: Neither an AFM nor a PFM file was found
for file:/usr/share/fonts/X11/Type1/a010035l.pfb
[INFO] Type1FontLoader - No Unicode mapping for glyph: AFM Char: 153 (anglearc)
[INFO] Type1FontLoader - No Unicode mapping for glyph: AFM Char: 166 (diameter)
[INFO] Type1FontLoader - No Unicode mapping for glyph: AFM Char: 153 (anglearc)
[INFO] Type1FontLoader - No Unicode mapping for glyph: AFM Char: 166 (diameter)
[INFO] Type1FontLoader - No Unicode mapping for glyph: AFM Char: 153 (anglearc)
[INFO] Type1FontLoader - No Unicode mapping for glyph: AFM Char: 166 (diameter)
[INFO] Type1FontLoader - No Unicode mapping for glyph: AFM Char: 153 (anglearc)
[INFO] Type1FontLoader - No Unicode mapping for glyph: AFM Char: 166 (diameter)
[INFO] Type1FontLoader - No Unicode mapping for glyph: AFM Char: 153 (anglearc)
[INFO] Type1FontLoader - No Unicode mapping for glyph: AFM Char: 166 (diameter)
[FATAL] TTFFile - Unsupported TrueType font: No Unicode or Symbol cmap
table not present. Aborting
[WARN] FOUserAgent - Unable to load font file:
file:/usr/share/fonts/truetype/droid/DroidSansJapanese.ttf. Reason:
java.io.IOException: The font does not have a Unicode cmap table:
file:/usr/share/fonts/truetype/droid/DroidSansJapanese.ttf
[ERROR] FOP - Exception <java.lang.IllegalArgumentException: URI is
not hierarchical>java.lang.IllegalArgumentException: URI is not
hierarchical
at java.io.File.<init>(File.java:418)
at org.apache.fop.fonts.FontCache.addFont(FontCache.java:335)
at org.apache.fop.fonts.autodetect.FontInfoFinder.getFontInfoFromCustomFont(FontInfoFinder.java:157)
at org.apache.fop.fonts.autodetect.FontInfoFinder.find(FontInfoFinder.java:269)
at org.apache.fop.fonts.FontAdder.add(FontAdder.java:63)
at org.apache.fop.fonts.FontDetectorFactory$DefaultFontDetector.detect(FontDetectorFactory.java:110)
at org.apache.fop.fonts.FontManager.autoDetectFonts(FontManager.java:229)
at org.apache.fop.fonts.DefaultFontConfigurator.configure(DefaultFontConfigurator.java:82)
at org.apache.fop.render.PrintRendererConfigurator.getCustomFontCollection(PrintRendererConfigurator.java:147)
at org.apache.fop.render.PrintRendererConfigurator.setupFontInfo(PrintRendererConfigurator.java:127)
at org.apache.fop.render.intermediate.IFUtil.setupFonts(IFUtil.java:170)
at org.apache.fop.render.intermediate.IFRenderer.setupFontInfo(IFRenderer.java:187)
at org.apache.fop.area.RenderPagesModel.<init>(RenderPagesModel.java:75)
at org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:135)
at org.apache.fop.area.AreaTreeHandler.<init>(AreaTreeHandler.java:105)
at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:350)
at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:107)
at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:104)
at org.apache.fop.apps.Fop.<init>(Fop.java:78)
at org.apache.fop.apps.FOUserAgent.newFop(FOUserAgent.java:182)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:107)
at org.apache.fop.cli.Main.startFOP(Main.java:186)
at org.apache.fop.cli.Main.main(Main.java:217)
More information about the pkg-java-maintainers
mailing list