Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement CTFontDescriptorCreateMatchingFontDescriptor and CTFontDescriptorCreateMatchingFontDescriptors #2024

Closed
rajsesh opened this issue Feb 22, 2017 · 0 comments

Comments

@rajsesh
Copy link
Contributor

rajsesh commented Feb 22, 2017

No description provided.

@rajsesh rajsesh added this to the 1703 milestone Feb 22, 2017
aballway added a commit that referenced this issue Mar 15, 2017
CTFontDescriptorCreateMatchingFontDescriptor(s) on the reference platform can return unexpected and inconsistent results, so rather than matching those we are going for a consistent return policy.

Any supported attributes in the mandatoryAttributes set will be required for all matching fonts, so any returned font descriptors will have those attributes. If no fonts match the attributes, no descriptors will be returned.

Any non-mandatory attributes will attempt to be matched, so if there are still descriptors that match the mandatory and an additional we will only return descriptors that match both.

Fixes #2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants