Font issues in Mac vs. Linux installations of Oxygen
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 102
- Joined: Fri Oct 19, 2018 2:19 am
Font issues in Mac vs. Linux installations of Oxygen
I have OxygenXML installed on both a Linux desktop and Macbook Pro. The Linux box is correctly configured to produce PDFs like how we want it. However it's been more of a chore to get the Mac to produce correct PDFs.
I've reached a point where the Mac almost produces the same output. But there is a residual nagging font issue that I can't figure out. Please see my attached screenshots below.
The first image shows the output from my Linux box. All fonts are correct.
The second image shows the output from my Macbook. Only the top-level topic font is correct. The others show a Serif font that's not correct.
The third image shows how the hierarchy looks like in the DITA Maps Manager.
I put all customizations into a "Customizations" folder that I created. I copied the Customizations folder from my Linux box to my Mac. I have checked all the files within Customizations, but cannot see where the font discrepancy comes from. I've checked my "font-mappings.xml" file, as well as others. Perhaps I'm looking in the wrong place?
I've reached a point where the Mac almost produces the same output. But there is a residual nagging font issue that I can't figure out. Please see my attached screenshots below.
The first image shows the output from my Linux box. All fonts are correct.
The second image shows the output from my Macbook. Only the top-level topic font is correct. The others show a Serif font that's not correct.
The third image shows how the hierarchy looks like in the DITA Maps Manager.
I put all customizations into a "Customizations" folder that I created. I copied the Customizations folder from my Linux box to my Mac. I have checked all the files within Customizations, but cannot see where the font discrepancy comes from. I've checked my "font-mappings.xml" file, as well as others. Perhaps I'm looking in the wrong place?
- PDF - how it's supposed to look like.png
- PDF - incorrect fonts from Mac.png
- PDF - how it looks like in DITA Manager.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 670
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Font issues in Mac vs. Linux installations of Oxygen
Post by julien_lacour »
Hello,
You can debug the .merged.html file generated during the transformation and see for the incorrect fonts which one is used (using the browser inspector).
Normally the Chemistry processor uses some fallback fonts in case a font is missing in the platform (and when the font-family is set on serif, sans-serif or monospace) but if the display is still not compliant you can add a custom css file (args.css in the transformation) to specify different fonts (using font-family).
Regards,
Julien
You can debug the .merged.html file generated during the transformation and see for the incorrect fonts which one is used (using the browser inspector).
Normally the Chemistry processor uses some fallback fonts in case a font is missing in the platform (and when the font-family is set on serif, sans-serif or monospace) but if the display is still not compliant you can add a custom css file (args.css in the transformation) to specify different fonts (using font-family).
Regards,
Julien
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