Registering fonts with FOP
Posted: Fri Mar 15, 2013 9:42 pm
I'm trying to follow the instructions here:
http://www.oxygenxml.com/doc/ug-editor/ ... n-FOP.html
to add fonts to the built-in FOP, on Linux, but the suggested script fails.
line 3: export: `-cp': not a valid identifier
line 3: export: `lib/fop.jar:lib/avalon-framework-4.2.0.jar:lib/xercesImpl.jar': not a valid identifier
line 4: export: `org.apache.fop.fonts.apps.TTFReader': not a valid identifier
Exception in thread "main" java.lang.NoClassDefFoundError: /usr/share/fonts/truetype/gentium-plus/GentiumPlus-R/ttf
The jar files are all where they're supposed to be. I must be missing something obvious. Can anyone see what it is?
All help appreciated,
Martin
http://www.oxygenxml.com/doc/ug-editor/ ... n-FOP.html
to add fonts to the built-in FOP, on Linux, but the suggested script fails.
line 3: export: `-cp': not a valid identifier
line 3: export: `lib/fop.jar:lib/avalon-framework-4.2.0.jar:lib/xercesImpl.jar': not a valid identifier
line 4: export: `org.apache.fop.fonts.apps.TTFReader': not a valid identifier
Exception in thread "main" java.lang.NoClassDefFoundError: /usr/share/fonts/truetype/gentium-plus/GentiumPlus-R/ttf
The jar files are all where they're supposed to be. I must be missing something obvious. Can anyone see what it is?
All help appreciated,
Martin