[Bug 692356] New: printing rotated text (ie. all text in landscape) gets garblaged
https://bugzilla.novell.com/show_bug.cgi?id=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c0 Summary: printing rotated text (ie. all text in landscape) gets garblaged Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Infrastructure AssignedTo: mrueckert@novell.com ReportedBy: roger.larsson@e-gatan.se QAContact: lrupp@novell.com Found By: --- Blocker: --- Created an attachment (id=428471) --> (http://bugzilla.novell.com/attachment.cgi?id=428471) test pdf User-Agent: Mozilla/5.0 (compatible; Konqueror/4.6; Linux) KHTML/4.6.2 (like Gecko) SUSE Printing a landscape (pdf) document result in garbage. Letters are scaled wrong and overlapping each other. Most interesting note. A 90 degree rotated text did come out correctly! OpenSuSE Tubleweed but same happened in 11.4 Reproducible: Always Steps to Reproduce: 1. Print attached pdf using > lpr Rotated\ text.pdf 2. Look at the result (will attach a scan) 3. -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c1 --- Comment #1 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-06 18:43:37 UTC --- Created an attachment (id=428474) --> (http://bugzilla.novell.com/attachment.cgi?id=428474) scan of resulting page Note: printing in landscape even the "Sida 1" gets garblaged... -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c Marcus Rückert <mrueckert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |Final Component|Infrastructure |Printing AssignedTo|mrueckert@novell.com |jsmeix@novell.com QAContact|lrupp@novell.com |jsmeix@novell.com Product|openSUSE.org |openSUSE 11.4 -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c2 --- Comment #2 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-10 18:41:54 UTC --- Forgot to mention. Printer is Epson Stylus PHOTO RX620 Gutenprint 5.2.6 When knowing about this issue it can actually be noticed on the CUPS Printer Test Page - the Color Wheel letters look strange (for example 'M' touches the circle, and G is cropped) -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c3 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |roger.larsson@e-gatan.se --- Comment #3 from Johannes Meixner <jsmeix@novell.com> 2011-05-11 14:04:15 UTC --- Your attachment #428471 prints correctly for me on my HP LaserJet 1220 on openSUSE 11.4 x86_64 using the driver "HP LaserJet 1220 - CUPS+Gutenprint v5.2.6" When I print it using the plain command # lp -d hplaserjet1220gutenprint test.pdf (according to your step 1. to reproduce in comment #0) I get a correct looking printout. But the overall printout (i.e. the whole printed page) is in portrait orientation (the "Sida 1" is on the small edge of the paper at the bottom) and all texts look correct. How exactly do you print it in landscape orientation? -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c4 --- Comment #4 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-11 17:42:10 UTC --- I take the original LibreOffice Calc document and print it in landscape mode :-) As you can see on my scan text not in the natural direction gets garbagled. When printing in landscape mode most text are in that direction and thus garblaged... Interesting that LaserJet works... something printer specific... hmm... And if I "force rasteration" using Okular it prints correctly. Even tried mono spaced font with the same result - some scaling is wrong. -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c Roger Larsson <roger.larsson@e-gatan.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|roger.larsson@e-gatan.se | -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c5 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |roger.larsson@e-gatan.se --- Comment #5 from Johannes Meixner <jsmeix@novell.com> 2011-05-13 11:03:05 UTC --- Interesting that "force rasteration" in the Okular print dialog let is print correctly in your case. In other cases this setting causes issues, see https://bugzilla.novell.com/show_bug.cgi?id=681071#c4 ----------------------------------------------------------------------- if I activate "force rastering" in the okular-print-dialog for my pdf document, the hole document is color-inverted. ----------------------------------------------------------------------- Currently something is somehow messed up somewhere in the whole printing output rasterisation stack starting at the application which makes whatever kind of PDF via Ghostscript in particular via the "cups" device in Ghostscript via the printer driver which finally ends at the printer device. I am afraid, I am no sufficient expert of the details of this software stack and all its components to be able to really help here. Which printing output resolution do you use? When I set up a test queue with the PPD file "Epson Stylus Photo RX620 - CUPS+Gutenprint v5.2.6" the default resolution keyword is "361x360dpi" called "Automatic". Perhaps something is wrong with the automatism? Try out if printing works when using an explicite resolution like "360dpi" called "360 DPI" or "720x360dpi" called "720 x 360 DPI" or "720dpi" called "720 DPI" Or does it perhaps work when you use the "Automatic" resolution? -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c6 Roger Larsson <roger.larsson@e-gatan.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|roger.larsson@e-gatan.se | --- Comment #6 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-13 12:53:07 UTC --- Created an attachment (id=429562) --> (http://bugzilla.novell.com/attachment.cgi?id=429562) scan of testpage Resolution is not the answer. General scaling is correct - circles are circles. It is only the text around the Color Wheel that is scaled wrong (The 'M'agneta is much wider than 'W'hite) If I were to guess it is the text rotation matrix that has wrong scale, ie scales like an oval rather than an circle. Hmm... Could be that it tries to fit the same number of letters in both directions? -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|printing rotated text (ie. |printing rotated text (by |all text in landscape) gets |90 and 270 degrees) gets |garblaged |garbled -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c7 --- Comment #7 from Johannes Meixner <jsmeix@novell.com> 2011-05-18 09:49:41 UTC --- FYI: The newest Gutenprint 5.2.7 is available for testing: Readymade gutenprint-5.2.7 and gutenprint-gimpplugin-5.2.7 RPMs for various openSUSE versions and SLE11/SLE11-SP1 (but not for SLE10) for 32-bit (i586) and 64-bit (x86_64) architecture are available from the openSUSE build service development project "Printing" at http://download.opensuse.org/repositories/Printing/ Read the "Printing" development project description at https://build.opensuse.org/project/show?project=Printing ------------------------------------------------------------- The "Printing" project may contain new, upcoming software. Therefore the packages in the "Printing" project might neither be in a stable state nor fit well into currently installed systems. Have this in mind if you think about to install packages from the "Printing" project into your currently running system. If you do this, do not use "Factory" if your system is e.g. openSUSE 11.3. Use the matching packages for your particular system. The packages in the "Printing" project are only for testing, without any guarantee or warranty, and without any support. As an extreme example, this means if your complete computer center crashes because of those packages, it is only your problem. On the other hand this does not mean that those packages are known to be terrible broken but they are not thoroughly tested so that any unexpected issue can happen. ------------------------------------------------------------- I did only a quick test on my openSUSE 11.4 x84_64 system with a HP LaserJet 1220 which still prints o.k. (see comment #3). I appreciate any feedback whether or not the issue is perhaps fixed in the new version for your Epson Stylus PHOTO RX620. But I don't assume that the issue is fixed in the new version because the "Changes from 5.2.6" section in the NEWS file and at http://sourceforge.net/projects/gimp-print/files/gutenprint-5.2/5.2.7/ do not explicitly mention this issue. Many thanks in advance for testing the new version! -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c8 --- Comment #8 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-19 08:50:37 UTC --- Tested 5.2.7 it did not help - as expected -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c9 --- Comment #9 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-19 10:29:37 UTC --- Just noticed an interesting fact. I had ghostscript 9.0 locally compiled on my system - installed in /usr/local Did a little search and found out that I also had gutenprint 5.1.7 compiled - installed in /usr... [Remains after trying to track down https://bugzilla.novell.com/show_bug.cgi?id=628233 well... removing and retrying - refreshing install first - currently no contact with repositorys...] -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c10 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED --- Comment #10 from Johannes Meixner <jsmeix@novell.com> 2011-05-19 11:31:30 UTC --- I appreciate your efforts to track down those issues! -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c11 --- Comment #11 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-19 14:18:31 UTC --- Created an attachment (id=430433) --> (http://bugzilla.novell.com/attachment.cgi?id=430433) generated with 'echo Hello | a2ps -o a2ps-out.ps' Playing around have tested many tools - but this is interesting 1) It displays correctly using okular 2) It prints both good and bad... (by default landscape) "Hello" prints garblaged "2" in footer "2011" is also wrong But all other text is correct! Font rendering problem? Okular output when running it from console is... "GPL Ghostscript 9.00: Error: Font Renderer Plugin ( FreeType ) return code = -1" -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c12 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |roger.larsson@e-gatan.se --- Comment #12 from Johannes Meixner <jsmeix@novell.com> 2011-05-19 14:49:32 UTC --- Very interesting! As expected your attachment #430433 prints well for me on my HP LaserJet 1220 on openSUSE 11.4 x86_64 using the driver "HP LaserJet 1220 - CUPS+Gutenprint v5.2.7" And in contrast to your Ghostscript output, I get no such errors. For me it is (long lines wrapped here): ----------------------------------------------------------------------- # gs -dNOPAUSE -r60 -sDEVICE=nullpage a2ps-out.ps GPL Ghostscript 9.00 (2010-09-14) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file COPYING for details. Loading NimbusMonL-Bold font from /usr/share/ghostscript/9.00/Resource/Font/NimbusMonL-B old... 3587000 2221249 2789888 1491915 1 done. Loading NimbusMonL-BoldObli font from /usr/share/ghostscript/9.00/Resource/Font/NimbusMo nL-BoldObli... 3719320 2381801 2963208 1643200 1 done. Loading NimbusMonL-ReguObli font from /usr/share/ghostscript/9.00/Resource/Font/NimbusMo nL-ReguObli... 3876400 2533577 3111768 1790029 1 done. Loading NimbusMonL-Regu font from /usr/share/ghostscript/9.00/Resource/Font/NimbusMonL-R egu... 4033480 2680239 3161288 1275331 1 done. Loading NimbusSanL-Bold font from /usr/share/ghostscript/9.00/Resource/Font/NimbusSanL-B old... 4141040 2795637 3161288 1395346 1 done. Loading NimbusSanL-Regu font from /usr/share/ghostscript/9.00/Resource/Font/NimbusSanL-R egu... 4273360 2911629 3161288 1515693 1 done. Loading NimbusRomNo9L-Medi font from /usr/share/ghostscript/9.00/Resource/Font/NimbusRom No9L-Medi... 4439128 3081114 3161288 1636187 1 done. Loading NimbusRomNo9L-Regu font from /usr/share/ghostscript/9.00/Resource/Font/NimbusRom No9L-Regu... 4554624 3132907 3136528 1403141 1 done. Loading StandardSymL font from /usr/share/ghostscript/9.00/Resource/Font/StandardSymL... 4628904 3195409 3136528 1467402 1 done. GS>quit ----------------------------------------------------------------------- What exactly does gs -dNOPAUSE -r60 -sDEVICE=nullpage a2ps-out.ps result for you? -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c13 --- Comment #13 from Johannes Meixner <jsmeix@novell.com> 2011-05-19 15:41:41 UTC --- FYI: In /usr/share/ghostscript/9.00/doc/Use.htm there is: -------------------------------------------------------------------------- As of Ghostscript version 9.0, Ghostscript uses Freetype 2.4.x as the default font scaler/renderer. With this change, we added a new switch: -dDisableFAPI=true to revert to the older behavior, just in case serious regression happens -------------------------------------------------------------------------- What exactly does gs -dNOPAUSE -r60 -sDEVICE=nullpage -dDisableFAPI=true a2ps-out.ps result for you? You may leave out the "-dNOPAUSE" and the "-sDEVICE=nullpage" so that you will get a X-window where Ghostscript shows you its rendering result and additionally you may use e.g. "-r120" to increase the resolution to get more details in the output e.g. you may use gs -r120 a2ps-out.ps and gs -r120 -dDisableFAPI=true a2ps-out.ps and inspect Ghostscript's rendering result whether or not particular text characters get garbled. -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c14 --- Comment #14 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-19 17:10:22 UTC --- Created an attachment (id=430469) --> (http://bugzilla.novell.com/attachment.cgi?id=430469) same postscript file but with disabled FAPI YES! Added a line /DisableFAPI true def to the postscript file - works! (file attached) Time to try that with the other examples... -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c15 Roger Larsson <roger.larsson@e-gatan.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|roger.larsson@e-gatan.se | --- Comment #15 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-19 17:13:35 UTC --- Yes! The same workaround works for the other document too... How to add this option to driver? -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c16 --- Comment #16 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-19 17:22:11 UTC --- Notice! Rendering to display ALWAYS worked, it was only rendering to printer that was problematic... -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c17 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |roger.larsson@e-gatan.se --- Comment #17 from Johannes Meixner <jsmeix@novell.com> 2011-05-24 12:06:16 UTC --- Regarding comment #16: I am not at all a font expert but I assume the issue happens only when you have a particular problematic font installed because - it happens only for printing which indicates that the font makes a difference because for X11 display differnt fonts are used (usually bitmap fonts) compared to printing where usually scalable (vector/outline) fonts are used and - I cannot reproduce it with my openSUSE 11.4 default installation (i.e. with the default font packages it seems to work also for printing). Regarding "how to add this option to driver" (comment #15): It is /usr/lib/cups/filter/pstoraster which runs Ghostscript and fortunately this is a bash script so that you can add the "-dDisableFAPI=true" therein e.g. as follows: -------------------------------------------------------------------------- # Options we use with Ghostscript... gsopts="-dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dDisableFAPI=true" -------------------------------------------------------------------------- Please report if this works for you. -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c18 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86-64 |All OS/Version|SuSE Other |openSUSE 11.4 --- Comment #18 from Johannes Meixner <jsmeix@novell.com> 2011-05-25 07:50:43 UTC --- For the log: Mails from other users on cups@easysw.com -------------------------------------------------------------------------
when I try to use the landscape option to print PDF/ps/doc files the result is a close to not readable page. I mean... chars are more larger than high whichever type of char I use. If I use the portrait option everything is OK. Printer: Epson SX125 Driver: Epson NX115 SO: Linux
I have exactly the same problem, except with an Epson 880 printer. In Landscape mode, character height is reduced by 50%, and character widths are doubled, so that they overlap each other. The result is essentially unreadable. I am using Cups 1.4.6, with driver stp-escp2-880.5.2.ppd.gz in Open SUSE 11.4 on an x86_64 machine.
Probably an issue since Ghostscript version 9.0, see https://bugzilla.novell.com/show_bug.cgi?id=692356#c13 ................................................................ As of Ghostscript version 9.0, Ghostscript uses Freetype 2.4.x as the default font scaler/renderer.
With this change, we added a new switch: -dDisableFAPI=true to revert to the older behavior, just in case serious regression happens ................................................................
Switch added to /usr/lib/cups/filter/pstoraster. Problem resolved! ------------------------------------------------------------------------- -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c19 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmeix@novell.com AssignedTo|jsmeix@novell.com |jw@novell.com Summary|printing rotated text (by |FreeType2 fails in |90 and 270 degrees) gets |Ghostscript: rotated |garbled |characters (by 90 and 270 | |degrees) wrong scaled | |(height/width interchanged) --- Comment #19 from Johannes Meixner <jsmeix@novell.com> 2011-05-25 08:19:55 UTC --- Juergen, since openSUSE 11.4 we have Ghostscript version 9.0 and since that version Ghostscript uses FreeType 2.4.x as its default font scaler/renderer. In certain circumstances (probably only for particular fonts) FreeType2 fails in Ghostscript so that rotated characters (by 90 and 270 degrees) get wrong scaled - it looks as if height and width of each character was interchanged. Via a Ghostscript command line switch FreeType2 in Ghostscript can be disabled so that Ghostscript uses its traditional font scaler/renderer which works o.k.
From my point of view the root cause seems to be in FreeType2 but I have no knowledge at all how to debug font related issues.
Therefore I re-assign the bug - at least for now - to you. -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c20 Juergen Weigert <jw@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|roger.larsson@e-gatan.se | --- Comment #20 from Juergen Weigert <jw@novell.com> 2011-05-25 13:39:10 UTC --- I have played through your test cases, and see the same results Johannes sees. Except that okular a2ps-out.ps is silent for me. As we don't see the on-screen, or when printing to file, I'd assume that the gutenprint driver for Roger's epson calls freetype2. Johannes, is there a way, we can reproduce Roger's gutenprint invocation here? I don't think that 90 or 270 deg play a particular role here, The distorted letters at the color wheel indicate otherwise. -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c21 --- Comment #21 from Juergen Weigert <jw@novell.com> 2011-05-25 13:46:03 UTC --- Created an attachment (id=431317) --> (http://bugzilla.novell.com/attachment.cgi?id=431317) testwheel.ps Roger, could you show us a scan of this testwheel.ps? Maybe the algorithmic flaw becomes apparent, if we see it at more different angles. -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c22 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |roger.larsson@e-gatan.se --- Comment #22 from Johannes Meixner <jsmeix@novell.com> 2011-05-25 14:04:12 UTC --- Roger Larsson, please report if the workaround described in comment #17 works for you. Juergen Weigert, as far as I understand it, the Gutenprint driver /usr/lib/cups/filter/rastertogutenprint.* does not call freetype2. It is /usr/lib/cups/filter/pstoraster which calls Ghostscript and Ghostscript calls freetype2 (via libfreetype.so.6) and Ghostscript outputs CUPS raster data which is then processed by the Gutenprint driver which converts the CUPS raster data into printer-specific raster data. I.e. the distorted letters should appear already in the CUPS raster data. To reproduce Roger's invocation, it should work to set up a print queue with Roger's PPD file, i.e. the PPD file of the Gutenprint driver for an Epson Stylus PHOTO RX620 but print into a file via "FileDevice yes" in /etc/cups/cupsd.conf as follows: # lpadmin -p rx620 -v file:/tmp/rx620.prn \ -m gutenprint/5.2/C/stp-escp2-rx620.5.2.ppd.gz -E But we need the CUPS raster data and not the printer-specific raster data in /tmp/rx620.prn Therefore the Gutenprint driver /usr/lib/cups/filter/rastertogutenprint.* must be replaced by an appropriate wrapper to catch its stdin... I will try to reproduce it... -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c23 --- Comment #23 from Johannes Meixner <jsmeix@novell.com> 2011-05-26 09:01:03 UTC --- I can reproduce it! What I did on my openSUSE 11.4 x86_64 system: # lpadmin -p rx620 -v file:/tmp/rx620.prn \ -m gutenprint/5.2/C/stp-escp2-rx620.5.2.ppd.gz -E # mv /usr/lib/cups/filter/rastertogutenprint.5.2 \ /usr/lib/cups/filter/rastertogutenprint.5.2.away I created /usr/lib/cups/filter/rastertogutenprint.5.2 anew as: --------------------------------------------------------------- #! /bin/bash set -x cat - >/tmp/rastertogutenprint.stdin exit 0 --------------------------------------------------------------- # chmod a+rx /usr/lib/cups/filter/rastertogutenprint.5.2 # lp -d rx620 a2ps-out.ps # wget http://download.opensuse.org/repositories/home:/jsmeix/openSUSE_11.4/x86_64/... # rpm -Uhv RasterView-1.2.1-3.1.x86_64.rpm # rasterview /tmp/rastertogutenprint.stdin All characters in the word "Hello" are garbled but only the one number "2" in "19 maj 2011" is garbled exactly as Roger Larsson described in comment #11. In particular the latter is strange. Why is only the character for the number "2" in "2011" garbled but not the other characters which seem to be the same font? In contrast when I set in /usr/lib/cups/filter/pstoraster gsopts="-dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dDisableFAPI=true" and do again "lp -d rx620 a2ps-out.ps", then the CUPS raster data in /tmp/rastertogutenprint.stdin look good. -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c24 Roger Larsson <roger.larsson@e-gatan.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|roger.larsson@e-gatan.se | --- Comment #24 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-26 09:21:34 UTC ---
I can reproduce it!
Great!
In particular the latter is strange. Why is only the character for the number "2" in "2011" garbled but not the other characters which seem to be the same font?
Thinking of it - I think the bad letters changed. Before I had another test print with "20" bad - and I think there was no '0' either in header. As it is no other '2' now - font not preloaded properly? BTW testwheel.ps is not accepted as a proper postscript file -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c25 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |roger.larsson@e-gatan.se --- Comment #25 from Johannes Meixner <jsmeix@novell.com> 2011-05-26 09:22:51 UTC --- With testwheel.ps from attachment #431317 there is no CUPS raster data output. This is a correct testwheel.ps -------------------------------------------------------------- %!PS /Helvetica findfont 24 scalefont setfont 300 400 translate newpath 35 { 80 0 moveto (hello bnc#692356) show 10 rotate } repeat showpage -------------------------------------------------------------- (i.e. "%!PS" and in particular "showpage" was missing). The CUPS raster data output of the corrected testwheel.ps looks "very interesting" ;-) -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c26 --- Comment #26 from Johannes Meixner <jsmeix@novell.com> 2011-05-26 09:24:10 UTC --- Roger Larsson, please report if the workaround described in comment #17 works for you. I assume it works also for you but I like to get a confirmation. -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c27 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #431317|0 |1 is obsolete| | --- Comment #27 from Johannes Meixner <jsmeix@novell.com> 2011-05-26 09:28:24 UTC --- Created an attachment (id=431514) --> (http://bugzilla.novell.com/attachment.cgi?id=431514) corrected testwheel.ps -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c28 --- Comment #28 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-26 11:07:56 UTC --- Created an attachment (id=431530) --> (http://bugzilla.novell.com/attachment.cgi?id=431530) scan of testwheel -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c29 Roger Larsson <roger.larsson@e-gatan.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|roger.larsson@e-gatan.se | --- Comment #29 from Roger Larsson <roger.larsson@e-gatan.se> 2011-05-26 11:11:37 UTC --- The workaround in comment #17 fixes the problem (as expected) -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|FreeType2 fails in |FreeType2 fails in |Ghostscript: rotated |Ghostscript: rotated |characters (by 90 and 270 |characters wrong scaled |degrees) wrong scaled | |(height/width interchanged) | -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c30 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andoresu@hotmail.co.jp --- Comment #30 from Johannes Meixner <jsmeix@suse.com> 2011-09-13 09:39:02 UTC --- *** Bug 714120 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=714120 -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c31 --- Comment #31 from Johannes Meixner <jsmeix@suse.com> 2011-09-29 14:13:04 UTC --- FYI: For openSUSE 12.1 (i.e. openSUSE:Factory) I submitted ghostscript-library via submitrequest 85461 where I have "-dDisableFAPI=true" in /usr/lib/cups/filter/pstoraster -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c32 --- Comment #32 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-09-29 17:00:25 CEST --- This is an autogenerated message for OBS integration: This bug (692356) was mentioned in https://build.opensuse.org/request/show/85461 Factory / ghostscript-library -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c33 Juergen Weigert <jw@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |FIXED --- Comment #33 from Juergen Weigert <jw@suse.com> 2011-12-13 21:19:58 UTC --- fixed in #sr85461 -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c34 --- Comment #34 from Johannes Meixner <jsmeix@suse.com> 2011-12-14 08:29:11 UTC --- If the root cause is in FreeType2 (see comment #19), the issue is not fixed in FreeType2 via submitrequest 85461. In submitrequest 85461 I only disabled in Ghostscript to use FreeType2 as workaround to avoid the issue. Ghostscript upstream uses by default FreeType2 as font scaler/renderer so that my workaround is not in compliance with Ghostscript upstream. Juergen, you may test if Ghostscript 9.04 from home:jsmeix ghostscript (which uses the upstream default font scaler/renderer) still has the issue. -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c35 Stefan Brüns <stefan.bruens@rwth-aachen.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan.bruens@rwth-aachen.d | |e --- Comment #35 from Stefan Brüns <stefan.bruens@rwth-aachen.de> 2011-12-28 17:10:16 UTC --- You can also see this if you directly call gs with the pngmono device using nonrectangular pixels, e.g. gs -sDEVICE=pngmono -r50x100 -dBATCH -dNOPAUSE -sOutputFile=out.png testwheel.ps -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c36 --- Comment #36 from Stefan Brüns <stefan.bruens@rwth-aachen.de> 2011-12-28 22:04:01 UTC --- Fixed with: http://git.ghostscript.com/?p=ghostpdl.git;a=commit;f=gs/psi/fapi_ft.c;h=b7a... and http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=056c8a6dc2409db6ac06ea... -- 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=692356 https://bugzilla.novell.com/show_bug.cgi?id=692356#c37 --- Comment #37 from Johannes Meixner <jsmeix@suse.com> 2012-01-11 10:57:32 UTC --- Stefan Brüns, I accepted your submitrequest 99379 "Update to GS 9.04" for Printing:ghostscript/ghostscript-library Many Thanks for your valuable contribution! In Ghostscript version 9.04 the issue of this bug is fixed and those are the matching upstream bug reports: http://bugs.ghostscript.com/show_bug.cgi?id=691920 http://bugs.ghostscript.com/show_bug.cgi?id=692578 FYI: Regarding Ghostscript package clean-up, see bug #735824 -- 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