Bug 43367

Summary: RFE: iterator to peek objects in FcPattern
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: 2.8   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Akira TAGOH 2011-11-30 01:31:41 UTC
We can have a look at FcPattern on the output with FcPatternPrint() though, there are no way to peek around it programmatically. there are no function what kind of objects FcPattern has, so one can't obtain the objects efficiently with FcPatternGet*(). that would be nice if there are any API available for that purpose.
Comment 1 Behdad Esfahbod 2012-02-21 19:34:12 UTC
Yes, I agree that this is a gap in the API.
Comment 2 Akira TAGOH 2012-09-11 06:04:11 UTC
the proposed changes to add some APIs to obtain things from FcPattern:
  http://cgit.freedesktop.org/~tagoh/fontconfig/commit/?h=bz43367
Comment 3 Akira TAGOH 2018-05-11 13:21:29 UTC
merged this changes with  some clean up and bug fixes because of the need of access to FcPattern iteratively.

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.