Behdad Esfahbod
fd2ad1147a
Fix undefined-behavior signed shifts
2018-01-09 11:03:31 +01:00
Akira TAGOH
7ac6af665b
clean up
2018-01-09 13:52:28 +09:00
Behdad Esfahbod
94683a1255
Use FT_Done_MM_Var if available
2018-01-08 09:55:41 +00:00
Akira TAGOH
97488fd725
export GETTEXTDATADIR to refer the local .its/.loc file instead of using --its option
2018-01-06 18:55:00 +09:00
Behdad Esfahbod
030e2e4e94
Fix leak
2018-01-05 14:33:41 +00:00
Akira TAGOH
9c90f06b40
Remove POTFILES.in until new release of gettext is coming...
2018-01-05 22:14:58 +09:00
Akira TAGOH
b2da36e922
Use the native ITS support in gettext
...
and drop the dependency of itstool.
To get this working, need to patch out to fix a crash:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=a0cab23332a254e3500cac2a3a984472d02180e5
2018-01-05 22:12:37 +09:00
Akira TAGOH
a2e0ebf392
Add files to enable ITS support in gettext
2018-01-05 18:23:08 +09:00
Akira TAGOH
6aa0bde5ec
trivial fix
2018-01-05 16:06:16 +09:00
Tom Anderson
b8a225b3c3
Allow overriding symbol visibility.
...
Fontconfig symbols were hardcoded to be either hidden or exported. This patch
adds configurable symbol visibility. This is useful for projects that want to
do in-tree fontconfig builds and not export any symbols, otherwise they would
conflict with the system library's symbols
Chromium is a project that does in-tree fontconfig builds, and the workaround
currently used is "#define visibility(x) // nothing" [1] and building with
"-fvisibility=hidden".
[1] https://cs.chromium.org/chromium/src/third_party/fontconfig/BUILD.gn?rcl=ce146f1f300988c960e1eecf8a61b238d6fd7f7f&l=62
2018-01-04 15:24:16 +00:00
Behdad Esfahbod
37fb4a989e
Support FC_WIDTH as double as well
2018-01-04 15:22:06 +00:00
Behdad Esfahbod
1fa9cb78c1
Remove hack for OS/2 weights 1..9
2018-01-04 15:22:06 +00:00
Akira TAGOH
d7d40b5aa8
Bump version to 2.12.92
2018-01-04 20:42:34 +09:00
Akira TAGOH
3642d71724
Add FcReadLink to wrap up readlink impl.
2018-01-04 20:39:14 +09:00
Akira TAGOH
767e3aa7c5
Fix compiler warnings
2018-01-04 20:37:26 +09:00
Behdad Esfahbod
706535e107
Add FcWeightTo/FromOpenTypeDouble()
...
No idea why I didn't add these as double to begin with.
2018-01-03 15:59:56 +00:00
Akira TAGOH
97898b1158
Fix the mis-ordering of ruleset evaluation in a file with include element
2018-01-03 22:15:11 +09:00
Akira TAGOH
5cfd594c71
do not check the existence of itstool on win32
2018-01-02 19:04:45 +09:00
Behdad Esfahbod
f8e22fd646
Put back accidentally removed code
2017-12-20 12:21:20 -05:00
Behdad Esfahbod
6d1d44d5ec
Let pattern FC_FONT_VARIATIONS override standard axis variations
...
Ie. flip the merge order.
2017-12-19 15:51:16 -05:00
Behdad Esfahbod
650b051a25
Set font-variations settings for standard axes in variable fonts
...
This is the last piece of the puzzle for variable-font support in
fontconfig. This takes care of automatically setting the variation
settings when user requests a weight / width / size that has variation
in the matched font.
2017-12-19 15:04:25 -05:00
Behdad Esfahbod
288d334812
Minor
2017-12-18 23:51:17 -05:00
Behdad Esfahbod
57ff677b1b
Remove a debug abort()
...
Ouch!
2017-12-18 22:18:03 -05:00
Akira TAGOH
aa85a2b3b6
Try to get current instance of FcConfig as far as possible
2017-12-19 12:16:48 +09:00
Alexander Larsson
0b59a65a71
fchash: Fix replace
...
When we replace a bucket in the hashtable we have to update the
next pointer too, or we lose all the other elements that hashed to
this key.
2017-12-19 12:07:50 +09:00
Behdad Esfahbod
7ca28c2fed
Don't crash
...
Not proper fix necessarily. But fixes this crash:
https://bugs.freedesktop.org/show_bug.cgi?id=101889#c81
2017-12-18 21:22:21 -05:00
Akira TAGOH
e83f8777d5
Disable uuid related code on Win32
2017-12-18 21:45:13 +09:00
Akira TAGOH
182186e53a
Do not update mtime with creating .uuid
2017-12-18 21:26:29 +09:00
Akira TAGOH
c1e48b0c14
Add a test case for uuid creation
2017-12-18 20:05:44 +09:00
Akira TAGOH
8ab4d67995
Replace uuid in the table properly when -r
2017-12-18 20:05:14 +09:00
Akira TAGOH
0378790ca3
Add missing doc of FcDirCacheCreateUUID
2017-12-18 20:04:13 +09:00
Akira TAGOH
57eaf0ba7e
Returns false if key is already available in the table
2017-12-18 16:41:04 +09:00
Akira TAGOH
dd21876e64
Update .uuid only when -r is given but not -f.
2017-12-18 12:11:21 +09:00
Akira TAGOH
dd1a92911b
cleanup files
2017-12-18 11:53:25 +09:00
Akira TAGOH
bad64a7e1f
Bump version to 2.12.91
2017-12-14 15:44:20 +09:00
Akira TAGOH
1f84aa196d
Bump the libtool revision
2017-12-14 15:42:39 +09:00
Akira TAGOH
8d02dbbd97
Fix "make check" fail again
2017-12-14 15:42:22 +09:00
Akira TAGOH
a6797cd5c2
Fix distcheck error
2017-12-05 21:57:19 +09:00
Akira TAGOH
1b2279d6b5
thread-safe functions in fchash.c
2017-11-24 10:53:39 +05:30
Akira TAGOH
4758144492
Fix the testcase for env not enabled PCF_CONFIG_OPTION_LONG_FAMILY_NAMES in freetype
2017-11-20 17:46:47 +05:30
Akira TAGOH
abe91a1694
Use smaller prime for hash size
2017-11-20 17:37:23 +05:30
Akira TAGOH
c4b2787ba4
cleanup
2017-11-20 17:37:23 +05:30
Akira TAGOH
5af21201e1
Add a testcase for bind-mounted cachedir
2017-11-20 17:37:23 +05:30
Akira TAGOH
2f486f6584
Don't call FcStat when the alias has already been added
...
Similar changes to 3a3d6ea applies to fclist and fcmatch.
2017-11-20 17:37:23 +05:30
Akira TAGOH
665a5d3044
Fix a typo
2017-11-20 17:37:23 +05:30
Akira TAGOH
6b82c70835
Fix memory leak
2017-11-20 17:37:22 +05:30
Akira TAGOH
da071b32d4
update
2017-11-20 17:37:22 +05:30
Akira TAGOH
8f88b1c47c
abstract hash table functions
2017-11-20 17:37:22 +05:30
Akira TAGOH
68ff99c414
cleanup
2017-11-20 17:37:22 +05:30
Akira TAGOH
b01bf646f1
Destroy the alias and UUID tables when all of caches is unloaded
...
When a cache contains no fonts, it will be unloaded immediately.
Previously the certain alias and UUID entries will be purged at that time though,
this doesn't work when the targeted directory has sub-directories.
To avoid the unnecessary cache creation with the md5-based naming, try to keep them
as far as possible.
Although this way seems not perfectly working if the first directory to look up is like that
2017-11-20 17:37:22 +05:30