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

Return a whole list of families in fontconfig. #46

Merged
merged 1 commit into from May 9, 2019
Merged

Conversation

@jneem
Copy link
Contributor

jneem commented May 8, 2019

Fixes #42.

FcFontMatch only returns the best matching font, but we need to return a whole list (so that, for example, querying sans-serif returns all of the variants of DejaVu Sans, and not just the regular one). I'm not actually sure that FcFontSort is the right function (as opposed to FcFontList), but it's the one that fc-match uses.

@pcwalton pcwalton merged commit ea7d504 into servo:master May 9, 2019
@pcwalton
Copy link
Collaborator

pcwalton commented May 9, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.