Description of problem: right now CUPS doesn't work on CJK text printing at all. it has to be fixed since this is an regression bug. Version-Release number of selected component (if applicable): cups-1.2.1-14. How reproducible: always Steps to Reproduce: 1.lpr HELLO.utf8 2. 3. Actual results: unreadable characters are printed out. Expected results: should be printed out correctly Additional info: paps-0.6.6-8.fc6 that CUPS filter is enabled is now available. it may be a good idea to replace texttops with paps. a filter name is texttopaps.
Created attachment 131739 [details] testcase
Built 1.2.1-15 with paps requirement and mime.convs modifications, so we'll see how it works.
Thanks for quick update. this may be passive a bit though, but it may be still better to use texttops for applications/* since paps doesn't support "prettyprint" yet and it may be unlikely that any multibytes characters appears in such MIME types. what do you think?
Agreed. I built paps-0.6.6-9 with a fix default font (it was trying to use "Monospace DEFAULT_FONT_SIZE"..), and when I print HELLO.utf8 now I get lots of missing symbols -- more than are missing when I 'cat' the file in gnome-terminal. Missing characters for example: Arabic Cherokee Georgian Hebrew IPA English Maltese Russian Thai Vietnamese Yiddish ..and in particular, given what we're trying to achieve: Japanese Chinese Cantonese Korean Any idea what we need to do to fix this? Do we perhaps need paps to embed the font?
Oops, thanks for the fix. Well, I'm not sure if it's output correctly since I'm not native for those languages, but Arabic, Hebrew, IPA English, Maltese, Russian, Vietnamese, Yiddish and CJK looks good as I can see on gedit say. for Cherokee, Georgian and Thai, paps doesn't support the bitmap font to embed the font. so no way to fix it ATM. and apparently we don't have any fonts for Burmese and Sinhala. To test HELLO.utf8, you may want to install the various font packages: Arabic: fonts-arabic Bengali: fonts-bengali Gujarati: fonts-gujarati Hebrew: fonts-hebrew IPA English: urw-fonts Maltese: urw-fonts Punjabi: fonts-punjabi Russian: urw-fonts Tamil: fonts-tamil Vietnamese: urw-fonts Yiddish: fonts-hebrew Chinese: fonts-chinese Japanese: fonts-japanese Korean: fonts-korean
BTW how about describing the above into the relnotes say? it would be a good idea to notice people which the font packages needs to be installed for the text printing support for languages what one wants?
Ah, all works fine now. Thanks! Yes, we could add something to the release notes about that. I think, though, that anaconda knows to install the relevant fonts during installation based on the install language doesn't it?
Yes. I'm not so keen to describe it though, it may be still useful for people who wants to get only the fonts installed since the language support will picks up all the relevant packages for that language. just thoughts, but anyway.
can we close this bug now?