RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1011510 - font cache is broken by the race condition
Summary: font cache is broken by the race condition
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: fontconfig
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Akira TAGOH
QA Contact: Desktop QE
URL:
Whiteboard:
: 1014988 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-24 12:51 UTC by Mike FABIAN
Modified: 2014-06-18 04:35 UTC (History)
7 users (show)

Fixed In Version: fontconfig-2.10.95-5.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 13:20:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
tamil-shown-as-boxes.png (93.44 KB, image/png)
2013-09-24 12:51 UTC, Mike FABIAN
no flags Details
fedora-20-alpha-rc4-tamil-fonts.png (11.17 KB, image/png)
2013-09-24 22:00 UTC, Mike FABIAN
no flags Details
tamil-shown-correctly-in-RHEL-7.0-20130925.n.0.png (161.64 KB, image/png)
2013-09-25 16:41 UTC, Mike FABIAN
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 69845 0 None None None Never

Description Mike FABIAN 2013-09-24 12:51:30 UTC
Created attachment 802212 [details]
tamil-shown-as-boxes.png

Booting qemu using

http://download.devel.redhat.com/composes/nightly/RHEL-7.0-20130923.n.0/compose/Workstation/x86_64/os/images/boot.iso

like this

ionice -c 3 qemu-kvm -enable-kvm -m 2048M -smp 4 -drive file=./RHEL-7.0-20130923.n.0-Workstation-x86_64-boot.iso.qcow2,index=0,media=disk,cache=unsafe -localtime -serial file:/tmp/qemu-RHEL-7.0-20130923.n.0-Workstation-x86_64-boot.iso.qcow2-output.log -name RHEL-7.0-20130923.n.0-Workstation-x86_64-boot.iso.qcow2 -cdrom /local/mfabian/iso/RHEL-7.0-20130923.n.0/boot.iso -boot c -spice port=6001,disable-ticketing -vga qxl -display vnc=:2 -net nic -net user,hostname=RHEL-7.0-20130923.n.0-Workstation-x86_64-boot.iso.qcow2,hostfwd=tcp::5561-:22 -monitor stdio -usb

shows boxes for Tamil in the first screen where the language
is selected.

See screenshot.

Probably there is no Tamil font in the image.

Comment 2 Vratislav Podzimek 2013-09-24 20:58:57 UTC
Mike, could you please try to find out which font we should add and in which package it lives? Thanks!

Comment 3 Mike FABIAN 2013-09-24 22:00:33 UTC
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.

Comment 4 Mike FABIAN 2013-09-24 22:02:57 UTC
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:~
$

Comment 5 Vratislav Podzimek 2013-09-25 13:30:30 UTC
Okay, so it seems that the fonts are there. Since AFAICT Pango is responsible rendering texts in Gtk, I'm reassinging this bug.

Comment 6 Mike FABIAN 2013-09-25 16:39:14 UTC
It is very strange, but it works in RHEL-7.0-20130925.n.0 !

How is that possible?

Comment 7 Mike FABIAN 2013-09-25 16:41:51 UTC
Created attachment 802949 [details]
tamil-shown-correctly-in-RHEL-7.0-20130925.n.0.png

Looks good in RHEL-7.0-20130925.n.0

Comment 8 Akira TAGOH 2013-09-26 04:18:46 UTC
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.

Comment 9 Pravin Satpute 2013-10-01 06:59:02 UTC
(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.

Comment 12 Akira TAGOH 2013-10-17 03:29:30 UTC
*** Bug 1014988 has been marked as a duplicate of this bug. ***

Comment 15 Ludek Smid 2014-06-13 13:20:38 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.