David Corbett
e30dedbb42
[Unicode 16] Add tests
5 months ago
Behdad Esfahbod
59a97ac02e
[test] More get_table_tags test
7 months ago
Behdad Esfahbod
a55b007144
[test] Add get_table_tags test for hb-coretext
7 months ago
Behdad Esfahbod
bd79bfb653
[test] Add get_table_tags test for hb-ft
7 months ago
Behdad Esfahbod
a459753ef9
[test] Test get_table_tags of face_builder
7 months ago
Behdad Esfahbod
8896b1d57a
[test] Add test for get_table_tags
...
So far just tests the default implementation.
7 months ago
Behdad Esfahbod
84f165646e
[test] Move code around
7 months ago
Behdad Esfahbod
22e1a5a785
[test-paint] Fix warnings
7 months ago
Behdad Esfahbod
191c6eedf3
Fix Linux bot
7 months ago
Behdad Esfahbod
e0c3cbf16c
[subset] Fail if source face has no glyphs
...
Also return nullptr if any of the input pointers are nullptr.
Before we were returning the empty face.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4824
7 months ago
Khaled Hosny
cf1fdf1632
Drop autotools build
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4720
8 months ago
Behdad Esfahbod
49c8493f5c
[test] Build with HB_MINI
...
Also add CONFIG.md instructions for building configs with meson.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4760
8 months ago
ssmid
106e4068b9
HB_SCRIPT_CANADIAN_ABORIGINAL removed, as deprecated
8 months ago
ssmid
8de7e9fdb1
deprecation cleanup: HB_BUFFER_FLAGS_DEFAULT removed
8 months ago
Behdad Esfahbod
9456f6bdfa
[test] Fix a few compiler warnings
9 months ago
David Corbett
c2b5b7b9ca
[ot-tags] Update IANA and OT language registries
9 months ago
Khaled Hosny
135d6537d9
test-draw-varc.c: Fix “warning: unused function”
9 months ago
David Corbett
0db136b1b0
[subset-cff] Shorten output of `encode_num_tp`
10 months ago
Behdad Esfahbod
6129c72619
[varc] Use Condition instead of ConditionSet
...
With more Condition formats.
df7dcc4618
https://github.com/harfbuzz/boring-expansion-spec/issues/147
10 months ago
Behdad Esfahbod
d07d70aef1
[varc] Add test
10 months ago
Ozkan Sezer
dbecddb41c
tests, hb-test.h: define g_assert_false && g_assert_nonnull for old glib
...
Reference issue: https://github.com/harfbuzz/harfbuzz/issues/4577
Reference issue: https://github.com/harfbuzz/harfbuzz/issues/4624
11 months ago
Lie Yan
2da79f70a1
fix(test-ot-math.c): remove redundant lines
12 months ago
Christer Sandberg
1ab8822b41
Fixed some errors in STAT table implementation
1 year ago
Lie Yan
c17d67467f
[ot-math] Fix a bug in MathKern::get_value()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4542
1 year ago
Garret Rieger
9701b0024e
[subset] Always place CFF1/2 char strings at the end of the packed table.
...
Makes the behaviour from HB_SUBSET_FLAGS_IFTB_REQUIREMENTS the default.
1 year ago
Garret Rieger
c6884377ec
[subset] Add HB_SUBSET_FLAGS_IFTB_REQUIREMENTS flag.
...
When enabled the output subset conforms to the requirements for a base font to be patched by IFTB patches. IFTB is a proposed incremental font transfer patch. This new flag is set as experimental. Currently, setting this flag causes the output subset to also use long offsets for outline data in loca/glyf, gvar, CFF, and CFF2.
This change is a version of 3ae2fe2084
rebased onto head w/ tests added.
1 year ago
Khaled Hosny
6e06a193b3
Add some tests for hb_feature_[from|to]_string()
1 year ago
David Corbett
c459b8a51a
[Unicode 15.1] Add tests
1 year ago
Behdad Esfahbod
0c80aec10b
[COLR] Move cycle-detection to the renderer instead of cairo
...
Alternative fix for https://github.com/harfbuzz/harfbuzz/issues/4375
2 years ago
Behdad Esfahbod
7d7541e35d
[test-paint] Print paint-color-glyph
2 years ago
Behdad Esfahbod
47231bdc70
[COLR/cairo/ft] Fixups to paint-color-glyph and implement for hb-ft
2 years ago
Behdad Esfahbod
58effbcc4f
.
2 years ago
Behdad Esfahbod
c8f6ae1df7
[subset/hvar/retaingids] Synthesize a DeltaSetIndexMap if needed
...
Before we were emitting the entire VarStore rows if advMap
was Null. Instead, synthesize an advMap.
20% speed up in subset_glyphs/SourceHanSans-VF.otf/retaingids benchmark.
2 years ago
Khaled Hosny
afe0910295
[font] Actually deprecate get_glyph_shape()
...
We previously marked it as deprecated in the documentation but didn’t
actually deprecate it in code. Now the only known users have migrated to
draw_glyph(), lets deprecate o=it for good.
2 years ago
Khaled Hosny
0d354e0442
[layout] Add tests for baseline 2 APIs
2 years ago
Behdad Esfahbod
132391ad62
[layout] Add test for font_extents
2 years ago
Behdad Esfahbod
4a735b30c4
[cff2-subset] Update test
2 years ago
Behdad Esfahbod
474b99d122
[test-paint] Fix build without FreeType
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4103
2 years ago
Behdad Esfahbod
e377888990
[ft-colr] Conditionalize on (unreleased0 FreeType 2.13.0
...
That's the version that the color API is called stable, and
includes changes that we rely on.
2 years ago
Matthias Clasen
8d80d1dd18
[paint] Update expected test results
...
These tests were affected by recent fixes.
2 years ago
Andres Salomon
c622c6b883
[font] update the license url for TestGVAREight.ttf
...
The url in the exif data incorrectly links to a proprietary license. However,
permission was granted for distribution under Apache-2 as part of another project,
so link to that project's license instead.
fixes #4062
2 years ago
Matthias Clasen
eb0a025e49
Add a test for glyph names
...
This verifies that hb_font_get_glyph_name
returns false for nonexisting glyphs.
2 years ago
Matthias Clasen
dd64266ea4
Add a test for glyph extents
...
This verifies a recent fix for COLRv1 returning
0,0,-1,1 for extents of non-painting glyphs.
2 years ago
Khaled Hosny
c08e5d094a
[hb-draw] Fix MSVC warning
...
warning C4305: 'initializing': truncation from 'double' to 'float'
2 years ago
Khaled Hosny
910adc7e92
[test-paint] Update expectations
2 years ago
Behdad Esfahbod
c86bab3fb4
[test-paint] Use G_GNUC_PRINTF
2 years ago
Behdad Esfahbod
f02c4ebb40
[test-paint] Adjust condition for enabling ft backend
2 years ago
Behdad Esfahbod
60a4f2e6f5
[test-paint] Detect FreeType COLRv1 from struct size
2 years ago
Behdad Esfahbod
b783967242
[test] Minor save glyph_count
2 years ago
Matthias Clasen
cca0ed9bcd
test-paint: Add variable font tests
...
These needs freetype master to work.
2 years ago