Bug 3447 - fc-cache breaks my qt program
Summary: fc-cache breaks my qt program
Status: RESOLVED INVALID
Alias: None
Product: fontconfig
Classification: Unclassified
Component: fc-cache (show other bugs)
Version: 2.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 8100
  Show dependency treegraph
 
Reported: 2005-06-01 14:58 UTC by Daniel Stone
Modified: 2006-09-01 20:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot which displays normally. (60.40 KB, image/png)
2005-06-01 15:00 UTC, FreeDesktop Bugzilla Database Corruption Fix User
Details
Screenshot which displays wrong font. (60.00 KB, image/png)
2005-06-01 15:01 UTC, FreeDesktop Bugzilla Database Corruption Fix User
Details
Generated by version 2.3.2 (40.44 KB, application/octet-stream)
2005-06-01 15:02 UTC, FreeDesktop Bugzilla Database Corruption Fix User
Details
Generated by version 2.2.3 (39.00 KB, application/octet-stream)
2005-06-01 15:03 UTC, FreeDesktop Bugzilla Database Corruption Fix User
Details

Description FreeDesktop Bugzilla Database Corruption Fix User 2005-06-01 14:58:43 UTC
I just update fontconfig from 2.2.3 to 2.3.2. I am supprised that all my QT
based programs display bold font charactors for Chinese. But actually they
should just display regular font as before. In fact, only SimSun font in my
system is broken. The other fonts seem fine. And the GTK programs also work well.

So I try to find out what is wrong with my system. Finally, I find that fc-cache
must do something wrong with my Chinese fonts. 

I have a SimSun font family and there are four font files for different styles.
Nomally, when I select SimSun, SimSun.ttf should be chosen. But now, when I
select SimSun in QT program, SimSun-Bold.ttf is chosen. 

I do not know what happens. I use the fc-cache from version 2.2.3 to regenerate
the fonts.cache-1 file. Then everything goes ok again. Therefore, I guess the
problem is that fc-cache generates some bad cache file.

I attach the fonts.cache-1 (2.3.2) and fonts.cache-1.bak (2.2.3) as well as two
screenshots which show what happens.
Comment 1 FreeDesktop Bugzilla Database Corruption Fix User 2005-06-01 15:00:47 UTC
Created attachment 2807 [details]
Screenshot which displays normally.
Comment 2 FreeDesktop Bugzilla Database Corruption Fix User 2005-06-01 15:01:42 UTC
Created attachment 2808 [details]
Screenshot which displays wrong font.
Comment 3 FreeDesktop Bugzilla Database Corruption Fix User 2005-06-01 15:02:47 UTC
Created attachment 2809 [details]
Generated by version 2.3.2
Comment 4 FreeDesktop Bugzilla Database Corruption Fix User 2005-06-01 15:03:32 UTC
Created attachment 2810 [details]
Generated by version 2.2.3
Comment 5 Keith Packard 2006-09-01 10:59:05 UTC
Can you describe the actual problem here? I see that the 'broken' one appears to
be using a bold version of the font, is that the issue?
Comment 6 Keith Packard 2006-09-01 20:30:31 UTC
No reporter in this bug; marking as invalid


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.