Bug 586248

Summary: No fontconfig config files provided
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: sil-abyssinica-fontsAssignee: Mathieu Bridon <bochecha>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: bochecha, fonts-bugs, i18n-bugs, mgarski
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 586882 (view as bug list) Environment:
Last Closed: 2010-06-13 08:03:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 586882    
Attachments:
Description Flags
proposed fontconfig config file none

Description Akira TAGOH 2010-04-27 07:17:44 UTC
Description of problem:
The font package should have one fontconfig config file in the package at least to let fontconfig know which alias the font is close to, which language the font is supposed to be used for etc.

Version-Release number of selected component (if applicable):
sil-abyssinica-fonts-1.0-8.fc13.noarch

Additional Info:
See http://fedoraproject.org/wiki/Fontconfig_packaging_tips for what kind of rules you need to add.

Comment 1 Akira TAGOH 2010-05-14 08:44:56 UTC
Created attachment 413979 [details]
proposed fontconfig config file

that would be ideal if anyone can add the complete list of the locale-specific overrides rule for locales that would be supposed to use this font.

Comment 2 Mathieu Bridon 2010-05-15 15:08:56 UTC
Thanks for the config file Akira (and sorry for replying so late to this bug report).

From the upstream description, sil-abyssinica is supposed to cover most of the languages used in Ethiopia and Eritrea, which means the following locales:
aa_ER
aa_ER@saaho
aa_ER.utf8
aa_ER.utf8@saaho
aa_ET
aa_ET.utf8
am_ET
am_ET.utf8
byn_ER
byn_ER.utf8
gez_ER
gez_ER@abegede
gez_ER.utf8
gez_ER.utf8@abegede
gez_ET
gez_ET@abegede
gez_ET.utf8
gez_ET.utf8@abegede
om_ET
om_ET.utf8
sid_ET
sid_ET.utf8
so_ET
so_ET.utf8
ti_ER
ti_ER.utf8
ti_ET
ti_ET.utf8
tig_ER
tig_ER.utf8

From what I understand, Fontconfig locale-specific overrides are mainly useful when several fonts cover the same unicode block, which is shared between several scripts.

However, I'm not sure a lot of fonts cover the languages used in those two countries, and it appears there is only one script in these unicode blocks, so I'm not convinced of the need for locale-specific overrides in the config file.

Did I get everything wrong? ^^'

Comment 3 Akira TAGOH 2010-05-17 02:36:59 UTC
Basically you don't need it if:
- the font doesn't affect to other languages
- fontconfig can picks it up correctly without that rule

the first one would be the main purpose of the locale-specific overrides rule. the second one may needs to be fixed in other packages too perhaps though.

I didn't test the above rule because I didn't know which locales is supposed to be applied on this. so you're sure it works for the above locales, that's ok.

Comment 4 Mathieu Bridon 2010-06-13 08:03:10 UTC
Well, I'm not 100% sure as I don't speak those languages, but everything seems fine in the GDM language selection (if sil-abyssinica-fonts is not installed, the languages display garbage, if it is installed the name of the languages are displayed in this font) and in a user session.

A package with your config file was just tagged and built for Rawhide. If you need it in another release, please ask.

Thanks for the bug report, the configuration file, and the patience. I should have been much more reactive for such a trivial bug, but I was swamped. Co-maintainers (or even someone to take it over) are more than welcome on this package.