Bug 42900

Summary: No language tag modifiers support
Product: fontconfig Reporter: Akira TAGOH <akira>
Component: libraryAssignee: fontconfig-bugs
Status: RESOLVED MOVED QA Contact: Behdad Esfahbod <freedesktop>
Severity: normal    
Priority: medium CC: freedesktop
Version: 2.8   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 25647, 25648, 25650, 25652, 27849, 27850    
Attachments: testing code

Description Akira TAGOH 2011-11-14 01:12:10 UTC
There are no modifiers support in fontconfig, particularly in FcGetDefaultLang() and FcLang*
Comment 1 Behdad Esfahbod 2011-11-14 09:21:37 UTC
What does this mean?
Comment 2 Akira TAGOH 2011-11-14 17:21:04 UTC
Created attachment 53563 [details]
testing code

I'm using FcDefaultSubstitute() intentionally to add a lang from FcGetDefaultLang() to the pattern. you can see fontconfig doesn't deal with modifiers so far:

% LANG=sr@Latn ./a.out
Pattern has 16 elts (size 32)
        slant: 0(i)(s)
        weight: 100(i)(s)
        width: 100(i)(s)
        size: 12(f)(s)
        pixelsize: 12.5(f)(s)
        hintstyle: 3(i)(s)
        hinting: FcTrue(s)
        verticallayout: FcFalse(s)
        autohint: FcFalse(s)
        globaladvance: FcTrue(s)
        dpi: 75(f)(s)
        scale: 1(f)(s)
        lang: "sr"(s)
        fontversion: 2147483647(i)(s)
        embeddedbitmap: FcTrue(s)
        decorative: FcFalse(s)
Comment 3 GitLab Migration User 2018-08-20 21:47:48 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/54.

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.