Summary: | substituted fonts do not use specified character widths | ||
---|---|---|---|
Product: | poppler | Reporter: | David Juran <david> |
Component: | splash backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | aacid, egon.kocjan, luke.hutch |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
screenshot
prototype of cairo user fonts for scaling to character widths |
Description
David Juran
2007-09-06 11:00:18 UTC
Created attachment 11452 [details]
screenshot
This is not a bug. The font does not have the fonts embedded and you probably don't have Univers-Light not Univers-UltraCondensed fonts installed in your system, so we try to find some font that matches and draw them where the documents ask for them to be read, as the font we get is wider than those fonts, glyphs overlap. Hmmm, xpdf-3.02-3.fc7 seems to get the font at least somewhat right. But that's maybe a coincidence that happens in this particular case... xpdf has code to adjust the width of the rendered font, that code got ripped out of poppler when the fontconfig patches hit. The cairo backend is 'fixed' now. The splash backend remains broken. Jeff I take it that your "Scale text to match 'm' size" patch is the Cairo backend fix for this? Brad Yep that's the cairo fix. *** Bug 9830 has been marked as a duplicate of this bug. *** Fixed on Splash on master too. *** Bug 14294 has been marked as a duplicate of this bug. *** Does the cairo backend use this information to try to find the font that requires the minimum stretching, i.e. with the most similar metrics? If not (i.e. if it's just approximately matching font style etc.) then this could make some articles look a little funny, as individual glyphs are stretched different amounts to fit on screen. Created attachment 19078 [details] [review] prototype of cairo user fonts for scaling to character widths |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.