Docbook available fonts
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 5
- Joined: Fri May 06, 2011 12:08 pm
Docbook available fonts
I'm using oxygen 12.1 on my MAC OS 10.6.7.
I'm trying to change font on my Docbook document. I configured fop-config.xml with <fonts><auto-detect></auto-detect></fonts>.
I would like to understand where docbook trasformation get fonts because if I put in body.font.family 'arial' in place of serif the trasformation returns # in place of characters, if I put 'Arial' that exits in /Library/Fonts the transformation returns error "Couldn't find hyphenation pattern it". If I put "Arial Unicode MS" (that doesn't exists in /Library/Fonts) it works but it doesn't transform bold and italic ...
So my questions are:
- where are fonts discovered with with auto-detect?
- what it means hyphenation pattern, how can provide it?
thanx
I'm trying to change font on my Docbook document. I configured fop-config.xml with <fonts><auto-detect></auto-detect></fonts>.
I would like to understand where docbook trasformation get fonts because if I put in body.font.family 'arial' in place of serif the trasformation returns # in place of characters, if I put 'Arial' that exits in /Library/Fonts the transformation returns error "Couldn't find hyphenation pattern it". If I put "Arial Unicode MS" (that doesn't exists in /Library/Fonts) it works but it doesn't transform bold and italic ...
So my questions are:
- where are fonts discovered with with auto-detect?
- what it means hyphenation pattern, how can provide it?
thanx
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Docbook available fonts
Hello,
The fonts are searched in the default paths of the operating system(printenv PATH in a terminal).
Details here:
http://xmlgraphics.apache.org/fop/0.95/ ... autodetect
The hyphenation patterns represents the support for hyphenating words(divide or connect them with a hyphen). This is not mandatory and rarely used.
Details here:
http://xmlgraphics.apache.org/fop/0.95/hyphenation.html
Regards,
Adrian
The fonts are searched in the default paths of the operating system(printenv PATH in a terminal).
Details here:
http://xmlgraphics.apache.org/fop/0.95/ ... autodetect
The hyphenation patterns represents the support for hyphenating words(divide or connect them with a hyphen). This is not mandatory and rarely used.
Details here:
http://xmlgraphics.apache.org/fop/0.95/hyphenation.html
Regards,
Adrian
Adrian Buza
<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)
- ↳ 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