Incorrect value in ascent field of GfxFont
Submitted by vvo..@..dex.ru
Assigned to poppler-bugs
Description
Created attachment 94958 Test PDF
When using Arial font, GfxFont.ascent becomes equal 0.718, but it needs to be equal to 0.905. The problem occurs in GfxFont.cc, near this comment: // for non-embedded fonts, don't trust the ascent/descent/bbox // values from the font descriptor Because of this block, Arial's GfxFont.ascent becomes equal to Helvetica's ascent, which is wrong. Test PDF is attached.
Attachment 94958, "Test PDF":
underlined2.pdf