Author 16.1 / 17 pdf (font problem)
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 14
- Joined: Fri Nov 15, 2013 12:31 pm
Author 16.1 / 17 pdf (font problem)
I am sorry, I can't figure out how to configure file or the app to produce pdf with accented chars. My file is in Czech, TEI Lite, fully valid but in the output there are many hashes instead of accented characters. I have tried on Win 7 as well as Lin Mint, the same. From the documentation I am not able to understand whether it is a xsl problem, font problem, app setting problem or something different...
Any help more than welcome! (I have to admit this prevents me from quick including Oxygen into a publishing worklow
)
Welblaud
Any help more than welcome! (I have to admit this prevents me from quick including Oxygen into a publishing worklow

Welblaud
-
- Posts: 14
- Joined: Fri Nov 15, 2013 12:31 pm
Re: Author 16.1 / 17 pdf (font problem)
The log is:
Code: Select all
ERROR - Couldn't find hyphenation pattern for lang="en_US".
Process ended with exit code: 0
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Author 16.1 / 17 pdf (font problem)
Post by radu_pisoi »
Hi,
If the document contains some Unicode characters that cannot be rendered by the default PDF fonts, then a special font that is capable to render these characters must be configured and embedded in the PDF result.
For this issue, we have a dedicated topic in our user manual:
http://oxygenxml.com/doc/versions/17.1/ ... n-FOP.html
If the document contains some Unicode characters that cannot be rendered by the default PDF fonts, then a special font that is capable to render these characters must be configured and embedded in the PDF result.
For this issue, we have a dedicated topic in our user manual:
http://oxygenxml.com/doc/versions/17.1/ ... n-FOP.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 14
- Joined: Fri Nov 15, 2013 12:31 pm
Re: Author 16.1 / 17 pdf (font problem)
Thank you, I have read these instructions. The very basic idea of a small config (all fonts are installed as default in the OS) does not work. I am trying to apply this: http://oxygenxml.com/doc/versions/17.1/ ... ified.html but can’t find the proper place where fonts are set for FO transformations. Somewhere in C:\..\Oxygen XML Author 16\frameworks\tei\xml\tei\stylesheet\fo\fo.xsl?
-
- Posts: 14
- Joined: Fri Nov 15, 2013 12:31 pm
Re: Author 16.1 / 17 pdf (font problem)
I am stuck—the bat throws:

Code: Select all
Error: Could not find or load main class org.apache.fop.fonts.apps.TTFReader

-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Author 16.1 / 17 pdf (font problem)
Post by radu_pisoi »
Yes, you need to modify some XSLT parameters:
For instance, on my Windows 8 machine, I duplicated the TEI PDF transformation scenario and changed the values for the XSLT parameters ending in "*Font" to "Verdana". I did not changed the fop configuration file.For TEI documents you can start with the predefined scenario called TEI PDF, edit the XSLT parameters and set the font name (in our example Arial Unicode MS) to the parameters bodyFont and sansFont.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 14
- Joined: Fri Nov 15, 2013 12:31 pm
Re: Author 16.1 / 17 pdf (font problem)
Thanks! I got it! Changing of parameters works.
It still throws:
... but everything seems fine!

It still throws:
Code: Select all
ERROR - Couldn't find hyphenation pattern for lang="en_US".

-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Author 16.1 / 17 pdf (font problem)
Post by radu_pisoi »
Could you please share with us a sample document to reproduce the hyphenation problem?
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Author 16.1 / 17 pdf (font problem)
Post by radu_pisoi »
You get this error because the hyphenation support is not installed for the Apache FOP processor.
To install a custom hyphenation pattern for use with Apache FOP please follow the Adding Libraries to the Built-in FO Processor procedure from our user manual.
To install a custom hyphenation pattern for use with Apache FOP please follow the Adding Libraries to the Built-in FO Processor procedure from our user manual.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service