Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 344451 - Please package fontconfig orth files
Summary: Please package fontconfig orth files
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Behdad Esfahbod
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F9Target
TreeView+ depends on / blocked
 
Reported: 2007-10-21 13:14 UTC by Nicolas Mailhot
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-26 07:29:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Quick & dirty packaging patch (deleted)
2007-10-26 08:10 UTC, Nicolas Mailhot
no flags Details

Description Nicolas Mailhot 2007-10-21 13:14:12 UTC
The DejaVu build process requires access to fontconfig orth files to compute
language coverage of the built font

Please package these files, either in the fontconfig -devel package or a
fontconfig-orth package

Comment 1 Nicolas Mailhot 2007-10-21 13:15:58 UTC
(or fontconfig-lang if you prefer)

Comment 2 Behdad Esfahbod 2007-10-21 21:53:54 UTC
Agreed that would be useful.  Pango uses them to build some tables too.  I'm ok
with just putting them in -devel.  We don't need more packages...

Comment 3 Behdad Esfahbod 2007-10-26 03:06:26 UTC
Going to package, and requested API for them, so in the future we can drop orth
files again:

https://bugs.freedesktop.org/show_bug.cgi?id=12939

Comment 4 Behdad Esfahbod 2007-10-26 04:19:31 UTC
Now I wonder if we should just wait for that API instead of packaging orth files
and then removing them at some point, possibly making people scream.

Anyway, Nicolas, please attach your patch here.

Comment 5 Behdad Esfahbod 2007-10-26 07:29:00 UTC
Ok, patched fontconfig to add FcGetLangs() and FcCharSetForLang().  No need to
parse orth files anymore.  Ported pango to use it:

http://svn.gnome.org/viewvc/pango/trunk/tools/gen-script-for-lang-new.c?view=markup

Hopefully will make it into fontconfig-2.5.

Comment 6 Nicolas Mailhot 2007-10-26 08:10:01 UTC
Created attachment 238541 [details]
Quick & dirty packaging patch

Proposed patch. didn't have the time to split it
The pango fix while nice is not helping my use case at all :(


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