Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mozilla, or firefox doesn't print Chinese
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
ahaau
n00b
n00b


Joined: 19 Dec 2004
Posts: 25

PostPosted: Mon Jan 31, 2005 11:15 pm    Post subject: mozilla, or firefox doesn't print Chinese Reply with quote

all Chinese characters as empty blocks.

https://bugzilla.mozilla.org/show_bug.cgi?id=103516

doesn't solve it :(

btw, mozilla on debian prints Chinese by default
Back to top
View user's profile Send private message
alienvenom
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 123
Location: San Francisco, CA

PostPosted: Tue Feb 01, 2005 12:33 am    Post subject: Reply with quote

If you're using CUPS, did you compile CUPS with the "nls" use flag for Native Language Support?

Also, might want to make sure Mozilla/Firefox is compiled with "truetype" support and you have the appropriate fonts package installed.
Back to top
View user's profile Send private message
ahaau
n00b
n00b


Joined: 19 Dec 2004
Posts: 25

PostPosted: Tue Feb 01, 2005 2:13 am    Post subject: Reply with quote

print to file doesn't work :(

empty blocks in .ps

I have +nls +cjk in USE
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Tue Feb 01, 2005 2:41 am    Post subject: Reply with quote

At location: type "about:config", right click in the page, choose "New" --> "String", configure the following fields and see if it works:
Code:
font.FreeType2.enable      Value:true
font.FreeType2.printing    Value:true
font.FreeType2.unhinted    Value:false
font.directory.truetype.1  Value:/path/to/your/truetype/Chinese/fonts, e.g. /usr/share/fonts/ttf/zh_CN
font.directory.truetype.2  Value:/second/path/to/your/fonts

_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
torklingberg
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2004
Posts: 86

PostPosted: Thu Feb 03, 2005 8:35 pm    Post subject: Reply with quote

If I set font.FreeType2.printin= true, firefox segfault every time I try to print. Printing to printer or file doesn't matter. Print preview is fine though.
Back to top
View user's profile Send private message
wangxiaohu
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 248

PostPosted: Fri Feb 04, 2005 6:04 pm    Post subject: Reply with quote

Hauser wrote:
At location: type "about:config", right click in the page, choose "New" --> "String", configure the following fields and see if it works:
Code:
font.FreeType2.enable      Value:true
font.FreeType2.printing    Value:true
font.FreeType2.unhinted    Value:false
font.directory.truetype.1  Value:/path/to/your/truetype/Chinese/fonts, e.g. /usr/share/fonts/ttf/zh_CN
font.directory.truetype.2  Value:/second/path/to/your/fonts


我的都设置对了,打印出来的还是方块。

中文打印是Linux的一个已知问题,目前还没有User Friendly的解决方案。

不明白Linux打印个东西怎么那么难,Windows只要装个驱动就行了。
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2955

PostPosted: Sat Feb 05, 2005 2:49 am    Post subject: Reply with quote

wangxiaohu wrote:
不明白Linux打印个东西怎么那么难,Windows只要装个驱动就行了。

That is because all the printer manufacturers spend time developing drivers only for Windows. :-(
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Sat Feb 05, 2005 5:52 pm    Post subject: Reply with quote

不清楚,我這兒可以正常打印中文,Konqueror也可以。
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
ts
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2004
Posts: 97

PostPosted: Sun Feb 06, 2005 1:22 am    Post subject: Re: mozilla, or firefox doesn't print Chinese Reply with quote

ahaau wrote:
all Chinese characters as empty blocks.

https://bugzilla.mozilla.org/show_bug.cgi?id=103516

doesn't solve it :(

btw, mozilla on debian prints Chinese by default


You can try
Code:
revdep-rebuild


This may help you a little. My openoffice could not use chinese-ime in kde enviroment a couple of days ago. Everything is ok now after revdep-rebuild.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum