Akira TAGOH
a34db434c6
Fix some errors related to python3
2016-07-08 11:32:53 +09:00
Akira TAGOH
416cdd9d49
Check python installed in autogen.sh
...
python is required to build fontconfig from the scratch
2016-07-08 11:14:34 +09:00
Akira TAGOH
5d74251986
Update CaseFolding.txt to Unicode 9.0
2016-06-23 19:05:04 +09:00
Akira TAGOH
0ed1575917
Add --with-default-hinting to configure
2016-06-23 11:18:40 +09:00
Akira TAGOH
505712d1dc
Bump version to 2.12.0
2016-06-15 20:10:38 +09:00
Akira TAGOH
add5f7329f
Remove unused code
2016-06-15 20:10:31 +09:00
Akira TAGOH
600110ee8c
Add the static raw data to generate fcblanks.h
...
https://bugs.freedesktop.org/show_bug.cgi?id=91406
2016-06-09 14:22:36 +09:00
Erik de Castro Lopo
ea26c5e9f8
Fix a couple of minor memory leaks
...
These fixes are needed for the test suite to pass when compiled
with Address Sanitizer.
2016-05-30 10:30:10 +09:00
Akira TAGOH
7441dbec03
Bug 95481 - Build fails on Android due to broken lconv struct
2016-05-27 11:16:09 +09:00
Akira TAGOH
3c2793a32e
Correct one for the previous change
2016-05-26 14:22:29 +09:00
Akira TAGOH
b6cf1bcaf6
45-latin.conf: Add some Windows fonts to categorize them properly
...
For Serif:
Cambria, Constantia, Elephant, MS Serif
For Sans Serif:
Arial Unicode MS, Britannic, Calibri, Candara, Century Gothic, Corbel,
Haettenschweiler, MS Sans Serif, Tahoma, Twentieth Century
For Monospace:
Consolas, Fixedsys, Terminal
2016-05-25 13:01:36 +09:00
Petr Filipsky
d15c46d75e
Fix memory leak in FcDirCacheLock
2016-05-23 11:09:22 +09:00
Akira TAGOH
9ab7633f2f
Bug 95477 - FcAtomicLock fails when SELinux denies link() syscall with EACCES
...
This is an issue on Android M, which denies non-root users access to link().
Patch from Rodger Combs
2016-05-19 11:11:46 +09:00
Akira TAGOH
560506b3bb
Update URL
2016-04-07 12:50:22 +09:00
Akira TAGOH
0e837ae6ec
Modernize fc-blanks.py
...
fc-blanks.py now works on both python2 and 3
2016-04-07 12:01:14 +09:00
Akira TAGOH
13087e38ac
Bump version to 2.11.95
2016-04-06 21:05:36 +09:00
Akira TAGOH
0cfa146e6b
Update libtool revision
2016-04-06 21:04:42 +09:00
Akira TAGOH
d179cbc253
Revert "Workaround another race condition issue"
...
This reverts commit f44bfad235
.
2016-04-06 14:39:15 +09:00
Behdad Esfahbod
d05d083e9f
[GX] Improve weight mapping
...
Align the 'wght' axis default value to OS/2 weight value and
adjust accordingly. This makes both default=1.0 and default=400
models to work.
2016-03-08 17:20:55 -08:00
Behdad Esfahbod
d709220d74
Improve OpenType to Fontconfig weight mapping
2016-03-08 17:20:28 -08:00
Behdad Esfahbod
27d61f1ddc
[GX] Enumerate all named-instances in TrueType GX fonts
2016-03-08 13:39:05 -08:00
Behdad Esfahbod
00c8408c6a
[GX] Support instance weight, width, and style name
2016-03-08 13:39:05 -08:00
Behdad Esfahbod
28f62d1bb8
Call FcFreeTypeQueryFace() from fcdir.c, instead of FcFreeTypeQuery()
...
Need for upcoming work. No functional change expected.
2016-03-08 13:39:05 -08:00
Patrick Haller
d570a841a2
Optimizations in FcStrSet
...
Applied optimizations:
- skip duplicate check in FcStrSetAppend for values originating from readdir()
- grow FcStrSet in 64-element bulks for local FcStrSets (FcConfig layout unaltered)
Starting gedit is measured to
Unoptimized Optimized
user[s] 0,806 0,579
sys[s] 0,062 0,062
Total Instr Fetch Cost: 1.658.683.750 895.069.820
Cachegrind D Refs: 513.917.619 312.000.436
Cachegrind Dl Misses: 8.605.632 4.954.639
2016-01-12 10:42:40 +09:00
Akira TAGOH
98434b3392
Add hintstyle templates and make hintslight default
2015-12-02 11:31:50 +09:00
Akira TAGOH
04763135d4
Avoid an error message on testing when no fonts.conf installed
...
This test case doesn't require any config files so no need to ensure loading them.
2015-11-25 11:58:14 +09:00
Akira TAGOH
5886d98c36
Bug 93075 - Possible fix for make check failure on msys/MinGW...
...
Patch from Christian Fafard
2015-11-24 10:46:34 +09:00
Akira TAGOH
1d87fab8b1
remomve unnecessary code
2015-11-18 14:44:17 +09:00
Akira TAGOH
d162a4a83d
Fix assertion on 32bit arch
2015-10-16 17:24:22 +09:00
Akira TAGOH
6d6ce028ee
Fix compiler warnings on MinGW
2015-10-15 15:53:27 +09:00
Akira TAGOH
bd96984e4b
Use int64_t instead of long long
2015-10-15 15:51:50 +09:00
Akira TAGOH
7ccde89758
Fix build issue on MinGW
2015-10-13 13:06:54 +09:00
Akira TAGOH
a44cc450b5
Use long long to see the same size between LP64 and LLP64
2015-10-13 13:04:33 +09:00
Akira TAGOH
c88d9b6242
Fail on make runtime as needed instead of configure if no python installed
...
python isn't necessarily required to build fontconfig from tarball so that
generated fcblanks.h is available in tarball.
https://bugs.freedesktop.org/show_bug.cgi?id=91663
2015-08-17 16:37:23 +09:00
Akira TAGOH
ad9f588050
Fix the broken cache more.
...
Take a look at the nano second in the mtime to figure out
if the cache needs to be updated if available.
and do the mutex lock between scanning and writing a cache
to avoid the conflict.
Also we don't need to scan directories again after writing
caches. so getting rid of the related code as well.
https://bugs.freedesktop.org/show_bug.cgi?id=69845
and for reference:
https://bugzilla.redhat.com/show_bug.cgi?id=1236034
2015-08-14 17:19:29 +09:00
Behdad Esfahbod
46ec6a52d4
Revert changes made to FcConfigAppFontAddDir() recently
...
In 32ac7c75e8
the behavior of
FcConfigAppFontAddFile/Dir() were changed to return false
if not fonts were found. While this is welldefined and useful
for AddFile(), it's quite problematic for AddDir(). For example,
if the directory is empty, is that a failure or success? Worse,
the false value from AddDir() was being propagated all the way
to FcInit() returning false now. This only happened upon memory
allocation failure before, and some clients assert that FcInit()
is successful.
With this change, AddDir() is reverted back to what it was.
AddFont() change (which was actually in fcdir.c) from the original
commit is left in.
2015-06-26 17:02:13 -07:00
Akira TAGOH
a8096dfa59
Bug 90867 - Memory Leak during error case in fccharset
...
https://bugs.freedesktop.org/show_bug.cgi?id=90867
2015-06-24 15:46:45 +09:00
Akira TAGOH
0551e1b344
Update CaseFolding.txt to Unicode 8.0
2015-06-18 17:25:02 +09:00
Akira TAGOH
6f929ff37c
Fix a memory leak in FcFreeTypeQueryFace
2015-06-17 16:34:29 +09:00
Akira TAGOH
46b2c62faa
Add a warning for blank in fonts.conf
...
and remove the unnecessary code for parsing blanks
2015-06-17 16:29:08 +09:00
Akira TAGOH
33fd436a3e
Don't return FcFalse even when no fonts dirs is configured
2015-06-17 16:15:35 +09:00
Akira TAGOH
f6d61c9bee
mark as private at this moment
2015-06-12 11:30:01 +09:00
Akira TAGOH
dbda117142
No need to be public
2015-06-09 11:15:25 +09:00
Akira TAGOH
359ada2b4c
Fix a crash when no objects are available after filtering
2015-06-09 11:15:06 +09:00
Akira TAGOH
10a57edd07
Add one more debugging option to see transformation on font-matching
...
just setting FC_MATCH=3 shows a lot of information and hard to keep on track for informamtion
which is really necessary to see. to use this more effectively, added FC_DBG_MATCH_FILTER to
see for what one really want to see. it takes a comma-separated-list of object names.
If you want to see family name only, try like this:
FC_DBG_MATCH_FILTER=family FC_DEBUG=4096 fc-match
debugging output will be filtered out and see family only in the result.
2015-06-08 17:39:25 +09:00
Akira TAGOH
1827ef7b1e
Bump version to 2.11.94
2015-06-02 17:33:03 +09:00
Behdad Esfahbod
481a9f03a0
Bump cache version number to 6, because of recent FcRange changes
2015-05-27 14:40:15 -07:00
Behdad Esfahbod
ee2d1da2d2
Reduce number of places that cache version is specified to 1
2015-05-27 14:36:35 -07:00
Behdad Esfahbod
5bad26ccb6
Simplify FcRange
2015-05-27 14:18:28 -07:00
Behdad Esfahbod
13a5ae9fb9
Fix compiler warnings
2015-05-27 14:12:49 -07:00