Closed Bug 269039 Opened 20 years ago Closed 17 years ago

japanese printing page shown garbages on Solaris

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Ervin.Yan, Unassigned)

Details

Attachments

(1 file)

on solaris, print japanese webpage, the japanese charaters are shown as boxes.
from /etc/fonts/fonts.conf, for Janpanese, hgmlpsun.ttf is for serif, and
hpgbpsun.ttf is for sans-serif. if the japanese webpage specific to use both
serif and sans-serif fonts, then hgmlpsun.ttf and hpgbpsun.ttf will be both used
for printing, but these two fonts have same family name and style name, so the
generate ps file can not distinguish between these two fonts.

Need modify mozilla source code to add more font specific informations to the
CID font name.

I think the font Postscript name is more reasonable for the CID font name.
libgnomeprint just ust it. 
Summary: japanese printing page shown garbages on Solaris → japanese printing page shown garbages on Solaris
Attachment #165495 - Flags: review?(kherron+mozilla)
Comment on attachment 165495 [details] [diff] [review]
use postscript name for the cid font name.

We should be using the string classes for this, rather than allocating &
freeing buffers. A likely design would be to pass an nsCAutoString to
FT2ToType1FontName() and have it build the font name in that with a series of
Append() calls.
Attachment #165495 - Flags: review?(kherron+mozilla) → review-
We can work around this problem (and perhaps using Postscript name is a bit more
sensible anyway), but shouldn't Sun fix its fonts? 
This issue is obsolete. The printing code in question has been replaced by a new system using Cairo.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: