Description
We're still using AWT fonts to render the "standard 14" built-in fonts, which causes rendering problems and encoding issues (see PDFBOX-2140). We're also using AWT for some fallback fonts.
Removal of these AWT fonts isn't too difficult, we need to load the fonts using the existing PDFFontManager mechanism which has recently been added. All missing TrueType fonts loaded from disk have been using SystemFontManager for a number of weeks now.
We should ship some sensible default fonts with PDFBox, such as the Liberation fonts (see PDFBOX-2169, PDFBOX-2263), in case PDFFontManager can't find anything suitable, rather than falling back to the default TTF font, but by default we'll probe the system for suitable fonts.
Attachments
Attachments
Issue Links
- blocks
-
PDFBOX-2279 Text with gradient not shown
- Closed
-
PDFBOX-2256 Text size renders wrong
- Closed
-
PDFBOX-2277 Text overflow in field
- Closed
-
PDFBOX-2278 Exception in thread "main" java.lang.IllegalStateException: Call to processSubStream() before processStream() or initStream()
- Closed
-
PDFBOX-2280 Text not italic
- Closed
-
PDFBOX-2283 Incorrect transform for annotations / appearance streams
- Closed
-
PDFBOX-2294 Improve vertical text drawing as an experiment
- Closed
- duplicates
-
PDFBOX-2263 Support OS with limited fonts
- Closed
-
PDFBOX-2827 PDF to Image - unable to display text of PDFs
- Closed
- supercedes
-
PDFBOX-2295 Checkboxes missing
- Closed