This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Discuss:using sub-pixel rendering may cause the cjk characters lost in plasma

Tags: None
(comma "," separated)
User avatar
mghohoo
Registered Member
Posts
39
Karma
1
OS
Is this a bug?
My thread showthread.php?tid=10400 will help you understand this problem.

KDE 's Application Launcher->System Settings->Appearance->Fonts->Use anti-aliasing(Enable) ->Configure->Click Use sub-pixel rendering(make sure that Hinting style is not None).then press OK and Apply.
(The operations above will change ~/.fonts.conf.If you cannot find how to turn it to be normal.It helps after remove ~/.fonts.conf.)

open a terminal.run this command
$ killall plasma ; nohup plasma &

OK.If you are a user that use cjk(chinese,japanese,korean) fonts,you may see the plasma lost cjk characters like this snapshot
Image

KDE V.4.1.2
Xorg is the latest one.(Sorry for that.Because to pacman -Qi one by one is troublesome.)

Last edited by mghohoo on Tue Nov 04, 2008 1:26 pm, edited 1 time in total.


AMD X3 8450,MA770-DS3P,ADATA 8G,8600GT
I'm a chinese. My Blog http://mghohooo.blogbus.com
ç§
User avatar
YeahReally
Registered Member
Posts
71
Karma
1
OS
I tried to reproduce your case but I could not enable «Use sub-pixel rendering». I did the rest and restarted plasma. I did not lose japanese characters neither in Folderview nor Notes applet. Ascii & latin characters display fine too.

What is necessary to enable subpixel rendering? What I get in the configuration dialog is a disabled checkbox.


Debian GNU/Linux Lenny
KDE 4.1.96

How many bugs have you triaged today?
User avatar
mghohoo
Registered Member
Posts
39
Karma
1
OS
YeahReally wrote:I tried to reproduce your case but I could not enable «Use sub-pixel rendering». I did the rest and restarted plasma. I did not lose japanese characters neither in Folderview nor Notes applet. Ascii & latin characters display fine too.

What is necessary to enable subpixel rendering? What I get in the configuration dialog is a disabled checkbox.


The point is "use sub-pixcel"~
you can visit http://wiki.archlinux.org/index.php/Xor ... figuration
I have a TFT/DFP/LCD display uses a DVI cable and fonts look odd and fuzzy
This is due to rendering differences between CRTs and non-CRTs. To fix this problem, you need to enable sub-pixel rendering. Edit the ~/.fonts.conf file. Add the following section to enable this feature. NOTE that this will do nothing but a minor amount of extra work on CRTs and does not improve the display quality. Possible values for the const section include - rgb, bgr, vrgb, bgrv, and none.



rgb



AMD X3 8450,MA770-DS3P,ADATA 8G,8600GT
I'm a chinese. My Blog http://mghohooo.blogbus.com
ç§
User avatar
mghohoo
Registered Member
Posts
39
Karma
1
OS
I attempted to enable "use sub-pixel" in kubuntu810,then the problem was shown again.


AMD X3 8450,MA770-DS3P,ADATA 8G,8600GT
I'm a chinese. My Blog http://mghohooo.blogbus.com
ç§
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I was also unable to reproduce it sorry. But subpixel hinting does look much nicer on my screen. I used characters from your signature to test. Perhaps only certain characters are affected, or your system is missing fonts?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
mghohoo
Registered Member
Posts
39
Karma
1
OS
bcooksley wrote:I was also unable to reproduce it sorry. But subpixel hinting does look much nicer on my screen. I used characters from your signature to test. Perhaps only certain characters are affected, or your system is missing fonts?

I feel that there is no connection between this problem and missing fonts.Because sometimes it is ok,sometimes it is out of order.
Is that my font file is not friendly with font rendering library?
I am using wqy(wenquanyi) bitmap.

Last edited by mghohoo on Mon Jan 26, 2009 4:59 pm, edited 1 time in total.


AMD X3 8450,MA770-DS3P,ADATA 8G,8600GT
I'm a chinese. My Blog http://mghohooo.blogbus.com
ç§
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Which characters in particular are affected? I may be that only some are not rendered correctly ( Given that the second line works fine )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
mghohoo
Registered Member
Posts
39
Karma
1
OS
Er……
All the cjk characters sometimes would be.I give a few samples:
大雄的婚礼
图像处理
文档
If not enough,copy words from a chinese ,japanese or korean website.
news.baidu.com
www.163.com
www.yahoo.co.jp

