Summary: | GlobalParams::getDisplayFont fails if best font is not TrueType/Type1 | ||
---|---|---|---|
Product: | poppler | Reporter: | Ed Catmur <ed> |
Component: | general | Assignee: | Jeff Muizelaar <jmuizelaar> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | high | CC: | dberkholz, dynamotwain, ghepeu, jmuizelaar, sschweizer, uws+freedesktop |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
5758.bugs.fdo-try-all-fonts.patch
revised patch Backtrace |
Description
Ed Catmur
2006-01-29 19:38:43 UTC
Probably the same as bug 4030 (yeah, I found it when I looked for a downstream bug - meaningful bug names, people). However the patch here is IMO superior. Created attachment 4503 [details] [review] 5758.bugs.fdo-try-all-fonts.patch Oh yeah, here's the patch as suggested above. Leaving this separate from bug 4030 as there are other possible triggers for this condition (and it's generally good code cleanup). You so totally rock, dude. Btw, why can't OpenType fonts be used properly? 2006-01-31 Jeff Muizelaar <jeff@infidigm.net> * poppler/GlobalParams.cc (GlobalParams::getDisplayFont): Allow ttc fonts to be used. This commit rendered the patch from comment 2 useless. Can anyone please look into this? Created attachment 4528 [details] [review] revised patch This should work. Confirming that this patch fixes the problems. Can someone commit this? It fixes bug #4030 too. It doesn't actually fix bug #4030 just avoids the problem. Nonetheless I'll commit this soon. The file at [1] still causes crashes and font warnings on the console. Can you confirm? [1] http://www.rovernet.nl/nieuws/berichten/ber060118bijl3.pdf That is probably caused by bug #4030. What are the font warnings it gives you? evince ber060118bijl3.pdf Error: could not create truetype face some font thing failed Error: could not create truetype face some font thing failed Will attach a backtrace... Created attachment 4533 [details]
Backtrace
Crash on exit...
Any progress here? committed. |
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.