Bug 50497

Summary: RFE: Add OpenType feature tags support
Product: fontconfig Reporter: Akira TAGOH <akira>
Component: libraryAssignee: Akira TAGOH <akira>
Status: RESOLVED FIXED QA Contact: Behdad Esfahbod <freedesktop>
Severity: enhancement    
Priority: medium CC: fontconfig-bugs, freedesktop
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Akira TAGOH 2012-05-30 04:09:15 UTC
Harfbuzz is capable to deal with the feature tags in OpenType. it would be a good idea to support it in fontconfig as the configuration.
Comment 1 Akira TAGOH 2012-09-04 05:47:14 UTC
the proposed fix:
http://cgit.freedesktop.org/~tagoh/fontconfig/commit/?h=bz50497

I don't know if we should check with Harfbuzz or own code like we did in capabilities if the given feature tags are valid or not.
Comment 2 Akira TAGOH 2013-01-11 07:05:46 UTC
updated the naming according to the discussion at the list.
Comment 3 Behdad Esfahbod 2013-01-12 08:19:21 UTC
Thanks Akira,

I don't think there is much configuration value in looking deeper in the font.  *Unless* we want to add things like being able to query whether the font has a feature, etc.  But then, the only think I can think of that can use something like that would something vaguely like requesting a small-caps font.  Even then it's not clear what a config would look like.

I think we should go ahead and commit this and worry about more complex things when a concrete need / proposal comes up.

I'll switch Pango over when you commit this.
Comment 4 Behdad Esfahbod 2013-01-16 01:40:48 UTC
Fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.