Bug 42900 - No language tag modifiers support
Summary: No language tag modifiers support
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.8
Hardware: Other All
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
Depends on:
Blocks: 25647 25648 25650 25652 27849 27850
  Show dependency treegraph
Reported: 2011-11-14 01:12 UTC by Akira TAGOH
Modified: 2018-08-20 21:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

testing code (218 bytes, text/plain)
2011-11-14 17:21 UTC, Akira TAGOH

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.