You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/05/07 16:51:04 UTC
[jira] [Commented] (PDFBOX-3780) Heights of Characters
[ https://issues.apache.org/jira/browse/PDFBOX-3780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15999939#comment-15999939 ]
ASF subversion and git services commented on PDFBOX-3780:
---------------------------------------------------------
Commit 1794223 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1794223 ]
PDFBOX-3780: favor using path maxY instead of estimate for CapHeight and XHeight when missing in font
> Heights of Characters
> ---------------------
>
> Key: PDFBOX-3780
> URL: https://issues.apache.org/jira/browse/PDFBOX-3780
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.5
> Reporter: Uwe Möser
> Priority: Critical
> Attachments: DejaVuSansCondensed-Bold.ttf, DejaVuSansCondensed.ttf, PDFBoxHeightTest.java, PDFBoxHeightTest.pdf
>
>
> the functions
> .getFontDescriptor().getCapHeight()
> .getFontDescriptor().getXHeight()
> .getFontDescriptor().getAscent()
> .getFontDescriptor().getDescent()
> getHeight(int code)
> do not work proper especially for embedded fonts, PDType0Font .
> Please see the attached file PDFBoxHeightTest.pdf where the line is and should be. The fonts were downloaded from http://www.schriftarten-fonts.de/fonts/11283/dejavu_sans_condensed.html
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org