- 20 Sep, 2017 33 commits
-
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
This reverts commit 57764e3a36449da25bb829c34cb08c54e9e5de90. For regular font pattern we don't look into fvar, so it doesn't make sense to get non-variation from it either.
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
Meh.
-
Behdad Esfahbod authored
This can be used for FC_VARIABLE=FcDontCare for example, to opt into getting variable fonts for clients that support using them.
-
Behdad Esfahbod authored
Oops.
-
Behdad Esfahbod authored
Old logic was really bad. If you requested weight=102 and got a medium font (weight=100), it would still enable emboldening... Adjust it to only embolden if request was >= bold and font was <= regular.
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
Has two distinctions from FcCompareRange(): 1. As best value, it returns query pattern size, even if it's out of font range, 2. Implements semi-closed interval, as that's what OS/2 v5 table defines
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
Blanks are the new black, err, dead!
-
Behdad Esfahbod authored
If font claims to support range [100,900], and request is for [250], then return [250] in "rendered" pattern. Previously was returning [100,900]. This is desirable for varfonts weight and width, but probably not for size. Will roll back size to return request size always, for non-empty ranges.
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
Returns varfont pattern at the end.
-
Behdad Esfahbod authored
Ouch!
-
Behdad Esfahbod authored
If "instance-number" part of face id is set to 0x8000, return a pattern for variable font as a whole. This might have a range for weight, width, and size. If no variation is found, NULL is returned. Not hooked up to FcQueryFaceAll() yet. For now, can be triggered using fc-query -i 0x80000000
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
There's nothing assymetrical about how we match them. Previously we "considered" them half-open because the OS/2 spec had usLowerOpticalPointSize as inclusive and usUpperOpticalPointSize as exclusive. But we do not respect that. Note that the parsing code accepts both anyway, because of the way our sscanf() usage is written...
-
Behdad Esfahbod authored
Going to use the top bit to query varfonts.
-
Behdad Esfahbod authored
For now, we mark all fonts as non-variable.
-
Behdad Esfahbod authored
This is for clients to passthru font variation settings. Modeled similar to FC_FONT_FEATURES. Each element value is for one axis settings, eg. "abcd=2.3" where 'abcd' is the OpenType Font Variations axis tag. Needs docs update.
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
Ouch!
-
Behdad Esfahbod authored
Takes the midpoint...
-
Behdad Esfahbod authored
Much simpler now.
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
Use FcCompareNumber(). The FcCompareSize() returns 0 ("perfect match") if v2 is zero. I cannot think of a use-case for this. The code has been there from initial commit in 2002. I suppose back then Keith had a use for size=0 to mean scalable or something. Anyway, remove and see.
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
-
- 16 Sep, 2017 1 commit
-
-
Florian Muellner authored
Commit cc67d7df removed 30-urw-aliases.conf, so don't try to install it.
-
- 14 Sep, 2017 2 commits
-
-
David Kaspar [Dee'Kej] authored
They have become a part of (URW)++ upstream release now: https://github.com/ArtifexSoftware/urw-base35-fonts/tree/master/fontconfig
-
Akira TAGOH authored
-
- 12 Sep, 2017 4 commits
-
-
Behdad Esfahbod authored
Like FcFreeTypeQuery(), but adds patterns for all fonts found, including named instances of variable fonts. If id is -1, then all collection faces are queried. Returns number of fonts added. This merges the same face loop that was in fc-query. and fcdir.c. Needs documentation update.
-
Behdad Esfahbod authored
Results in 5x to 10x speedup in scanning. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=64766
-
Behdad Esfahbod authored
Patch from Jerry Casiano.
-
Behdad Esfahbod authored
-