Changed rendering of lists in PDF
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 8
- Joined: Tue Jan 07, 2025 12:51 pm
Changed rendering of lists in PDF
Hi,
we've encountered a publishing issue in Oxygen 27.1 when creating PDFs (it's all fine in WebHelp). In numbered lists, the number suddenly uses the default font instead of our branding font. I assume that this change came with Oxygen 27.1 and the new DITA OT. I don't have Oyxgen 27.0 anymore but could compare with Oxygen 26.1.
I've compared the different file versions in the PDF output folder:
Thanks in advance!
Clara
we've encountered a publishing issue in Oxygen 27.1 when creating PDFs (it's all fine in WebHelp). In numbered lists, the number suddenly uses the default font instead of our branding font. I assume that this change came with Oxygen 27.1 and the new DITA OT. I don't have Oyxgen 27.0 anymore but could compare with Oxygen 26.1.
I've compared the different file versions in the PDF output folder:
- In the PDF, the list item number font has changed from 26.1 to 27.1.
- In the merged HTML, the content has'nt changed.
- In the FO file, there is the change visible in the source:
- In the Oxygen 26.1 output, the list item number uses just a block:
Code: Select all
<fo:block text-align="end">4. </fo:block>
- Where in the Oxygen 27.1 output, the list item number got additional formatting:
Code: Select all
<fo:block text-align="end" font-family="Times New Roman,Liberation Serif,DejaVu Serif,Symbol,Segoe UI Symbol,FreeSerif,ZapfDingbats">4. </fo:block>
- In the Oxygen 26.1 output, the list item number uses just a block:
Thanks in advance!
Clara
-
- Posts: 712
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Changed rendering of lists in PDF
Post by julien_lacour »
Hello Clara,
You have the possibility to override the fonts used by list-items markers using a CSS rule similar to this one:
Regards,
Julien
You have the possibility to override the fonts used by list-items markers using a CSS rule similar to this one:
Code: Select all
*[class ~= "topic/ul"] > *[class ~= "topic/li"]::marker {
font-family: "Segoe UI", sans-serif;
}
Julien
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)
- ↳ 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