[
https://issues.apache.org/jira/browse/PDFBOX-5503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr closed PDFBOX-5503.
-----------------------------------
Resolution: Not A Bug
Closing this one, the "ş" isn't part of WinAnsiEncoding. Load a TrueType font
like described in the link I posted yesterday.
> U+015F ('scedilla') is not available in this font Times-Roman encoding:
> WinAnsiEncoding
> ---------------------------------------------------------------------------------------
>
> Key: PDFBOX-5503
> URL: https://issues.apache.org/jira/browse/PDFBOX-5503
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox, Rendering
> Affects Versions: 2.0.24
> Reporter: Thatsaphorn Atchariyaphap
> Priority: Minor
>
> 2022-09-09T09:26:06.494 ERROR Idle pool thread Error executing
> client request: U+015F (scedilla) is not available in this font Times-Roman
> encoding: WinAnsiEncoding
> java.lang.IllegalArgumentException: U+015F ('scedilla') is not available in
> this font Times-Roman encoding: WinAnsiEncoding
> at org.apache.pdfbox.pdmodel.font.PDType1Font.encode(PDType1Font.java:427)
> at org.apache.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:333)
> at org.apache.pdfbox.pdmodel.font.PDFont.getStringWidth(PDFont.java:364)
>
> I also tried to use all fonts available in PDType1Font, e.g. Helvetica, but I
> always get the same error (('scedilla') is not available in this font <font
> name> encoding: WinAnsiEncoding)
>
> Possibly this is a similar "issue" as here:
> https://issues.apache.org/jira/browse/PDFBOX-5115?actionOrder=desc
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]