Summary: | RFE: feature to indicate which characters are missing to satisfy the language support | ||
---|---|---|---|
Product: | fontconfig | Reporter: | Akira TAGOH <akira> |
Component: | library | Assignee: | Akira TAGOH <akira> |
Status: | RESOLVED FIXED | QA Contact: | Behdad Esfahbod <freedesktop> |
Severity: | enhancement | ||
Priority: | medium | CC: | fontconfig-bugs, freedesktop |
Version: | 2.8 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 32853 | ||
Bug Blocks: | |||
Attachments: | Patch to add a cmdline tool |
Description
Akira TAGOH
2010-07-29 19:53:35 UTC
Created attachment 37454 [details] [review] Patch to add a cmdline tool Any thought on this? The approach here is completely wrong. You can't include fcint.h. Just fix Bug 32853 - Export FcGetDefaultLang(). Then use that function, or what's passed to -l, or if -a is used, every language in FcGetLangs(). Get charset for that. FcFreeTypeCharSet() the face, get the charset there. FcCharSetSubtract() the two charsets. Print the difference. Not sure if this should be a separate tool. I'm leaning towards an option to fc-query. Initial patch to fc-query: http://cgit.freedesktop.org/~tagoh/fontconfig/commit/?h=bz29312 Though the output isn't ideal. it's hard to see what exactly is missing. we need to have another function to show the detailed FcCharSet. I don't think overloading fc-query for this purpose is a good idea. I don't have strong opinion to do it in fc-query as my initial proposal was to have a separate tool on it. reworked to add fc-validate instead of extending features in fc-query. After writing a document for FcLangNormalize(), committed into git master. |
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.