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

White Japanese characters「助けて」

Tags: None
(comma "," separated)
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS
I have installed quite a number of CJK fonts already but I still get these white Japanese characters as you can see below:
http://picasaweb.google.com/lh/photo/RXBL2ID8cdWIdZiEvGH4Lw?feat=directlink
Image

In some text widgets, as this one, writing text at the moment makes Japanese text barely legible. The subject line edit shows the characters fine, though. The problematic text never obeys color change.

Also, the characters in the title bar are not antialiased.


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS
I can't really understand your problem David.

I'm a japanese student and I write often in japanese but I can't detect color problems with japanese spaces.
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS
Not japanese spaces, japanese characters 笑. In some widgets they're always white. This text I'm writing is black on white background. But 笑 is white on white background.

[EDIT] I found a fonts.conf that disables those ugly why-are-they-even-defaults bitmap fonts. Now to set font preferences [/EDIT]

(What it looked like while writing this:)
[img]http://lh6.ggpht.com/_iA80Cn5ul4E/SlYwbISbMrI/AAAAAAAAAQQ/f7Uc43rhyws/s800/blanco.jpeg[/img]

Ignacio, could you share some info on your system? What fonts do you use? Do you have a personalized fonts.conf? What is in it?

Gracias!

P.S. A little on topic, can you see this � character? None of my fonts supports it.
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS
My .fonts.conf:
Code: Select all
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
 </match>
 <selectfont>
  <rejectfont>
   <pattern>
    <patelt name="scalable" >
     <bool>false</bool>
    </patelt>
   </pattern>
  </rejectfont>
 </selectfont>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="embeddedbitmap" >
   <bool>false</bool>
  </edit>
 </match>
 <alias>
 <family>serif</family>
  <prefer>
  <family>DejaVu Serif</family>
  <family>IPAX0208PMincho</family>
  <family>Sazanami Mincho</family>
  <family>Kochi Mincho</family>
  <family>Nimbus Roman No9 L</family>
  <family>AR PL SungtiL GB</family>
  <family>AR PL Mingti2L Big5</family>
  <family>Baekmuk Batang</family>
  </prefer>
 </alias>
 <alias>
 <family>sans-serif</family>
  <prefer>
  <family>DejaVu Sans</family>
  <family>IPAX0208PGothic</family>
  <family>Sazanami Gothic</family>
  <family>Kochi Gothic</family>
  <family>Verdana</family>
  <family>Arial</family>
  <family>Nimbus Sans L</family>
  <family>AR PL KaitiM GB</family>
  <family>AR PL KaitiM Big5</family>
  <family>Baekmuk Dotum</family>
  </prefer>
 </alias>
 <alias>
 <family>monospace</family>
  <prefer>
  <family>DejaVu Sans Mono</family>
  <family>IPAX0208PGothic</family>
  <family>Sazanami Gothic</family>
  <family>Courier New</family>
  <family>Kochi Gothic</family>
  <family>Bitstream Vera Sans Mono</family>
  <family>Andale Mono</family>
  <family>Nimbus Mono L</family>
  <family>AR PL KaitiM GB</family>
  <family>Baekmuk Dotum</family>
  </prefer>
 </alias>
</fontconfig>

In short, disable bitmap fonts (evil be gone!). hinting, whatever that does. Antialiasing. My prefered Japanese font is IPA font, from http://ossipedia.ipa.go.jp/ipafont/ and packaged in Debian as ttf-ipafont. Plus some extra CJK fonts.


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS
openSUSE 11.1 with all japanese fonts available installed and last KDE 4 factory repositories available, currently Version 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2)) "release 142".

I'm using UIM as input method and Qt 4.5.2.

And my local fonts.conf was:
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], Google [Bot], lockheed, Yahoo [Bot]