Behdad Esfahbod
8cb8209c91
Fix bot fails
6 years ago
Behdad Esfahbod
4cd342baea
Fix ubsan bot
6 years ago
Behdad Esfahbod
d183b33c1d
Rename test
6 years ago
Ebrahim Byagowi
39da1914b4
Test freetype funcs on test-multithread ( #1187 )
6 years ago
Ebrahim Byagowi
8bb73dad7f
Add a multithreaded test ( #1184 )
6 years ago
Behdad Esfahbod
d07f3111b4
Link API test programs with C++ linker
...
Needed to make ubsan work.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1174
6 years ago
Behdad Esfahbod
019d18e9ae
Minor
6 years ago
Garret Rieger
21a181af2b
[subset] sketch out support for a call that lists all codepoints present in a font. Implement support for it in format 4 cmap sub table.
7 years ago
Behdad Esfahbod
44b6c77c64
Try fixing linking again
...
Before 1.7.5, we were setting -fno-exceptions etc on CXXFLAGS. In 1.7.6
we set it as CPPFLAGS. Try fixing. Also, I'm fairly sure it's safe to
set these unconditionally.
Fixes https://github.com/harfbuzz/harfbuzz/issues/880 (or so I hope)
7 years ago
Garret Rieger
7251181b56
[subset] Fix infinite loop in there are more then 32 tables.
7 years ago
Garret Rieger
ec47cd95ba
[subset] Unit test to check that post subsetting drops glyph names.
7 years ago
Garret Rieger
d9263f0230
[subset] add unit tests for vmtx subsetting.
7 years ago
Garret Rieger
15fc45bfed
[subset] Add a unit test for hdmx subsetting.
7 years ago
Behdad Esfahbod
6d56db8983
[test/api] Distribute all fonts
7 years ago
Rod Sheeter
6122ad2442
[subset] add files to EXTRA_DIST
7 years ago
Rod Sheeter
fa87770372
[subset] First pass at hmtx
7 years ago
Garret Rieger
865b6971ad
[subset] Add a test for OS/2 fixes during subsetting.
7 years ago
Rod Sheeter
89ee20f1a3
basic wiring for a (failing) cmap test
7 years ago
Garret Rieger
1639bdd331
[subset] Remove test-subset, testing is planned to be done at the table level here with test/subset covering the complete subsetting operation.
7 years ago
Garret Rieger
d8d8bd8405
[subset] Add some helper functions for writing tests around subsetting.
7 years ago
Garret Rieger
89dbebd4ad
Add a basic test for glyf subsetting.
7 years ago
Behdad Esfahbod
b7b7f0ac59
[test] Minor
7 years ago
Garret Rieger
5f6eb1256f
Add libharfbuzz-subset.la to linking when building api tests.
7 years ago
Garret Rieger
76b84c36b9
Whitespace
7 years ago
Garret Rieger
a2965f2ea5
Add a basic implementation of hb-subset to enable compilation of test-subset.
7 years ago
Ebrahim Byagowi
e849b8a85b
[cmake] Always put test/api/CMakeLists.txt on distributions
7 years ago
Ebrahim Byagowi
50163976d2
[cmake] Enable cmake tests on distribution and test it ( #664 )
7 years ago
Khaled Hosny
f19126dd35
We are already inside “if HAVE_GLIB” check
7 years ago
Frédéric Wang
c3fa5d0e03
Remove inexistent file ttx file from test/api/Makefile.am
8 years ago
Behdad Esfahbod
34fc4a2cfa
Fix dist
8 years ago
Behdad Esfahbod
86106c7528
[MATH] Rename all API to hb_ot_math_*
8 years ago
Frédéric Wang
722e620f20
Use G_TEST_DIST to build the path of math test fonts
8 years ago
Behdad Esfahbod
4d3892e9b0
[MATH] Fixups for previous commit
8 years ago
Frédéric Wang
5fbcb992bd
MATH Table: Add API to check availability of math data.
8 years ago
Sascha Brawer
d34d3ac985
Support CPAL table
9 years ago
Behdad Esfahbod
fad2674874
Minor
9 years ago
Romain Naour
160f635523
fix static linking with icu-uc
...
When linking test-unicode statically it needs $(ICU_LIBS)
which contains all required flags.
Especially -lstdc++.
Fixes:
http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
9 years ago
Behdad Esfahbod
2966d36032
Fix test build
12 years ago
Behdad Esfahbod
d9afa11133
Build hb-icu into libharfbuzz-icu.so
12 years ago
Behdad Esfahbod
0a2b2a505b
Remove gthread leftovers
...
We don't use gthread anymore, remove leftovers.
12 years ago
Behdad Esfahbod
ea11abfc5d
[build] Port to newer automake recommended syntax
12 years ago
Behdad Esfahbod
5898fa94d1
Don't use $(ENV)
...
As reported by Peter Breitenlohner:
I think this is a very bad idea because ENV is used to specify a startup
file to be read by some/all shells.
12 years ago
Behdad Esfahbod
8165f2765b
[tests] Start adding tests for hb-set.h
...
Fails now. Fixing.
12 years ago
Behdad Esfahbod
431bef2e16
Minor build fix
12 years ago
Behdad Esfahbod
66aa080033
Remove test-shape-complex
...
New shaping testsuite and framework coming.
13 years ago
Behdad Esfahbod
4d6dafd47f
Rename test/ to test/api/
13 years ago
Behdad Esfahbod
38b2118724
[API] Add hb_ft_font_set_funcs(), remove hb_ft_get_font_funcs()
...
Remove hb_ft_get_font_funcs() as it cannot be used by the user anyway.
Add hb_ft_font_set_funcs(). Which will make the font internally use
FreeType. That is, no need for the font to have created using the
hb-ft API. Just create using hb_face_create()/hb_font_create() and
then call this on the font (after having set font scale). This
internally creates an FT_Face and attached to the font.
13 years ago
Behdad Esfahbod
c0975e1231
Fix build again
13 years ago
Behdad Esfahbod
f1f848e2e4
Fix build
13 years ago
Behdad Esfahbod
206e329345
[test] test-object is not FreeType-specific, move it to the right place
13 years ago