Non-breaking hyphen comes as # in PDF output
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 37
- Joined: Wed May 13, 2015 11:02 am
Non-breaking hyphen comes as # in PDF output
I want to use the non-breaking hyphen, but when publishing my DITA content to PDF, the hyphen is rendered as #. This is the case if I insert the hyphen via oXygen's character map, or as decimal ‑ or as hex ‑
Any clues here? Thanks a lot.
Chris.
Any clues here? Thanks a lot.
Chris.
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Non-breaking hyphen comes as # in PDF output
Post by radu_pisoi »
Hi,
This usually happens when the font that you use have not a glyph for a specific character (Non-breaking hyphen for this case).
The solution is to use a font that includes a glyph for this character. Please see the Set a Font for PDF Output Generated with FO Processor topic from our documentation for more details.
This usually happens when the font that you use have not a glyph for a specific character (Non-breaking hyphen for this case).
The solution is to use a font that includes a glyph for this character. Please see the Set a Font for PDF Output Generated with FO Processor topic from our documentation for more details.
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: 37
- Joined: Wed May 13, 2015 11:02 am
Re: Non-breaking hyphen comes as # in PDF output
Hi Radu
I don't use any odd font. Just Arial. But I realized that the non-breaking hyphen is only supported in Arial Unicode MS, which was deactivated in the Windows fonts. After activating it I thought, this might be it, but still same result. However, I now used the zero-width no-break space entity ⁠ which works fine for my purpose.
Chris.
I don't use any odd font. Just Arial. But I realized that the non-breaking hyphen is only supported in Arial Unicode MS, which was deactivated in the Windows fonts. After activating it I thought, this might be it, but still same result. However, I now used the zero-width no-break space entity ⁠ which works fine for my purpose.
Chris.
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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