[
https://issues.apache.org/jira/browse/FOP-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Harrop updated FOP-1896:
------------------------------
Attachment: FOP-1896-ascender-descender.fo
FOP-1896-fonts.xconf
> Incorrect text underlines position for some fonts
> -------------------------------------------------
>
> Key: FOP-1896
> URL: https://issues.apache.org/jira/browse/FOP-1896
> Project: FOP
> Issue Type: Bug
> Components: font/unqualified
> Affects Versions: 1.0
> Environment: Operating System: All
> Platform: All
> Reporter: Alexander Chingarev
> Attachments: FOP-1896-ascender-descender.fo, FOP-1896-fonts.xconf,
> TTFFile.java, underlines_issue.zip
>
>
> For some fonts text underlines may be incorrect. They are positioned upper
> than they should be or disappear at all.
> Quick investigation of those fonts and FOP sources shows that it depends on
> sTypoAscender used in FOP.
> Normally sTypoAscender is negative and underlines are positioned correctly in
> this case.
> If sTypoDecender is positive then text is crossed out instead of underlined.
> If it's 0 then underline is invisible.
> Attached are FO file and result PDF.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)