Bug 49825
| Summary: | mpage25-j.patch breaks ISO-8859-2 encoded texts | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Pawel Salek <pawsa> |
| Component: | mpage | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | CC: | rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2001-07-24 13:27:04 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: | |||
I have noticed that the national characters have been garbled in the report so I will try again: d - aumlaut v - oumlaut e - aring I have just noticed that my report really duplicates #34882. I blame it on bugzilla http://bugzilla.redhat.com/bugzilla/easy_enter_bug.cgi has a button "show bugs in this component" but it shows only open bug reports. (Yes, mpage-2.5.1-7 from rawhide does not have this bug). |
Description of problem: The mpage25-j.patch applied to pristine mpage sources causes that ISO-8859-2 text are printed incorrectly: the national characters are replaced with kanji-like glyphs. How reproducible: Always Steps to Reproduce: 1. take prebuilt mpage package. 2. print ISO-8859-2 encoded text with mpage -CISO-Latin.2 < a| lpr Actual Results: The national characters like aogonek are replaced with japanese glyphs. For example, following postscript chunk is created: 0 672 moveto (\\begin{letter}{Sz. Pani Maria Piotrowicz, Krak) show kanj setfont 46 mp_a_x mul 672 moveto <7377> show Expected Results: The chunk is properly generated by unpatched mpage code: 0 672 moveto (\\begin{letter}{Sz. Pani Maria Piotrowicz, Kraksw}) show Additional info: Suprprisingly, even ISO-Latin.1 texts are printed incorrectly with this patch (I have just tested it with single line scripts like echo "surstrvmming" | mpage -1 > /tmp/a.ps etc). Again, the oumlaut is incorrectly replaced by a kanji character. I file this bug as severe because the loss of function is major, data is damaged during printout and this is evidently (IMO) a packaging error.