Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: aswjh on June 10, 2011, 02:40:49 AM

Title: It seems that libfreetype.so.6.6.2 of 3.7rc have problem for chinese font.
Post by: aswjh on June 10, 2011, 02:40:49 AM
libfreetype.so.6.4 of tc3.6 is better than libfreetype.so.6.6.2  of 3.7rc3  for chinese font..
this is the picture:
Title: Re: It seems that libfreetype.so.6.6.2 of 3.7rc have problem for chinese font.
Post by: curaga on June 10, 2011, 02:44:41 AM
If the font is bad quality, you can disable antialiasing for that font:
https://wiki.archlinux.org/index.php/Font_Configuration

It could also be the subpixel or hinting setting.

~/.fonts.conf
Quote
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

  <!-- settings go here -->
<match target="font">
    <edit name="antialias" mode="assign">
      <bool>false</bool>
    </edit>
  </match>

</fontconfig>
Title: Re: It seems that libfreetype.so.6.6.2 of 3.7rc have problem for chinese font.
Post by: aswjh on June 10, 2011, 03:03:35 AM
 I guess the reason is that 3.7rc use libfreetype.so.6.6.2.
 I try to ln libfreetype.so.6.4 instead of libfreetype.so.6.6.2,and its ok.
Title: Re: It seems that libfreetype.so.6.6.2 of 3.7rc have problem for chinese font.
Post by: Juanito on June 10, 2011, 03:36:59 AM
I just tried with microcore-3.7rc2 and Xorg-7.5 and deleted libfreetype.so.6.4 so it could not be used - things work fine..
Title: Re: It seems that libfreetype.so.6.6.2 of 3.7rc have problem for chinese font.
Post by: curaga on June 10, 2011, 05:18:02 AM
@Juanito - from the pic I gather the issue is slightly fuzzier look. Badly hinted fonts can cause that, it's a sad fact that fonts from Microsoft and Apple tend to be the best quality...
Title: Re: It seems that libfreetype.so.6.6.2 of 3.7rc have problem for chinese font.
Post by: hiro on June 10, 2011, 06:48:38 AM
it's a sad fact that fonts from Microsoft and Apple tend to be the best quality...

They are properly hinted and thus great if you don't want to use anti-aliasing.
But I heard others say free fonts with antialiasing+autohinting look better on their screens.

I'd like to understand the fontconfig config so that I could experiment some more...