Table fonts.
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
Table fonts.
My default fonts are 12pt. When I build the PDF, the output fonts in the table are about half the size.
I tried the following in my CSS:
It didn't work. The fonts are still about half size.
How do I get tables to use the same font size as the rest of the doc?
I tried the following in my CSS:
Code: Select all
table tbody tr td p{
font-size: 12pt !important;
}
How do I get tables to use the same font size as the rest of the doc?
Re: Table fonts.
Hello,
You should double check that there really are any paragraph elements inside the table cells.
One thing you could try would be to match even the cell, by modifying the selector, like:
If this does not solve the issue, as we can not tell what is wrong without knowing the structure that your source DITA file have, you should send us a minimal sample for which the issue is reproducible (on support@oxygenxml.com).
Regards,
Costin
You should double check that there really are any paragraph elements inside the table cells.
One thing you could try would be to match even the cell, by modifying the selector, like:
Code: Select all
table tbody tr td p{
font-size: 12pt !important;
}
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Re: Table fonts.
In case anyone else runs into this, Costin provided a solution that eliminated the problem for me. Added the following to my CSS:
Code: Select all
colspec, col, spanspec{
font-size:1em;
}
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