|
0d354e04
|
2023-05-21T19:01:04
|
|
[layout] Add tests for baseline 2 APIs
|
|
132391ad
|
2023-05-19T15:01:49
|
|
[layout] Add test for font_extents
|
|
4a735b30
|
2023-02-19T19:51:03
|
|
[cff2-subset] Update test
|
|
474b99d1
|
2023-02-04T10:16:11
|
|
[test-paint] Fix build without FreeType
Fixes https://github.com/harfbuzz/harfbuzz/issues/4103
|
|
e3778889
|
2023-01-26T13:26:47
|
|
[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.
|
|
8d80d1dd
|
2023-01-25T19:06:51
|
|
[paint] Update expected test results
These tests were affected by recent fixes.
|
|
c622c6b8
|
2023-01-24T23:52:10
|
|
[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
|
|
eb0a025e
|
2023-01-24T20:40:32
|
|
Add a test for glyph names
This verifies that hb_font_get_glyph_name
returns false for nonexisting glyphs.
|
|
dd64266e
|
2023-01-24T19:26:20
|
|
Add a test for glyph extents
This verifies a recent fix for COLRv1 returning
0,0,-1,1 for extents of non-painting glyphs.
|
|
c08e5d09
|
2023-01-21T03:40:09
|
|
[hb-draw] Fix MSVC warning
warning C4305: 'initializing': truncation from 'double' to 'float'
|
|
910adc7e
|
2023-01-17T14:23:46
|
|
[test-paint] Update expectations
|
|
c86bab3f
|
2023-01-17T06:29:17
|
|
[test-paint] Use G_GNUC_PRINTF
|
|
f02c4ebb
|
2023-01-16T14:17:16
|
|
[test-paint] Adjust condition for enabling ft backend
|
|
60a4f2e6
|
2023-01-12T19:12:46
|
|
[test-paint] Detect FreeType COLRv1 from struct size
|
|
b7839672
|
2023-01-12T18:58:07
|
|
[test] Minor save glyph_count
|
|
cca0ed9b
|
2023-01-11T06:44:25
|
|
test-paint: Add variable font tests
These needs freetype master to work.
|
|
1cb5a87f
|
2023-01-10T22:13:44
|
|
test-pain: Print out extend for color lines
Update all expected results to include this value.
|
|
6648e6e3
|
2023-01-10T22:07:44
|
|
Add one more paint test
Add a test for the clip_box_top_left_glyph,
since we've seen broken rendering with it.
|
|
8460909e
|
2023-01-10T17:43:10
|
|
[build] Fix make dist
|
|
0f01a836
|
2023-01-10T01:09:44
|
|
[subset] add basic test for CFF2 subsetting.
FontTools does not yet support CFF2 subsetting so we can't add a comparison test. Instead add a golden file test.
|
|
b2087132
|
2023-01-09T16:30:25
|
|
test-paint: Fix use of g_test_skip
|
|
eb0f0279
|
2023-01-09T15:33:34
|
|
test-paint: Avoid g_test_skip_printf
This is relatively recent api we don't need.
|
|
e61c2be4
|
2023-01-09T15:25:29
|
|
test-paint: Skip tests if ft COLRv1 is missing
|
|
1d662632
|
2023-01-09T15:01:59
|
|
test-paint: More output for failures
|
|
d0108d31
|
2023-01-08T11:20:21
|
|
Add more paint tests
These tests compare the output of the ft and ot
implementations for all the glyphs in the test_glyphs
font.
|
|
5f976d86
|
2023-01-09T13:42:22
|
|
test-paint: Use %.3g for results
This produces more readable output.
|
|
ec78a486
|
2023-01-09T13:38:19
|
|
Run paint tests at upem scale
This avoids problems with rouding.
|
|
a085efa6
|
2023-01-09T13:11:16
|
|
test-paint: Fix font setup for ft
We must call hb_ft_font_set_funcs after
setting the font scale.
|
|
26f713a7
|
2023-01-09T12:54:06
|
|
paint-test: Use larger scales
A scale of 20 is noise, so use 1000.
|
|
e886b6b8
|
2023-01-09T10:26:01
|
|
[test-draw] Use a larger scale
A scale of 20 is in the noise category for us. Using a larger
scale makes the test pass.
|
|
347910fd
|
2023-01-08T20:06:24
|
|
Add a draw test
This test compares output between ft and ot
font funcs.
|
|
42047070
|
2023-01-08T16:08:16
|
|
test-paint: More helpful output
No need to print ASCII chars as hex.
|
|
3fd6c0d9
|
2023-01-08T12:30:26
|
|
[test-paint] Remove unused FT_Library
|
|
28be4f88
|
2023-01-08T12:19:41
|
|
[test-paint] Actually run against hb-ft
|
|
ed7d0234
|
2023-01-08T11:47:19
|
|
test-paint: Limit the precision of clip boxes
Update expected test results.
|
|
10390ec5
|
2023-01-08T09:06:03
|
|
Update expected test results
|
|
f3ce1374
|
2023-01-08T09:01:31
|
|
test-paint: Be more flexible for expected results
When generating the expected output with GENERATE_DATA=1,
Glib's test framework puts out some comments at the top
of the file. Ignore them when comparing the expected
output. This makes it possible to directly use the output
of
GENERATE_DATA=1 ./test-paint -p TESTCASE
as expected result for TESTCASE.
|
|
d0aaea23
|
2023-01-07T16:27:13
|
|
Update test results for paint-test
These were affected by the PaintComposite optimization.
|
|
1eb5445e
|
2023-01-06T15:19:16
|
|
[subset] Fix issue in hb_subset_input_override_name_table()
If a nameRecord with provided name_id/platform_id/encoding_id/lang_id
is not retained after subsetting, create it and insert it to
the name table. So we need to check against retained name_records
rather than name_record in the original name table.
|
|
c54debc7
|
2023-01-05T11:54:06
|
|
[face] Add hb_face_collect_nominal_glyph_mapping
Fixes https://github.com/harfbuzz/harfbuzz/issues/3973
|
|
9f3b59fe
|
2022-12-31T16:19:20
|
|
Update expected test results
These need updates, because they record
every callback, and we've changed what
callbacks are happening.
|
|
313f74a6
|
2022-06-29T07:32:58
|
|
Add a basic test for hb-coretext api
This tests what would be my minimum assumption
about this api. It was written blindly.
|
|
661baf40
|
2022-06-29T07:31:46
|
|
Add a basic test for hb-ft api
This tests what would be my minimum assumption
about this api.
|
|
2a515679
|
2022-12-26T16:50:32
|
|
[paint] Add a test for recursion
|
|
1eb4d002
|
2022-12-26T12:56:33
|
|
Try to fix the build with msvc
|
|
00e93102
|
2022-12-26T08:31:22
|
|
Add a test for hb_ot_color_glyph_has_paint
|
|
e7b0947a
|
2022-12-26T08:24:39
|
|
Add a test for hb_ot_color_has_paint
|
|
a7a93b85
|
2022-12-24T14:05:12
|
|
Drop accidentally added ttx files
|
|
6ccbfabd
|
2022-12-24T10:44:25
|
|
[paint] Return bool from paint_image()
Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
|
|
d00e97f1
|
2022-12-24T06:58:44
|
|
Add test-paint to the autotools build
|
|
3478728e
|
2022-12-24T08:51:23
|
|
Fix test-paint build without freetype
|
|
9b9d7c7b
|
2022-12-24T05:34:47
|
|
Plug a memory lek in paint tests
|
|
f9c865a8
|
2022-12-23T20:20:33
|
|
Update test results
These were changed by the introduction of
clip boxes.
|
|
55b7af6b
|
2022-12-23T18:01:45
|
|
Tweak paint-tests
|
|
44b48845
|
2022-12-23T16:26:05
|
|
Add tests for hb_color_line_t
Test a few things that were broken with the
ft implementation before.
|
|
a4a86c0e
|
2022-12-23T13:52:22
|
|
[test-paint] g_test_message
|
|
dcab5679
|
2022-12-23T13:47:37
|
|
[test-paint] Don't use g_test_fail_print() for older glib
|
|
8e197f50
|
2022-12-23T15:31:16
|
|
Add missing paint test results
|
|
3b021c55
|
2022-12-23T14:30:29
|
|
Run paint tests with ft font funcs
|
|
ca190aab
|
2022-12-23T14:03:03
|
|
Split off the hb-paint tests
They belong in their own file.
|
|
ee7bbdf3
|
2022-12-23T00:01:20
|
|
tests: Update expected results
These were changed by fixes for glyph transforms.
|
|
3993a407
|
2022-12-22T23:55:27
|
|
test: Add some verification hints
|
|
47dbebff
|
2022-12-22T16:06:51
|
|
[paint] Add COLRv0 tests
|
|
3c972867
|
2022-12-22T11:40:06
|
|
More s/hb_font_get_glyph_shape/hb_font_draw_glyph/
|
|
c2219339
|
2022-12-21T18:39:27
|
|
[paint] Preserve foreground information
|
|
6387004c
|
2022-12-21T16:43:19
|
|
[paint] Simplify api
Drop the hb_paint_context_t struct from the API, and
only pass the font where we need it.
|
|
71bd5a0d
|
2022-12-21T16:18:46
|
|
[paint] Resolve colors
We don't need to pass the index/alpha pairs to
client callbacks, and can just resolve the colors
internally.
Update test results.
|
|
9be01b6b
|
2022-12-21T14:04:32
|
|
[paint] Pass hb_paint_context_t along
Replace the font argument with a hb_paint_context_t
that carries the font, the palette index and the
foreground color.
The hb_font_paint_glyph() api now takes the palette
index and the foreground color as extra arguments.
Update all callers and regenerate test results.
|
|
97224f3b
|
2022-12-21T02:11:36
|
|
[paint] Pass font to all callbacks
This will lead to easier implementations.
At the same time, we change the push_clip_glyph
callback to use the font as-is, no unscaling needed.
Update all callers and expected test results.
|
|
b0fa40b2
|
2022-12-19T13:16:10
|
|
tests: More diagnostics
|
|
290bb338
|
2022-12-19T02:39:14
|
|
Dist test result files
|
|
74ccc1e7
|
2022-12-19T00:49:02
|
|
tests: Produce useful output on failure
|
|
08429110
|
2022-12-19T01:08:41
|
|
Tests: Fix memleak pointed out by valgrind
|
|
d8cb7cee
|
2022-12-18T14:35:36
|
|
[test] Try fixing bots with old glib
|
|
2d4678b6
|
2022-12-17T22:30:31
|
|
Add a comment
|
|
30a6fd04
|
2022-12-17T18:20:00
|
|
[colr] Add some tests
|
|
8eadb836
|
2022-11-10T10:33:26
|
|
[subset] Update hb_subset_input_override_name_table API
Override the name string for the NameRecord identified by name_id,
platform_id, encoding_id and language_ids specified by the user.
If a record with specified name_id does not exist, this API will create
a new NameRecord with provided info and insert it to the name table.
|
|
527823cc
|
2022-11-19T15:19:08
|
|
[unicode] Destroy user_data in set_funcs fail paths
This is what the font_funcs / draw_funcs do.
|
|
6314aa7d
|
2022-10-28T10:44:48
|
|
[subset] add an experimental API that can override name strings for specified name_id
|
|
ade87e15
|
2022-08-27T18:34:28
|
|
[Unicode 15] Add tests
|
|
4ab7e579
|
2022-08-12T12:17:37
|
|
Make HB_BORING_EXPANSION opt-in instead of opt-out
Fixes https://github.com/harfbuzz/harfbuzz/issues/3757
|
|
f3aff45e
|
2022-07-29T21:33:11
|
|
[repacker] Update call to hb_subset_repack_or_fail in tests.
|
|
1945b400
|
2022-07-25T10:45:55
|
|
[cpluscplus] Wrap hb-subset types as well
Also changes signature of get_user_data of hb.h types to take const
object. This is safe.
|
|
32e542d6
|
2022-06-29T06:45:38
|
|
try & fix build errors on the bot
|
|
03d23767
|
2022-06-29T06:21:31
|
|
[math] Improve fuzzing coverage
Extend testing to cover parts that are missing according to the recent
oss-fuzz-coverage report:
- Retriving all constants from MathConstants.
- Retrieving entries from MathKern, MathGlyphPartRecord and
MathGlyphAssembly.
- Retrieving italic correction from MathGlyphAssembly.
- Choosing between horizontal/vertical offset in MathVariants.
https://storage.googleapis.com/oss-fuzz-coverage/harfbuzz/reports/20220627/linux/src/harfbuzz/src/hb-ot-math-table.hh.html
https://github.com/harfbuzz/harfbuzz/issues/3688
|
|
d3308f47
|
2022-06-27T11:28:44
|
|
[font] Optimize font scaling further
|
|
556e7078
|
2022-06-26T17:48:43
|
|
[font] Optimize glyph scaling
|
|
af74ab45
|
2022-06-16T18:12:09
|
|
[repack] always run the sort in repack.
This is needed to ensure virtual link ordering constraints are respected when repack is being called from fontTools. For subset usage, repack won't be called if the graph doesn't already overflow so this change doesn't cause any extra work.
|
|
b39b5f2f
|
2022-06-03T04:10:28
|
|
[name] Implement approximate language matching
Very rudimentary.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3354
|
|
7aacdd05
|
2022-06-03T02:10:06
|
|
[cplusplus] Test hashing shared_ptr / unique_ptr
|
|
d7785a6d
|
2022-06-02T12:42:24
|
|
[cplusplus] Add unique_ptr
|
|
e0f3cab2
|
2022-06-01T11:51:43
|
|
[cplusplus] Add hb-cplusplus.hh
Fixes https://github.com/harfbuzz/harfbuzz/issues/2152
|
|
3472f73b
|
2022-05-25T21:49:12
|
|
[subset] also include no subset tables when guessing which tables are present.
|
|
9564d987
|
2022-05-25T21:16:37
|
|
[subset] fix subsetting of faces created via hb_face_create_for_tables.
Fixes #3609.
|
|
4e11da05
|
2022-05-20T01:42:34
|
|
[repacker] update repacker test golden file.
Changed due to removal of Kahn sorting.
|
|
25393288
|
2022-05-19T17:19:21
|
|
[test] Fix compiler warning
|
|
01829882
|
2022-03-25T08:36:44
|
|
[set] Add call to export set contents to an array. (#3500)
[set] Add hb_set_next_many.
|
|
36b8f974
|
2022-03-21T21:50:04
|
|
Update tests for recent changes
|
|
ef588ea9
|
2022-03-21T13:29:22
|
|
Add option to insert a sorted arrays of values to sets.
|
|
a35757c6
|
2022-02-02T10:30:34
|
|
[repacker] expose hb_subset_repack() API, hb_object_t and hb_link_t structs
|