Ebrahim Byagowi
fe18c471a4
[dwrite] minor
7 years ago
Behdad Esfahbod
ebccd01974
More ULL fixes
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/901
7 years ago
Behdad Esfahbod
7ec3ba21f0
Define uint64_t constants with ULL suffix
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/901
7 years ago
Chun-wei Fan
19256bef9d
hb-private.hh: Add fallback implementation for round()
...
For pre-C99 compilers that do not support round(), we need to have a
simplistic implementation for it, when it is not detected during build
configuration, either via CMake or autotools, by using floor() and
ceil(), which are provided in the pre-C99 compilers.
Please see discussion at commit 86a0ac2
for more details for re-adding
this patch.
7 years ago
Nikolaus Waxweiler
95f0458f44
Policy 0063 must be enabled to have hidden inline visibility... ( #900 )
...
...on static builds.
7 years ago
Ebrahim Byagowi
2a23606339
Fix llvm-gcc-4.2 compile issue and add a macOS bot to test it ( #899 )
7 years ago
Ebrahim Byagowi
7919033ce8
[dwrite] Replace rest of 'malloc/free's with 'new/delete' ( #897 )
7 years ago
Garret Rieger
3f55e0e746
[subset] Check for the Null table and not nullptr to detect failure to find a table in glyf accelerator.
7 years ago
Garret Rieger
45def99eae
[subset] Fix to debug message.
7 years ago
Garret Rieger
1396614040
[subset] don't use pointers returned from push after array has resized in hb-subset-glyf.cc
7 years ago
Garret Rieger
3531efdb4c
[subset] Fixed out of bounds read when subsetting hdmx.
7 years ago
Garret Rieger
e597436b99
[subset] Disable glyf accelerator_t methods if it didn't successfully init.
7 years ago
Garret Rieger
7251181b56
[subset] Fix infinite loop in there are more then 32 tables.
7 years ago
Garret Rieger
1a94804d35
[subset] Add a fix for segfault in hmtx/vmtx subsetting code.
7 years ago
Garret Rieger
31281d6a17
[subset] Add a test demonstrating a seg fault while subsetting hmtx.
7 years ago
Garret Rieger
b5c7d6cffc
[subset] Restore subset to hb-subset-fuzzer.
7 years ago
Ebrahim Byagowi
957e775663
[dwrite] Use new again and enable the build on msys2 bots ( #890 )
7 years ago
Ebrahim Byagowi
8d1b4082ae
Appropriate fix for msys2 bot fail on gen-def.py ( #894 )
7 years ago
Ebrahim Byagowi
7b4333b090
Do feature test before adding -Bsymbolic-functions, autotools part ( #892 )
7 years ago
Joel Winarske
d68f00e4d8
Do feature test before adding -Bsymbolic-functions, cmake part ( #889 )
7 years ago
Ebrahim Byagowi
42d3271cc3
[cmake] Don't hide symbols by default ( #891 )
...
But keep use of cmake idiomatic way of making inlines hidden
7 years ago
Garret Rieger
584693e0cb
[subset] Test not linking libharfbuzz-subset-fuzzing into hb-subset-fuzzer.
7 years ago
Garret Rieger
3f9361fe7a
[subset] Test hb-shape-fuzzer in run-subset-fuzzer-tests.
7 years ago
Garret Rieger
ce368e0d05
[subset] make libharfbuzz-subset-fuzzing.la depend on lib target.
7 years ago
Garret Rieger
85a57029cd
[subset] %d -> %zu
7 years ago
Garret Rieger
318eea5853
[subset] Add some more logging to hb-subset-fuzzer.
7 years ago
Garret Rieger
64bab8b3d0
[subset] Fix run-shape-fuzzer-tests.py. It was generating incorrect paths for input fonts.
7 years ago
Garret Rieger
6f9a584371
[subset] Add more verbose output for subset fuzzer test.
7 years ago
Garret Rieger
0ce0f87812
[subset] Rename hb-fuzzer -> hb-shape-fuzzer.
7 years ago
Garret Rieger
1e9bd6d5ff
[subset] Add rub-subset-fuzzer-tests.py to dist files.
7 years ago
Garret Rieger
474afaafd9
[subset] Add a test runner for hb-subset-fuzzer and cmake build config.
7 years ago
Garret Rieger
aa9612d35f
[subset] Fix fuzzing build for hb-subset-fuzzer.
7 years ago
Garret Rieger
b674fc1f9f
[subset] Add missing destroy of subsetting result in subset fuzzer.
7 years ago
Garret Rieger
1beb08862e
[subset] First pass at setting up a fuzzing program for hb-subset.
7 years ago
Behdad Esfahbod
127096e474
[util] Remove line buffering
...
Something weird seems to be going on. Just kill it.
Fixes https://github.com/harfbuzz/harfbuzz/issues/888
7 years ago
Behdad Esfahbod
e6e2ee2b92
Remove extra stdbool includes
...
They are handled in our common header.
7 years ago
Behdad Esfahbod
a0dccb6188
Add NameID
7 years ago
Behdad Esfahbod
56946d21c0
[color/COLR] Simplify
7 years ago
Behdad Esfahbod
6418ae4e8a
[color/COLR] Clean up
7 years ago
Behdad Esfahbod
150c53ee96
[color/COLR] Fix bad sanitize
...
Bad bad bad bad code. Don't do that. If compiler's not happy, understand why.
7 years ago
Behdad Esfahbod
399c800b93
[color/COLR] Clean up
7 years ago
Behdad Esfahbod
9e337341d5
[color/cbdt] Clean up
7 years ago
Behdad Esfahbod
86a0ac284f
Revert "hb-private.hh: Add fallback implementation for round()"
...
This reverts commit b9dcbb1f83
.
This is gross. Should be only done if a specific macro is defined. Not the other way
around. This fails my build as autotools companions where not added anyway.
7 years ago
Ebrahim Byagowi
791d80a1d4
Merge pull request #886 from madig/only-export-visible-symbols
...
CMake: hide symbols by default on non-MSVC, define export attribute
7 years ago
Nikolaus Waxweiler
22de9bf56d
Enable implicit symbol hiding for all libraries, static and shared
...
This covers all built libraries now and both static and shared builds.
7 years ago
Ebrahim Byagowi
d4907e83ef
[dwrite] GCC/mingw/msys2 compatibility ( #884 )
7 years ago
Ebrahim Byagowi
93f8f89ded
[ci] Trying to fix gen-def issue on appveyor ( #885 )
7 years ago
Nikolaus Waxweiler
ce975dce7a
CMake: hide symbols by default on non-MSVC, define export attribute
...
This change makes sure that non-MSVC builds using CMake properly hide
non-exported functions.
7 years ago
Ebrahim Byagowi
a12dd6f75d
Merge pull request #877 from fanc999/master.msvc
...
Fix CMake builds on Windows, MSVC in particular
7 years ago
Chun-wei Fan
7c43adab6d
CMake: Fix utility program installation
...
Put in the utility program that was missed in installation by replacing
the one that was duplicated.
7 years ago