[Bug 436108] New: no chinese font goodness ...
https://bugzilla.novell.com/show_bug.cgi?id=436108 Summary: no chinese font goodness ... Product: openSUSE 11.1 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: mfabian@novell.com ReportedBy: mmeeks@novell.com QAContact: qa@suse.de Found By: --- I load a nice Chinese PDF with exciting fonts used in it: http://www.uk.cibt.com/pdfforms/china.pdf and in Evince I see no glyphs. Is this simply that we don't bother installing fonts that are not for our locale ? if so - is this a potential PackageKit hook ? Or is it some fontconfig mis-configuration ? I attach my fc-list output - I did a default Gnome OpenSUSE 11.1 Beta2 install. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c1 --- Comment #1 from Michael Meeks <mmeeks@novell.com> 2008-10-16 08:02:46 MDT --- Created an attachment (id=245996) --> (https://bugzilla.novell.com/attachment.cgi?id=245996) fonts -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c2 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Mike Fabian <mfabian@novell.com> 2008-10-16 08:19:55 MDT --- mfabian@magellan:/tmp$ pdffonts china.pdf name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- TimesNewRoman TrueType no no no 250 0 DEDLFF+TimesNewRoman,Bold TrueType yes yes no 251 0 TimesNewRoman,BoldItalic TrueType no no no 252 0 TimesNewRoman,Italic TrueType no no no 253 0 SimSun+2 TrueType no no no 263 0 SimSun CID TrueType no no no 254 0 STZhongsong CID TrueType no no no 249 0 DEDLFE+TimesNewRoman,Bold CID TrueType yes yes yes 256 0 mfabian@magellan:/tmp$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c3 --- Comment #3 from Michael Meeks <mmeeks@novell.com> 2008-10-16 10:02:05 MDT --- Tried to install fonts to fix the issue; but no joy. View afterwards of: $ zypper se fonts is: S | Name | Summary | Type --+----------------------------------+---------------------------------------------------------+-------- i | CID-keyed-fonts-MOE | MOE CID-Keyed Fonts (for Traditional Chinese) | package | CID-keyed-fonts-Munhwa | Munhwa CID-Keyed Fonts (for Korean) | package i | CID-keyed-fonts-Wada | Wadalab CID-Keyed Fonts (for Japanese) | package | CID-keyed-fonts-WadaH | Wadalab CID-Keyed Fonts (for Rare Japanese Characters) | package | KhmerOS-fonts | Fonts for the Khmer language of Cambodia | package | bpg-fonts | Free Georgian TrueType Fonts by BPG-InfoTech | package | ec-fonts-mftraced | Type1 PostScript Fonts for TeX with European Accents | package | farsifonts | A Collection of Free Persian OpenType Fonts | package | fonts-arabic | A Collection of Free Arabic Fonts | package i | fonts-config | Configures Fonts for X Windows and other applications | package | fonts-thai | A Collection of Thai TrueType Fonts | package | fonts-thryomanes | Greek TrueType Fonts | package | free-ttf-fonts | Free TrueType Art Fonts | package i | ghostscript-fonts-other | Optional fonts for Ghostscript | package | ghostscript-fonts-rus | Russian Fonts for Ghostscript | package i | ghostscript-fonts-std | Standard Fonts for Ghostscript | package i | indic-fonts | Professional Indian Language TrueType Fonts | package i | intlfonts-bdf | Fonts from the GNU Intlfonts Package in BDF Format | package i | intlfonts-ttf | TrueType Fonts from the GNU Intlfonts Package | package i | liberation-fonts | Liberation Fonts | package | mgopen-fonts | Free High-Quality Greek Fonts | package i | mikachan-fonts | Free Japanese Fonts in "Handwriting" Style by Mika-Chan | package i | sazanami-fonts | Japanese "Sazanami" TrueType Fonts | package | sgi-fonts | Very nice bitmapped fonts from SGI | package | tv-fonts | Fonts for TV Applications | package | unfonts | Korean TrueType fonts | package i | xorg-x11-fonts | X.Org fonts | package i | xorg-x11-fonts-core | Core Fonts for X.Org | package i | xorg-x11-fonts-devel | Include Files and Libraries mandatory for Development. | package | xorg-x11-fonts-devel-debuginfo | Include Files and Libraries mandatory for Development. | package | xorg-x11-fonts-devel-debugsource | Include Files and Libraries mandatory for Development. | package Adobe asked me to install simplified chinese fonts. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c4 --- Comment #4 from Mike Fabian <mfabian@novell.com> 2008-10-16 15:49:25 MDT ---
Tried to install fonts to fix the issue; but no joy.
Of course not. This is mostly an evince problem, not a font problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c5 --- Comment #5 from Mike Fabian <mfabian@novell.com> 2009-02-20 04:44:31 MST --- okular has the same problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c6 --- Comment #6 from Mike Fabian <mfabian@novell.com> 2009-02-20 04:55:49 MST --- acroread and xpdf work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c7 --- Comment #7 from Mike Fabian <mfabian@novell.com> 2009-02-20 06:09:51 MST --- As you can see in comment #2, the Chinese fonts are not embedded in the document. I.e. the PDF-reader has to seachthe fonts in the system. The Chinese fonts specified, i.e. SimSun+2, SimSun, and STZhongsong are most likely some commercial fonts, probably available on Windows Vista. That means, they are usually not available on Linux and the PDF-reader has to search for fallback fonts. The PDF document contains information that the missing fonts are simplified Chinese fonts, therefore one can find out which fallback font to choose. In case of xpdf, the configuration file /etc/xpdfrc-cjk specifies such fallback fonts like this: # If there are several entries for display*CIDFont* variables for # the same PDF-font-name or registry order, the last entry where # the font file exists will win. Lines specifying non-existing # font files will be silently ignored. #---------------------------------------------------------------------- [..] #---------------------------------------------------------------------- # simplified Chinese displayCIDFontTT Adobe-GB1 /usr/share/fonts/truetype/gbsn00lp.ttf displayCIDFontTT Adobe-GB1 /usr/share/fonts/truetype/songti_gb.ttf displayCIDFontTT Adobe-GB1 /usr/share/fonts/truetype/FZSongTi.ttf I.e. if a font is missing for the registry Adobe-GB1, which is for simplified Chinese, then the last font of the above 3 which is really installed will be used. evince and okular should do something similar. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c8 --- Comment #8 from Mike Fabian <mfabian@novell.com> 2009-02-20 06:23:22 MST --- By the way, if you download the document http://www.uk.cibt.com/pdfforms/china.pdf mentioned in comment#0 again now, it works with all PDF readers (xpdf, acroread, evince, okular). The reason is that the above document now embeds all fonts: mfabian@magellan:/local1/bnc/bnc436108$ pdffonts china.pdf name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- QXKDLD+SimSun-Identity-H CID TrueType yes yes yes 247 0 RNCRIH+TimesNewRomanPS-BoldMT-Identity-H CID TrueType yes yes yes 248 0 QKDTIB+TimesNewRomanPSMT-Identity-H CID TrueType yes yes yes 249 0 WTJSKY+TimesNewRomanPS-BoldItalicMT-Identity-H CID TrueType yes yes yes 250 0 LHJRUD+TimesNewRomanPS-ItalicMT-Identity-H CID TrueType yes yes yes 255 0 mfabian@magellan:/local1/bnc/bnc436108$ Embedding fonts makes PDF files somewhat larger but is much more likely to work. I.e. you need to find a different pdf for testing now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c9 --- Comment #9 from Mike Fabian <mfabian@novell.com> 2009-02-20 06:26:11 MST --- Created an attachment (id=274283) --> (https://bugzilla.novell.com/attachment.cgi?id=274283) xpdftest.pdf test document. mfabian@magellan:~/test-texts/pdf/simplified-chinese$ pdffonts xpdftest.pdf name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- TimesNewRoman TrueType no no no 1748 0 SimSun CID TrueType no no no 1751 0 SimHei CID TrueType no no no 1753 0 SimHei+2 TrueType no no no 1752 0 SimSun+2 TrueType no no no 1755 0 TimesNewRoman,Bold TrueType no no no 93 0 CourierNewPSMT TrueType no no no 94 0 GDKKPL+Wingdings-Regular CID TrueType yes yes yes 103 0 mfabian@magellan:~/test-texts/pdf/simplified-chinese$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c10 --- Comment #10 from Mike Fabian <mfabian@novell.com> 2009-02-20 06:30:03 MST --- Surprisingly the document #9 also worked with all the above PDF readers on openSUSE 11.1. I wrote in comment#5
okular has the same problem.
but actually I could reproduce the problem only once. Weird. In that case it may be really as simple that there are no simplified Chinese fonts on your system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c11 --- Comment #11 from Mike Fabian <mfabian@novell.com> 2009-02-20 06:34:01 MST --- I quickly browsed through the font list you attached in comment#1 and could not see any simplified Chinese fonts, I found only a few Japanese fonts. You can make sure by calling mfabian@magellan:/local1/bnc/bnc436108$ fc-match :lang=zh-CN FZSongTi.ttf: "FZSongTi" "Regular" mfabian@magellan:/local1/bnc/bnc436108$ This will list the default simplified Chinese font. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c12 --- Comment #12 from Mike Fabian <mfabian@novell.com> 2009-02-20 06:38:30 MST ---
Is this simply that we don't bother installing fonts that are not for our locale ?
Yes, unfortunately we don't bother installing for languages different than the installation language. There have been several bugs about this problem already. I would have liked to install a minimal set of fonts covering most languages by default but could never get enough support for that idea.
if so - is this a potential PackageKit hook ?
You can add simplified Chinese as a secondary language in YaST2, then you will get packages for simplified Chinese support installed, including (but not only) fonts. xpdf, evince, okular, ... could be improved to pop up a note: "you need Chinese fonts for this document, please do ..." or something to that effect. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c13 --- Comment #13 from Mike Fabian <mfabian@novell.com> 2009-02-20 06:40:05 MST --- I don't know whom I could assign this bug now. Apart from installing Chinese fonts by default and popping up a message when a PDF reader needs Chinese fonts but there aren't any, there is no solution, I think. Acroread does pop up a message if a document needs Chinese fonts and none are available. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mfabian@novell.com |hvogel@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User hvogel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c14 Hendrik Vogelsang <hvogel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hvogel@novell.com AssignedTo|hvogel@novell.com |bnc-team-gnome@forge.provo. | |novell.com --- Comment #14 from Hendrik Vogelsang <hvogel@novell.com> 2009-03-04 05:48:51 MST --- this has to be fixed in evince then. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436108 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436108#c15 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |bili@novell.com --- Comment #15 from Li Bin <bili@novell.com> 2009-03-26 00:32:03 MST --- I found the similar bug in freedesktop. https://bugs.freedesktop.org/show_bug.cgi?id=15301 This should be expected to be resolved by upstream. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com