Behdad Esfahbod
c479a59988
[subset] Assemble font
7 years ago
Behdad Esfahbod
f70100417c
[test] Minor
7 years ago
Behdad Esfahbod
af02812fc5
[subset] Change hb_subset API to remove hb_subset_face_t
7 years ago
Garret Rieger
7481f0ce21
Add codepoints to subset input.
7 years ago
Ebrahim Byagowi
8cb8bfd5b5
[test] Fix test-subset on old distros ( #758 )
...
https://developer.gnome.org/glib/stable/glib-Testing.html#g-assert-cmpmem
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
Garret Rieger
b59c08eb04
Add the beginning of a unit test for hb-subset
7 years ago
Ebrahim Byagowi
e849b8a85b
[cmake] Always put test/api/CMakeLists.txt on distributions
7 years ago
Ebrahim Byagowi
2dbdeb1421
[cmake] Run fuzzing and shaping tests ( #666 )
7 years ago
Ebrahim Byagowi
50163976d2
[cmake] Enable cmake tests on distribution and test it ( #664 )
7 years ago
Khaled Hosny
c860955148
Add API tests to cmake build
7 years ago
Khaled Hosny
f19126dd35
We are already inside “if HAVE_GLIB” check
7 years ago
Behdad Esfahbod
20b4672754
[set] Fix recent changes
...
Ouch!
Add tests.
7 years ago
ebraminio
7c6937e7c7
Move all references of old url to the new address ( #622 )
7 years ago
Behdad Esfahbod
cb6c6b0c42
Fix warning
...
49a41dc759 (commitcomment-25203194)
7 years ago
Jonathan Kew
7339926525
[test] Extend hb_set test for issue 579 (currently failing)
7 years ago
Jonathan Kew
3d6f7df42a
[test] Additional coverage in test_set_iter.
...
This adds a couple extra entries to the set used, such that iteration
would fail in 1.6.2 due to the bug in hb_set_t::page_t::next().
7 years ago
Behdad Esfahbod
49a41dc759
[test] Add more hb-set tests
...
https://github.com/behdad/harfbuzz/issues/579
7 years ago
Behdad Esfahbod
deed4a48d1
Faster hb_set_t
...
Fixes https://github.com/behdad/harfbuzz/pull/23
7 years ago
Behdad Esfahbod
c4712f8e37
Fix test
7 years ago
Philip Withnall
a6ced90efc
test: Fix some memory leaks in test-font.c ( #409 )
...
Coverity IDs: 141039, 141040, 141041
8 years ago
Behdad Esfahbod
a8a5e81a52
[test-ot-math] Add test with nil face/font
8 years ago
Behdad Esfahbod
331d07bd40
Minor
8 years ago
Behdad Esfahbod
b5ecf1bfa4
Fix warnings
8 years ago
Behdad Esfahbod
2f2ceee185
Minor
8 years ago
Sascha Brawer
1337428e4f
Update language tags to OpenType 1.8.1 ( #403 )
...
Resolves https://github.com/behdad/harfbuzz/issues/324
8 years ago
Mike Hommey
1c98ff87c7
Support building with older glib versions
...
It is desirable to be able to build against older versions of glib.
fd7a245
changed the configure check to require glib > 2.38 for
G_TEST_DIST. Before that, version 2.16 was required, but in fact,
since aafe395
, G_PASTE is being used, which was introduced in 2.19.1.
And since 0ef179e2
, hb-glib uses GBytes, which were introduced in
2.31.10.
2.19.1 is rather old, but 2.38 is rather new. For Firefox, building
against 2.22 is still supported, although we could probably get away
with bumping that to 2.28. Either way, GBytes is not available.
Arguably, if you build against a glib that doesn't support GBytes,
you're not going to use the hb_glib_blob_create function, so we hide
the function when building against such a glib.
As for G_TEST_DIST, when building against versions of glib that don't
support it, we can fallback to the previous behavior, which, AIUI, was
just making the test not work when building in a separate directory.
8 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
46cc4a3a2a
[MATH] Rename hb_math_*_t types to hb_ot_math_*_t
...
With this, I believe MATH table API is not ready to be merged.
8 years ago
Frédéric Wang
8d622f1114
Add tests for get_mathvariant ( #329 )
8 years ago
Frédéric Wang
485e4873fb
Add tests for hb_ot_math_get_glyph_variants ( #328 )
8 years ago
Behdad Esfahbod
a5629a2ed9
[MATH] Simplify test
8 years ago
Frédéric Wang
edcfa789bf
test-ot-math: Use different scales for vertical and horizontal directions and add test for hb_ot_math_get_min_connector_overlap. ( #327 )
8 years ago
Behdad Esfahbod
cdc9eef7da
[MATH] Enable tests for glyph-assembly italics-correction
8 years ago
Behdad Esfahbod
86106c7528
[MATH] Rename all API to hb_ot_math_*
8 years ago
Frédéric Wang
51da7a1cd6
MATH table: Add API to access math variants.
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
17ff30e9af
[MATH] Clean up get_top_accent_attachment()
...
Note, the function now returns "half of horizontal advance width"
if top accent attachment for glyph is not explicitly defined.
This is what the spec requires. Updated tests.
8 years ago
Behdad Esfahbod
8bcf517fe5
[MATH] Clean up get_italics_correction()
8 years ago
Frédéric Wang
d7182d1296
MATH Table: Add API to access glyph info.
8 years ago
Frédéric Wang
319ff59161
MATH Table: Add API to access math contants.
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
e7ecbba2cc
Support Americanist Phonetic Notation
...
OpenType language system tag: `APPH`
https://www.microsoft.com/typography/otspec/languagetags.htm
IETF BCP47 variant tag: `fonnapa`
http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
8 years ago
Behdad Esfahbod
18c19dd34d
Fix build
8 years ago
Behdad Esfahbod
dd8598c1c7
[test] Pass closure to hb_font_set_glyph_func()
...
Exercises fix in c335fd7986
9 years ago