thanks

Last edited by mghohoo on Tue Jan 27, 2009 5:21 am, edited 1 time in total.


AMD X3 8450,MA770-DS3P,ADATA 8G,8600GT
I'm a chinese. My Blog http://mghohooo.blogbus.com
ç§
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
My system displayed all three of those texts without issue. If you are not running KDE 4.2, then I would recommend updating, also check your version of Qt, and fontconfig. You might also consider removing ~/.fontconfig/ to clear corrupted caches.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
mindfall
Registered Member
Posts
14
Karma
0
OS
Do you by chance have a legacy Nvidia card and use the 96.43.09 drivers? There is a known issue with these drivers that sounds like it might be related.
User avatar
mghohoo
Registered Member
Posts
39
Karma
1
OS
bcooksley wrote:My system displayed all three of those texts without issue. If you are not running KDE 4.2, then I would recommend updating, also check your version of Qt, and fontconfig. You might also consider removing ~/.fontconfig/ to clear corrupted caches.


4.13
I will update as soon as Kubuntu release the 4.2 version.


AMD X3 8450,MA770-DS3P,ADATA 8G,8600GT
I'm a chinese. My Blog http://mghohooo.blogbus.com
ç§
User avatar
mghohoo
Registered Member
Posts
39
Karma
1
OS
bcooksley wrote:My system displayed all three of those texts without issue. If you are not running KDE 4.2, then I would recommend updating, also check your version of Qt, and fontconfig. You might also consider removing ~/.fontconfig/ to clear corrupted caches.

Removing ~/.fontconfig/ is not the positive and effective method.
After updated to 4.2.This problem still stands here.
My Chinese font is downed from this website.Wenquanyi Bitmap song.
http://wenq.org/?FontGuide
And I will contact with the author of this font.Thanks!


AMD X3 8450,MA770-DS3P,ADATA 8G,8600GT
I'm a chinese. My Blog http://mghohooo.blogbus.com
ç§
pansz
Registered Member
Posts
113
Karma
0
OS
mghohoo wrote:Is this a bug?
My thread showthread.php?tid=10400 will help you understand this problem.
KDE 's Application Launcher->System Settings->Appearance->Fonts->Use anti-aliasing(Enable) ->Configure->Click Use sub-pixel rendering(make sure that Hinting style is not None).then press OK and Apply.
(The operations above will change ~/.fonts.conf.If you cannot find how to turn it to be normal.It helps after remove ~/.fonts.conf.)


I've tried in Kubuntu 8.10 + KDE4.1.4 + wqy zen hei + subpixel-hinting + folder view and all Chinese text displayed without any problems.

So you may have to check how to reproduce your problem.
User avatar
mghohoo
Registered Member
Posts
39
Karma
1
OS
pansz wrote:
mghohoo wrote:Is this a bug?
My thread showthread.php?tid=10400 will help you understand this problem.
KDE 's Application Launcher->System Settings->Appearance->Fonts->Use anti-aliasing(Enable) ->Configure->Click Use sub-pixel rendering(make sure that Hinting style is not None).then press OK and Apply.
(The operations above will change ~/.fonts.conf.If you cannot find how to turn it to be normal.It helps after remove ~/.fonts.conf.)


I've tried in Kubuntu 8.10 + KDE4.1.4 + wqy zen hei + subpixel-hinting + folder view and all Chinese text displayed without any problems.

So you may have to check how to reproduce your problem.

Did you have a try with wqy bitmap song?


AMD X3 8450,MA770-DS3P,ADATA 8G,8600GT
I'm a chinese. My Blog http://mghohooo.blogbus.com
ç§
User avatar
mghohoo
Registered Member
Posts
39
Karma
1
OS
hi,guys.I am coming back to push my discuss.
I try my best to change the environment,but it does not help.I had
reproduced this bug in KDE 4.2 and qt4.5.I also tried it in virtualbox.The
result is the same with my early attempt.It causes problems after I install the
wqy-bitmap font.
Maybe,the Chinese font is the key.
the url is
http://sourceforge.net/project/showfile ... _id=156288

Last edited by mghohoo on Fri Mar 20, 2009 4:22 pm, edited 1 time in total.


AMD X3 8450,MA770-DS3P,ADATA 8G,8600GT
I'm a chinese. My Blog http://mghohooo.blogbus.com
ç§


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]