Bug 1011510
Summary: | font cache is broken by the race condition | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Mike FABIAN <mfabian> | ||||||||
Component: | fontconfig | Assignee: | Akira TAGOH <tagoh> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Desktop QE <desktop-qa-list> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 7.0 | CC: | eng-i18n-bugs, isenfeld, mfabian, psatpute, smaitra, vbenes, vpodzime | ||||||||
Target Milestone: | rc | Keywords: | i18n | ||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | fontconfig-2.10.95-5.el7 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2014-06-13 13:20:38 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Mike FABIAN
2013-09-24 12:51:30 UTC
Mike, could you please try to find out which font we should add and in which package it lives? Thanks! Created attachment 802519 [details]
fedora-20-alpha-rc4-tamil-fonts.png
Screenshot showing which Tamil fonts are available at the beginning
of a Fedora 20 Alpha RC4 installation.
So F20 Alpha RC4 has Lohit-Tamil.ttf *and* Lohit-Tamil-Classical.ttf. One of them should be enough if you want to save space. According to fontconfig, both of them support Tamil: mfabian@ari:~ $ fc-list "Lohit Tamil" lang :lang=ta mfabian@ari:~ $ fc-list "Lohit Tamil Classical" lang :lang=ta mfabian@ari:~ Package names: mfabian@ari:~ $ rpm -qf /usr/share/fonts/lohit-tamil/Lohit-Tamil.ttf lohit-tamil-fonts-2.5.3-1.fc19.noarch mfabian@ari:~ $ rpm -qf /usr/share/fonts/lohit-tamil-classical/Lohit-Tamil-Classical.ttf lohit-tamil-classical-fonts-2.5.3-1.fc19.noarch mfabian@ari:~ $ ftdump /usr/share/fonts/lohit-tamil/Lohit-Tamil.ttf There is 1 face in this file. ----- Face number: 0 ----- font name entries family: Lohit Tamil style: Regular postscript: Lohit-Tamil font type entries FreeType driver: truetype sfnt wrapped: yes type: scalable direction: horizontal fixed width: no glyph names: yes EM size: 1024 global BBox: (-304,-363):(1766,861) ascent: 866 descent: -380 text height: 1246 glyph count: 247 charmaps 0: platform 0, encoding 3 language 0 1: platform 1, encoding 0 language 0 2: platform 3, encoding 1 language 0 (active) mfabian@ari:~ $ ftdump /usr/share/fonts/lohit-tamil-classical/Lohit-Tamil-Classical.ttf There is 1 face in this file. ----- Face number: 0 ----- font name entries family: Lohit Tamil Classical style: Regular postscript: Lohit-Tamil-Classical font type entries FreeType driver: truetype sfnt wrapped: yes type: scalable direction: horizontal fixed width: no glyph names: yes EM size: 1024 global BBox: (-304,-363):(1766,861) ascent: 866 descent: -380 text height: 1246 glyph count: 255 charmaps 0: platform 0, encoding 3 language 0 1: platform 1, encoding 0 language 0 2: platform 3, encoding 1 language 0 (active) mfabian@ari:~ $ Okay, so it seems that the fonts are there. Since AFAICT Pango is responsible rendering texts in Gtk, I'm reassinging this bug. It is very strange, but it works in RHEL-7.0-20130925.n.0 ! How is that possible? Created attachment 802949 [details]
tamil-shown-correctly-in-RHEL-7.0-20130925.n.0.png
Looks good in RHEL-7.0-20130925.n.0
I'm not quite sure why/how it happened but the directory cache in fontconfig for /usr/share/fonts seems broken. it doesn't contain one for Lohit Tamil. once rerun fc-cache -f /usr/share/fonts (after copying fc-cache from somewhere else) it works again. (In reply to Akira TAGOH from comment #8) > I'm not quite sure why/how it happened but the directory cache in fontconfig > for /usr/share/fonts seems broken. it doesn't contain one for Lohit Tamil. > once rerun fc-cache -f /usr/share/fonts (after copying fc-cache from > somewhere else) it works again. I remember same issue was there with Malayalam during Fedora 19 release. Font was installed but it was not present in font cache. https://bugzilla.redhat.com/show_bug.cgi?id=995788 Though not able to reproduce same later on. fixed in upstream: http://cgit.freedesktop.org/fontconfig/commit/?id=0203055520206028eecee5d261887cdc91500e15 *** Bug 1014988 has been marked as a duplicate of this bug. *** This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |