[
https://issues.apache.org/jira/browse/PDFBOX-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17296797#comment-17296797
]
Tilman Hausherr commented on PDFBOX-5115:
-----------------------------------------
We're not done yet here. I thought that the soft hyphen would be displayed
(because it was displayed with the Arial and Liberation Sans), but no, some
fonts are different, as our large scale regression testing shows. In the
attached file, it can be seen with "Max-Planck-Institute". So I'll have to add
logic, probably similar to the one done with nbspace.
> U+00AD ('sfthyphen') is not available in this font Times-Roman encoding:
> WinAnsiEncoding
> ----------------------------------------------------------------------------------------
>
> Key: PDFBOX-5115
> URL: https://issues.apache.org/jira/browse/PDFBOX-5115
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.22
> Reporter: Andriy
> Priority: Minor
> Fix For: 2.0.23, 3.0.0 PDFBox
>
> Attachments:
> PDFBOX-5115-CSIF66CF7JU7CBKTIEEW7QBGWIONBFPG-p1-soft-hyphen.pdf
>
>
> U+00AD ('sfthyphen') is not available in this font Times-Roman encoding:
> WinAnsiEncoding
>
> this symbol U+00AD are in WinAnsiEncoding by the code but the slightly
> different name
>
> {quote}private static final Object[][] WIN_ANSI_ENCODING_TABLE = {
> // adding some additional mappings as defined in Appendix D of the pdf spec
> ...
> \{0255, "hyphen"}
> {quote}
>
> it is right that both code and name must be equal ?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]