Bug 249644

Summary: fc-cache does not cache newly installed fonts if /usr/share/fonts has newer modtime
Product: [Fedora] Fedora Reporter: Caius Chance <me>
Component: fontconfigAssignee: Behdad Esfahbod <behdad>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: eng-i18n-bugs, fonts-bugs, petersen, phuang, yshao
Target Milestone: ---Keywords: i18n, MoveUpstream, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-04 23:01:42 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 249646    

Description Caius Chance 2007-07-25 21:08:17 EDT
Description of problem:
fc-cache is not always caching newly installed fonts in fonts-chinese.

Version-Release number of selected component (if applicable):
fonts-chinese-3.03-4

How reproducible:
Sometimes.

Steps to Reproduce:
1.Fresh install Fedora 7 without Chinese support.
2.Install fonts-chinese: rpm -ivvh fonts-chinese-3.03-4.f7.rpm > rpm_inst_log
3.fc-list | sort > fc-list_out
  
Actual results:
- rpm_inst_log shows fc-cache had been run.
- fc-list_out doesn't show all installed fonts: ShanHeiSun, ZenKai.

Expected results:
- rpm_inst_log shows fc-cache had been run.
- fc-list_out shows all installed fonts: ShanHeiSun, ZenKai.

Additional info:
Comment 1 Caius Chance 2007-07-26 21:31:25 EDT
Refactorized and built:

http://koji.fedoraproject.org/koji/buildinfo?buildID=12013
Comment 2 Jens Petersen 2007-09-04 21:40:50 EDT
Moving to fontconfig since this is a general issue and not specific to
fonts-chinese.
Comment 3 Jens Petersen 2007-10-24 00:35:40 EDT
Behdad suggests it would be good to discuss this on the upstream mailing-list.
Comment 4 Peng Huang 2007-10-24 22:51:13 EDT
I discussed this problem in upstream mailing-list. It have been fixed in
upstream's source repository.
Comment 5 Jens Petersen 2008-02-06 22:02:24 EST
fontconfig-2.5.0 has been in rawhide for a good while now,
so guess this can be closed.