Bug 428238 - Printing failed for all Indic languages except Malayalam and Tamil language
Summary: Printing failed for all Indic languages except Malayalam and Tamil language
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-10 08:19 UTC by Parag Nemade
Modified: 2018-04-11 06:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-11 07:44:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
printout of www.bbc.co.uk/hindi (2.00 MB, application/postscript)
2008-01-10 11:21 UTC, Matěj Cepl
no flags Details
screenshot of www.bbc.co.uk/hindi (409.54 KB, image/png)
2008-01-10 11:24 UTC, Matěj Cepl
no flags Details
correct version of the attachment (409.54 KB, image/png)
2008-01-10 11:27 UTC, Matěj Cepl
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 409828 0 None None None Never

Description Parag Nemade 2008-01-10 08:19:12 UTC
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

Comment 1 Parag Nemade 2008-01-10 08:31:53 UTC
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


Comment 2 Matěj Cepl 2008-01-10 11:21:03 UTC
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.

Comment 3 Matěj Cepl 2008-01-10 11:24:53 UTC
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).

Comment 4 Matěj Cepl 2008-01-10 11:27:30 UTC
Created attachment 291268 [details]
correct version of the attachment

somehow the hindi in the filename was too much for firefox (or bugzilla)?

Comment 5 Parag Nemade 2008-01-10 11:32:00 UTC
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.

Comment 6 Behdad Esfahbod 2008-01-10 18:04:40 UTC
It's most prolly caused by a bug in cairo's PS/PDF backends with bitmap fonts. 
Is that the case?

Comment 7 Parag Nemade 2008-02-11 10:04:35 UTC
Tested with firefox-3.0-0.beta2.15.nightly20080130.fc9
Looks printing problem is now resolved.


Comment 8 Bug Zapper 2008-05-14 04:22:03 UTC
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

Comment 9 Tony Fu 2008-09-10 03:16:53 UTC
requested by Jens Petersen (#27995)


Note You need to log in before you can comment on or make changes to this bug.