| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
To allow users to have desktop-specific matching rule.
|
|
|
|
|
|
|
|
|
|
| |
"fontversion" used to be modified to sort out fonts as a technique.
But that lost the original purpose to do the version control between
releases.
This change adds the dedicated property into the cache.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/226
|
| |
|
|
|
|
| |
This may helps to enable autohint only when font doesn't have any hinting
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
For now, we mark all fonts as non-variable.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
glibc 2.25+ has now defined these macros in <limits.h>
https://sourceware.org/git/?p=glibc.git;a=commit;h=5b17fd0da62bf923cb61d1bb7b08cf2e1f1f9c1a
Create an alias for FC_CHAR_WIDTH for ABI compatibility
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds FC_SYMBOL.
This affects fonts having a cmap with platform 3 encoding 0.
We now map their glyphs from the PUA area to the Latin1 area.
See thread "Webdings and other MS symbol fonts don't display"
on the mailing list.
Test before/after with:
$ pango-view --markup --text='<span fallback="false">×</span>' --font=Wingdings
|
|
|
|
|
|
| |
Only adds "color" to pattern if FreeType version supports color.
Based on patch from Jungshik Shin.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It was added without proper measurement and a fuzzy possible
use-case (font servers) in mind, but reality check shows that
this significantly slows down caching. As such, deprecate it
and do NOT compute hash during caching.
Makes caching two to three times faster (ignoring the 2 second
delay in fc-cache).
|
|
|
|
|
|
|
|
|
|
| |
This feature requires the FreeType 2.5.1 or later at the build time.
Besides <range> element allows <double> elements with this changes.
This may breaks the cache but not bumping in this change sets at this moment.
please be aware if you want to try it and run fc-cache before/after to
avoid the weird thing against it.
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=73401
|
| |
|
| |
|
|
|
|
|
|
| |
Workaround to not failing even when the hash is unable to generate from fonts.
This change also contains to ignore the case if the hash isn't in either both
patterns.
|
|
|
|
|
|
| |
Add the PostScript name into the cache and the matcher.
Scoring the better font against the PostScript name by
the forward-matching.
|
|
|
|
|
| |
to make it easier to maintain. also added FC_HASH_OBJECT to be matched
in the pattern, prior to FC_FILE_OBJECT.
|
|
|
|
| |
Add "hash" object which contains SHA256 hash value (so far) computed from the font file.
|
|
|
|
| |
Can be used for per-application configuration.
|
|
|
|
| |
Add FC_FONT_FEATURES to store the feature tags to be enabled.
|
|
The hash table is generated by gperf. For runtime element types, we use
a append-only linked list.
A bit clumsy, but I think I got it right.
|