You are not logged in.

#1 2009-12-17 20:57:17

onguarde
Member
Registered: 2008-09-14
Posts: 144

Calibri font (ttf-vista-fonts) Bugged in KDE4

Peace all!

The calibri font at point 9 and above is distorted in KDE4. It works fine on point 8 though..

On firefox, it works but some letters are blurry/bold when they aren't suppose to be.

I tried reinstalling the package to no avail. The rest of the fonts seems fine though.

Here's a screenie
http://img3.imageshack.us/img3/9287/calibrifont9.png

Note the bolden "ttf" letters and invisible rest.

Thanks in advance!

Offline

#2 2009-12-17 22:47:29

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Calibri font (ttf-vista-fonts) Bugged in KDE4

Perhaps it has to do with this??

<!-- calibri jaggedness -->
  <!-- http://forums.fedoraforum.org/showthread.php?p=1045807#post1045807 -->
 <match target="font" >
  <edit mode="assign" name="embeddedbitmap" >
   <bool>false</bool></edit>
 </match>

Last edited by Gen2ly (2009-12-17 22:48:27)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#3 2009-12-18 11:11:24

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Calibri font (ttf-vista-fonts) Bugged in KDE4

Thanks for the reply!

I tried this from http://ubuntuforums.org/showthread.php? … ht=calibri (Nested link from the site u gave me). And added the following,

<match target="font" >
         <edit name="embeddedbitmap" mode="assign">
             <bool>false</bool>
         </edit>
    </match>

Then, for some weird reason everything works(after a reboot) but this time, antialiasing stops working totally!

I tried removing the above but still it won't change! Am i missing sth?

Here's my .fonts.conf (written by kde4)

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<match target="font" >
<edit mode="assign" name="antialias" >
  <bool>false</bool>
</edit>
<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>hintslight</const>
  </edit>
</match>
<match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
</match>
</match>

Offline

#4 2009-12-18 15:47:40

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Calibri font (ttf-vista-fonts) Bugged in KDE4

<edit mode="assign" name="antialias" >
  <bool>false</bool>

Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#5 2009-12-21 09:36:18

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Calibri font (ttf-vista-fonts) Bugged in KDE4

Ok I even tried using the fonts from my Windows installation. Everything works fine again except for Calibri. Hence, I've decided to scrap it in favour of other fonts. Corbel is fine too..

Offline

#6 2009-12-21 11:53:18

brebs
Member
Registered: 2007-04-03
Posts: 3,406

Re: Calibri font (ttf-vista-fonts) Bugged in KDE4

onguarde wrote:

but this time, antialiasing stops working totally!

Then you need to take a good look at your /etc/fonts/ and ~/.fonts.conf, because something's wrong in there somewhere.

Here's my config. Notice this:

    <!-- To fix Calibri font - http://forums.fedoraforum.org/showthread.php?p=1045807#post1045807 -->
    <match target="font">
        <edit name="embeddedbitmap" mode="assign">
            <bool>false</bool>
        </edit>
    </match>

Maybe this is yet another occasion where cairo-respect-fontconfig.patch is needed.

Offline

#7 2009-12-22 08:10:38

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Calibri font (ttf-vista-fonts) Bugged in KDE4

Ah, was just about to post the same thing.
http://forums.fedoraforum.org/showthrea … ost1045807

Adding that in the .fonts.conf solves all the calibri font problems. I'm puzzled why this works fine before without adding anything. Maybe in kde4.2.

Anyhows, should this "fix" be in the wiki?

Offline

#8 2009-12-22 13:43:16

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Calibri font (ttf-vista-fonts) Bugged in KDE4

Anyhows, should this "fix" be in the wiki?

Thanks to *brebs, it has been in the wiki for a while:  http://wiki.archlinux.org/index.php/Fon … #Example_2

Offline

Board footer

Powered by FluxBB