| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
| |
FcPattern isn't compatible to the older.
|
|
|
|
|
|
| |
Only adds "color" to pattern if FreeType version supports color.
Based on patch from Jungshik Shin.
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=82876
|
|
|
|
|
|
|
|
|
| |
Rest of Part of https://bugs.freedesktop.org/show_bug.cgi?id=81453
Adds new API:
FcWeightFromOpenType()
FcWeightToOpenType()
|
|
|
|
| |
Such that Regular is closer to Medium than to DemiLight
|
|
|
|
|
| |
Part of https://bugs.freedesktop.org/show_bug.cgi?id=81453
Also hooks up FC_WEIGHT_BOOK to fcfreetype.c.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This change reverts 9acc14c34a372b54f9075ec3611588298fb2a501
because it doesn't work as expected when building
with -fshort-enums which is default for older arms ABIs
Thanks for pointing this out, Thomas Klausner, Valery Ushakov, and Martin Husemann
|
| |
|
| |
|
|
|
|
|
|
| |
Add the PostScript name into the cache and the matcher.
Scoring the better font against the PostScript name by
the forward-matching.
|
|
|
|
|
|
| |
Add an ability to set the system root to generate the caches.
In order to do this, new APIs, FcConfigGetSysRoot() and
FcConfigSetSysRoot() is available.
|
| |
|
|
|
|
| |
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 language support
Add fc-validate to check the language coverage in a font.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
These never worked as intended. The problem is, if Fontconfig tries to
read config files when these new types / constants are not registered,
it errs. As a result, no defined types / constants are usable from
config files. Which makes these really useless. Xft was the only user
of this API and even there it's not really used. Just kill it.
One inch closer to thread-safety since we can fix the object-type hash
table at compile time.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
FC_GLOBAL_ADVANCE is deprecated. this flag is simply ignored on
freetype 2.4.5 or later.
|
| |
|
|
|
|
|
| |
Add a new API FcGetDefaultLangs() to export the string sets of the default
languages.
|
|
|
|
|
|
|
|
| |
Add "namelang" object to obtain the localized name in the font regardless
of the lang object. it's applied to "familylang", "stylelang" and
"fullnamelang" alltogether. this would helps if one wants to enforce
selecting them in the specific language if any. the default value for
the namelang object is determined from current locale.
|
|
|
|
|
|
|
| |
created at the runtime.
Also add FcCacheCreateTagFile() API to do create CACHEDIR.TAG on the cache
directory.
|
|
|
|
| |
Reported by Buganini
|
|
|
|
|
|
| |
the library
Add FcDirCacheScan() API to clean up the cache files in the directory.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These funcs don't modify the incoming string, so add const markings.
This is the "right thing", shouldn't change the ABI, and fixes some
gcc warnings:
fccfg.c: In function 'FcConfigEvaluate':
fccfg.c:916:2: warning: passing argument 1 of 'IA__FcNameConstant'
discards 'const' qualifier from pointer target type [enabled by default]
fcalias.h:253:34: note: expected 'FcChar8 *' but
argument is of type 'const FcChar8 *'
fcxml.c: In function 'FcTypecheckExpr':
fcxml.c:604:2: warning: passing argument 1 of 'IA__FcNameGetConstant'
discards 'const' qualifier from pointer target type [enabled by default]
fcalias.h:251:37: note: expected 'FcChar8 *' but
argument is of type 'const FcChar8 *'
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Patch from ssp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The syntax to add any langset to the langset table looks like:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="lang" mode="assign">
<plus>
<name>lang</name>
<langset>
<string>zh-cn</string>
<string>zh-tw</string>
</langset>
</plus>
</edit>
</match>
To remove any langset from the langset table:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="lang" mode="assign">
<minus>
<name>lang</name>
<langset>
<string>ja</string>
</langset>
</minus>
</edit>
</match>
|
| |
|
| |
|
|
|
|
| |
Bug 26783 patch: unistd.h not exist on ms windows
|