Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerging fontconfig breaks AA fonts (again)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lost-distance
n00b
n00b


Joined: 10 Apr 2003
Posts: 73

PostPosted: Sat May 17, 2003 8:24 pm    Post subject: emerging fontconfig breaks AA fonts (again) Reply with quote

AA fonts were working. I emerged fontconfig-2.2.0-r2. AA fonts are no longer working. Sound familiar?

I had a scheme to fix AA fonts after emerging fontconfig (posted Thu Apr 10, 2003), but that no longer works. I've never modified any files in /etc/fonts, and frankly I don't want to know how to modify them. I'm not interested in what fontconfig does or how it works. I just want AA fonts to work. Is that too much to ask?

Sorry for the frustration. And apologies to those working on fontconfig. I'm sure it does something useful. Help - or messages of solidarity - appreciated.
Back to top
View user's profile Send private message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Sat May 17, 2003 9:24 pm    Post subject: Reply with quote

Same here. This sucks! :(
Back to top
View user's profile Send private message
iwasbiggs
Apprentice
Apprentice


Joined: 17 Jan 2003
Posts: 203

PostPosted: Sat May 17, 2003 9:42 pm    Post subject: Reply with quote

Hmm, I got it working for me.
In fact, it changed some fonts around in the gdm (which now look a little better) and xterm.

I was previously using font config 2.1-r1, maybe you guys could try emerging the old version first?
_________________
www.ruinedsoft.com
Freeware development.
Back to top
View user's profile Send private message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Sat May 17, 2003 9:49 pm    Post subject: Reply with quote

I was using 2.1-r1, too. Today I've emerge latest, and AA is broken.
Back to top
View user's profile Send private message
barlad
l33t
l33t


Joined: 22 Feb 2003
Posts: 673

PostPosted: Sat May 17, 2003 10:08 pm    Post subject: Reply with quote

How "broken" are the fonts?
No AA at all ? Some fonts missing?
Back to top
View user's profile Send private message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Sat May 17, 2003 10:22 pm    Post subject: Reply with quote

Not all are broken. Bitstream Vera is ok for example, but Helvetiva isn't.
Back to top
View user's profile Send private message
lost-distance
n00b
n00b


Joined: 10 Apr 2003
Posts: 73

PostPosted: Sat May 17, 2003 10:46 pm    Post subject: Reply with quote

> How "broken" are the fonts?

That's a good question. Specifically what's broken is AA in Mozilla buttons/menus/bookmarks and where Mozilla displays Japanese fonts. I now see aliased fonts instead, and they look horrible by comparison. Elsewhere AA fonts look ok, for example where Mozilla displays Western fonts, and all fonts in OpenOffice. So maybe it was actually a dormant bug in Mozilla which was exposed by a recent fix to fontconfig. I shouldn't point the finger at fontconfig, but the same thing happened last time I emerged it. Up to that point I had no problems with Mozilla AA fonts, and I haven't changed Mozilla since then.
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Sun May 18, 2003 12:07 am    Post subject: Reply with quote

For me Fixed fonts (Misc/Jis/Sony) are terribly broken. And Opera 7.11B2 does no longer display Verdana but defaults to Arial. :(
All the other fonts seem to fine.
Back to top
View user's profile Send private message
Olimaus
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2003
Posts: 116
Location: Germany, Karlsruhe

PostPosted: Sun May 18, 2003 12:42 am    Post subject: Reply with quote

after an update to the newest fonconfig my system is some kind of slowed down.

applications need 2-3 sec. more to start and the cpu load has increased somehow.


what kind of problem could this be?
Back to top
View user's profile Send private message
Twist
Guru
Guru


Joined: 03 Jan 2003
Posts: 414
Location: San Diego

PostPosted: Sun May 18, 2003 8:49 am    Post subject: Reply with quote

I will just post this FYI, take it for what it's worth.

For basically months I have always been able to correct font issues with Gentoo in the same manner: build freetype manually or edit the ebuild to not apply the "helpful" patches. There have been so many conflicting posts here about what to do and what works here or there, I have no idea if this will fix things for other people.

But honestly, every time I get a messed up font it's because freetype got overwritten by the official version. I rebuild by untaring the original package and ./configure --prefix=/usr; make install and off I go. Your mileage may vary.

Oh, and delete all of your .font-cache* files afterwards as well.

-Twist
Perfect looking fonts on all five of my gentoo machines =)
Back to top
View user's profile Send private message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Sun May 18, 2003 10:05 am    Post subject: Reply with quote

Everytime when I've emerged fontconfig or freetype I had problems with fonts afterwards. I hope the ebuild guys will fix it one day.
Back to top
View user's profile Send private message
Olimaus
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2003
Posts: 116
Location: Germany, Karlsruhe

PostPosted: Sun May 18, 2003 2:46 pm    Post subject: Reply with quote

Twist wrote:


Oh, and delete all of your .font-cache* files afterwards as well.



thank you, that helped a little bit.
Back to top
View user's profile Send private message
Sixtiz
n00b
n00b


Joined: 09 Oct 2002
Posts: 56
Location: Australia

PostPosted: Mon May 19, 2003 8:43 am    Post subject: Reply with quote

I tried https://forums.gentoo.org/viewtopic.php?t=46675 again but this time it din't work... :(
Back to top
View user's profile Send private message
lude
Retired Dev
Retired Dev


Joined: 18 Apr 2002
Posts: 114
Location: New York, NY

PostPosted: Mon May 19, 2003 5:14 pm    Post subject: Reply with quote

dek wrote:
For me Fixed fonts (Misc/Jis/Sony) are terribly broken. And Opera 7.11B2 does no longer display Verdana but defaults to Arial. :(
All the other fonts seem to fine.



Broken? Or not AA'd. Those are bitmap fonts, and won't be AA'd.
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Mon May 19, 2003 5:42 pm    Post subject: Reply with quote

lude wrote:
dek wrote:
For me Fixed fonts (Misc/Jis/Sony) are terribly broken. And Opera 7.11B2 does no longer display Verdana but defaults to Arial. :(
All the other fonts seem to fine.



Broken? Or not AA'd. Those are bitmap fonts, and won't be AA'd.

They are AA'd, and that obviously breaks them. Take a look at the screenshot i have made.
Back to top
View user's profile Send private message
lost-distance
n00b
n00b


Joined: 10 Apr 2003
Posts: 73

PostPosted: Mon May 19, 2003 10:26 pm    Post subject: Reply with quote

OK, I've made some progress.

The problem *is* with fontconfig, and possibly with its handling of TrueType fonts in particular.

Applications which don't use fontconfig, such as OpenOffice and my own Japanese OCR software, display the Japanese kochi-mincho TrueType font OK.

Mozilla, which does use fontconfig, displays some awful mess which looks suspiciously like characters selected from multiple Japanese fonts.

That's what I think the problem is: not that AA is broken per se, but that the wrong fonts are being displayed.

I recompiled both freetype and mozilla to see if that would help. Not really.

Then I investigated the dreaded fonts.cache-1 file format. It contains a per-font "charset" value, which encodes the set of Unicode characters comprising the font.

Thinking that was broken, I wrote a simple program to generate the correct encoding of JISX0208-1983 in Unicode. I plugged that back into the truetype fonts.cache-1 file and lo and behold! I got something fairly reasonable. It's not what I had before the emerge of fontconfig. So I'm beginning to think that what I had before wasn't kochi-mincho at all, but some other AA Japanese font (I don't know which). What I have now is AA and is kochi-mincho, so even though it looks different, it actually looks quite good.

The Mozilla buttons/menus/bookmarks are still not in the nice AA font they were before, but I guess that's another story.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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