Description of problem: Webpages displaying text in Indic languages are failing to print. Version-Release number of selected component (if applicable): firefox-3.0-0.beta2.8.fc9 How reproducible: always Steps to Reproduce: 1.Open Indic webpages http://bn.wikipedia.org or http://hi.wikipedia.org or http://pa.wikipedia.org or http://www.bbc.co.uk/hindi/ or http://www.bbc.co.uk/bengali/ 2. print webpage to File or printer 3. Actual Results: printed ps file failed to open in evince on rawhide printed webpages resulted blank or some garbage text. Expected Results: It should print any Indic webpage correctly. It should open any ps("Print to File" option output) file. Additional info: Working fine for Malayalam and Tamil language. Upstream Bug:- https://bugzilla.mozilla.org/show_bug.cgi?id=409828
For hindi wikipedia page when printed page to hi.ps and tried to open with evince, I got following on console. evince ../hi.ps => Error: /undefined in if11 Operand stack: false --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1909 1 3 %oparray_pop 1908 1 3 %oparray_pop 1892 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1148/1684(ro)(G)-- --dict:0/20(G)-- --dict:81/200(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 8.61: Unrecoverable error, exit code 1 ** (evince:31160): WARNING **: Interpreter failed. (evince:31160): GLib-WARNING **: Error flushing string: Broken pipe Error: /undefined in if11 Operand stack: false --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1909 1 3 %oparray_pop 1908 1 3 %oparray_pop 1892 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1148/1684(ro)(G)-- --dict:0/20(G)-- --dict:81/200(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 8.61: Unrecoverable error, exit code 1 ** (evince:31160): WARNING **: Interpreter failed. (evince:31160): GLib-WARNING **: Error flushing string: Broken pipe
Created attachment 291265 [details] printout of www.bbc.co.uk/hindi Yes, I can reproduce this pretty well. Attached is printout of http://www.bbc.co.uk/hindi/, which when run with plain gs gives this output: [matej@hubmaier ~]$ gs print.ps GPL Ghostscript 8.61 (2007-11-21) Copyright (C) 2007 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /rangecheck in --xyshow-- Operand stack: (\002\035\036\002) --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1905 1 3 %oparray_pop 1904 1 3 %oparray_pop 1888 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1143/1684(ro)(G)-- --dict:0/20(G)-- --dict:86/200(L)-- Current allocation mode is local Last OS error: 2 Current file position is 292591 GPL Ghostscript 8.61: Unrecoverable error, exit code 1 [matej@hubmaier ~]$ Doesn't look good.
Created attachment 291267 [details] screenshot of www.bbc.co.uk/hindi Do I need to have some additional packages installed? It seems to me that www.bbc.co.uk/hindi displays well (of course, I have no clue whether it is true or not).
Created attachment 291268 [details] correct version of the attachment somehow the hindi in the filename was too much for firefox (or bugzilla)?
Thanks for your reply here. afaics, rendering in those pages are good. Webpages are displayed correctly with currect rawhide firefox package. I dunno whose problem is this cairo/postscript or firefox 3 printing module. So right now reported against firefox component only.
It's most prolly caused by a bug in cairo's PS/PDF backends with bitmap fonts. Is that the case?
Tested with firefox-3.0-0.beta2.15.nightly20080130.fc9 Looks printing problem is now resolved.
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
requested by Jens Petersen (#27995)