Bug 131222
Summary: | gnomeprint does not embed glyphs for indic postscript on some font sizes | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Leon Ho <llch> | ||||||||||
Component: | libgnomeprint22 | Assignee: | Owen Taylor <otaylor> | ||||||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | rawhide | CC: | eng-i18n-bugs, llim, notting | ||||||||||
Target Milestone: | --- | Keywords: | i18n | ||||||||||
Target Release: | --- | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2004-09-27 19:12:35 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Bug Depends On: | |||||||||||||
Bug Blocks: | 126002 | ||||||||||||
Attachments: |
|
Description
Leon Ho
2004-08-30 05:55:53 UTC
Created attachment 103233 [details]
pdf output
Created attachment 103235 [details]
same document, but postscript output
also happens with rawhide20040828 fresh installation + the steps above. Created attachment 103236 [details]
screenshot of ggv
Created attachment 103264 [details]
What I get
I can't reproduce this :-(( Can you check that you get the same problem if you select the font explicitely in the "Page Setup dialog? (I have other Hindi fonts on this system, so had to do that) There is a case for it to work or not. By using SHREE-DV0701-OT font: - If the size of the font is < 11 (i.e. the default print font and size - Monospace 9), postscript will not print out properly. - If the size of the font is >= 11, it will be okay. It seems doesn't matter if I explictly choose the font or not. new info: if I changed the headers font by default from Sans 11 to Sans 9, then Monospace 9 will able to print out on the body. So here is the new steps of reproduce: [not working] - install SHREE-DV0701-OT font - File -> Page Setup -> Fonts -> Restore Default Fonts (so that the Body is size 9; Headers and footers is size 11) - Change the font only - Print Postscript [working] - install SHREE-DV0701-OT font - File -> Page Setup -> Fonts -> Change Headers and footer to size 9 (so both Body & Headers and footers are size 9) - Print Postscript Still can't reproduce. Not really sure where to go from here; debugging is likely going to be rather difficult for me or anyone else, even with reproduction. But maybe it's something more obvious if someone who can reproduce it stepped into the code... most of the font embedding code is a new contribution from Sun so I'm not familiar with it. Well, i realised your header is in english. Are you using LANG=en_US.UTF-8 gedit? I cannot reproduce this too if the header is english. However if the header is in Hindi (i.e. LANG=hi_IN.UTF-8 gedit) then it shows the problem. I agree, the code in gnome-print-ps2.c & libgnomeprint/ttsubset/* are quite overwhelm. I will post to upstream and will hear what they say. I actually tested in hi_IN as well, couldn't reproduce there either. Latest upstream cvs head fixes the problem. We will include it when gnome releases right? Likely, yes. Relevant ChangeLog entry would be useful in making sure that it actually gets in. *** Bug 133315 has been marked as a duplicate of this bug. *** *** Bug 133747 has been marked as a duplicate of this bug. *** ChangeLog entry and bug reference from upstream: 2004-08-10 Suresh Chandrasekharan <suresh.chandrasekharan> Fix for #148674 * libgnomeprint/gnome-print-ps2.c (gnome_print_ps2_set_font_real): Fixed incorrect subfont comparison which created a duplicate entry for the same font with different size in ps2->fonts. libgnomeprint-2.8.0 is in Raw Hide, works for me. *** Bug 131713 has been marked as a duplicate of this bug. *** |