Styling SVG fonts for a PDF using CSS
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 39
- Joined: Mon Jul 25, 2022 11:18 am
Re: Styling SVG fonts for a PDF using CSS
Post by andrei_pomacu »
Hi,
In Chemsitry exists a parameter called use.css.for.embedded.svg which on default is set on yes.
In your CSS you just need to match that tag element and use font-family rule to change the font.
If the font-family rule does not apply directly of the elements that you have targeted using CSS you can visit this topic in order to detect which rule need to override in order to achieve your font changing.
Regards,
Andrei
In Chemsitry exists a parameter called use.css.for.embedded.svg which on default is set on yes.
In your CSS you just need to match that tag element and use font-family rule to change the font.
Code: Select all
text {
font-family: Arial, sans-serif;
}
Regards,
Andrei
-
- Posts: 1
- Joined: Wed Sep 20, 2023 8:33 am
- Contact:
Re: Styling SVG fonts for a PDF using CSS
Hello,
Thanks for the useful information. Changing the font with the font-family rule seems to be a practical solution.
Thanks for the useful information. Changing the font with the font-family rule seems to be a practical solution.
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