Bug 154615
Summary: | mpage unable to generate multi-lingual ps file | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lawrence Lim <llim> | ||||||
Component: | mpage | Assignee: | Michal Hlavinka <mhlavink> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | rawhide | CC: | i18n-bugs, tools-bugs | ||||||
Target Milestone: | --- | Keywords: | FutureFeature, i18n | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Enhancement | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-04-15 15:44:41 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: | |||||||||
Attachments: |
|
Description
Lawrence Lim
2005-04-13 02:03:27 UTC
Created attachment 113074 [details]
text file containing all 4 CJK locale characters
Created attachment 113075 [details]
ps file generated in the zh_TW.UTF-8 locale
So C, J and K individually are ok? Yes, individually they are OK, as long as the locale match the charset. I have test mpage-2.5.5 with this file, it will determine the code as UTF-8 correctly. But unlucky evince can't open that file, maybe it is the font problem. FYI, mpage generates PS file that is relying on CID-keyed font (or fonts emulated by gs) and CMap to pick the glyphs up from the font in PS. and PS itself allows to mix languages up in one file. Just supporting this feature may be easy, but an issue would be how to determine the font for unified ideographs in UTF-8. e.g. for CJK. possible idea would be to refers current locale and sort out the font priority against it. requested by Jens Petersen (#27995) Lets face it, this is not going to happen. It would increase complexity of mpage too much. Anyway, if anyone wants to spend his time and prepare the patch, he's welcome to do so. |