Log

Author Commit Date CI Message
Matthias Clasen eb0f0279 2023-01-09T15:33:34 test-paint: Avoid g_test_skip_printf This is relatively recent api we don't need.
Matthias Clasen e61c2be4 2023-01-09T15:25:29 test-paint: Skip tests if ft COLRv1 is missing
Matthias Clasen 1d662632 2023-01-09T15:01:59 test-paint: More output for failures
Matthias Clasen 64e3f53f 2023-01-09T14:43:33 Merge pull request #4015 from harfbuzz/more-paint-tests Add more paint tests
Matthias Clasen 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.
Behdad Esfahbod 02751514 2023-01-09T12:26:39 [paint] Align deptch/edge count conditions across two backends
Matthias Clasen 5f976d86 2023-01-09T13:42:22 test-paint: Use %.3g for results This produces more readable output.
Matthias Clasen ec78a486 2023-01-09T13:38:19 Run paint tests at upem scale This avoids problems with rouding.
Behdad Esfahbod 839f4b64 2023-01-09T12:01:46 [ft] Fix slanting clip box
Behdad Esfahbod 30adbc22 2023-01-09T11:54:44 hb-font: Fix scale_glyph_extents() again And better fix this time.
Behdad Esfahbod 6c1a4bed 2023-01-09T11:37:39 Better rounding clip boxes
Matthias Clasen 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.
Matthias Clasen 26f713a7 2023-01-09T12:54:06 paint-test: Use larger scales A scale of 20 is noise, so use 1000.
Behdad Esfahbod 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.
Matthias Clasen 347910fd 2023-01-08T20:06:24 Add a draw test This test compares output between ft and ot font funcs.
Behdad Esfahbod f46dcf14 2023-01-08T14:33:54 [paint/COLR] Fix clip transform Sigh. So complicated.
Matthias Clasen 42047070 2023-01-08T16:08:16 test-paint: More helpful output No need to print ASCII chars as hex.
Behdad Esfahbod f283d4d3 2023-01-08T12:42:34 [paint] Try to adjust both renderers to use same clip order
Behdad Esfahbod 3fd6c0d9 2023-01-08T12:30:26 [test-paint] Remove unused FT_Library
Behdad Esfahbod 28be4f88 2023-01-08T12:19:41 [test-paint] Actually run against hb-ft
Matthias Clasen ed7d0234 2023-01-08T11:47:19 test-paint: Limit the precision of clip boxes Update expected test results.
Behdad Esfahbod 5d94eb61 2023-01-08T11:55:13 [hb-cairo] Fix hb_cairo_glyphs_from_buffer() when utf8 missing Fixes https://github.com/harfbuzz/harfbuzz/issues/4016
Matthias Clasen 10390ec5 2023-01-08T09:06:03 Update expected test results
Matthias Clasen 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.
Behdad Esfahbod 5bd6fc1a 2023-01-07T16:32:50 Comment
Behdad Esfahbod 432afa9d 2023-01-07T16:25:30 [paint] Fix paint_extents usage It was broken all this time :(. The two backends do this slightly differently...
Behdad Esfahbod a63d3292 2023-01-07T16:05:24 [paint-extents] Simplify transform_extents
Behdad Esfahbod e062f982 2023-01-07T16:02:21 [paint-extents] Fix transform_extents Ouch!
Behdad Esfahbod 70ca1460 2023-01-07T15:48:57 [chafa] Re-enable truecolor mode See 42bf8e3d49 https://github.com/harfbuzz/harfbuzz/pull/2959#issuecomment-827056111
Behdad Esfahbod 823a9b18 2023-01-07T14:49:02 [cairo] Return COMPOSITE mode CLEAR for unknown values As per the spec.
Matthias Clasen d0aaea23 2023-01-07T16:27:13 Update test results for paint-test These were affected by the PaintComposite optimization.
Behdad Esfahbod 65c3cde5 2023-01-07T14:29:18 [COLRv1] Fix scale variation
Behdad Esfahbod 004cdc10 2023-01-07T14:27:15 [open-type] More tweaks to fixed types Add set_int().
Behdad Esfahbod c8486b63 2023-01-07T14:15:17 [open-type] Add to_int to fixed types To make sure we don't accidentally forget to_float(). As we did recently in COLRv1 code.
Behdad Esfahbod dfd9bf8a 2023-01-07T14:05:02 [COLRv1] Fix a couple of missing to_float() calls Ouch!
Behdad Esfahbod d045de78 2023-01-07T13:55:17 [paint] Optimize PAINT_COMPOSITE At the start of each paint call the current group is clear. So we don't need to start a new group for the backdrop paint. A paint composite really needs one group push, not two.
Behdad Esfahbod 5ea5aacd 2023-01-07T13:24:41 [ft-colr] Adjust for FreeType master color-stop change Part of https://github.com/harfbuzz/harfbuzz/issues/4013
Qunxin Liu 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.
Behdad Esfahbod 30d4a734 2023-01-06T16:00:53 [hb-subset] Adjust help for instancing
Behdad Esfahbod 3bcf153a 2023-01-06T15:51:13 Change library numbering scheme Fixes https://github.com/harfbuzz/harfbuzz/issues/1431
Khaled Hosny 02948263 2023-01-06T22:53:19 [subset] Document that CFF2 instancing is now supported
Behdad Esfahbod aba6cbe8 2023-01-06T13:09:10 [hb-subset] Adjust --help-all formatting Meh.
Behdad Esfahbod 82c863a5 2023-01-06T12:51:58 Whitespace
Behdad Esfahbod 76879c57 2023-01-06T11:47:04 [subset-cff] Minor hide num_coords again
Behdad Esfahbod 576b36a3 2023-01-06T11:40:21 [cff2] Undo rounding change in draw() codepath
Behdad Esfahbod 4867e0b1 2023-01-06T11:39:13 [subset-cff2] Faster instancing Instantiate blends during parsing. Dedups code as well.
Behdad Esfahbod 3757baab 2023-01-06T11:23:37 [subset-cff2] Better condition Previous condition wasn't working for dropping axes.
Behdad Esfahbod acc6c13f 2023-01-06T11:20:41 [subset-cff] Round numbers when instancing
Behdad Esfahbod 2f174f23 2023-01-06T11:11:14 Rename
Behdad Esfahbod a59116cd 2023-01-06T11:09:09 Oops
Behdad Esfahbod c632a164 2023-01-06T11:01:25 [subset/cff] Support instancing
Behdad Esfahbod 5153218b 2023-01-05T16:26:41 [set] Add hb_set_is_inverted()
Behdad Esfahbod e8ac0ef2 2023-01-05T16:20:43 [face] Minor rename a variable
Behdad Esfahbod 14ff7470 2023-01-05T16:19:41 [set] Add tests for inverted set range iteration
Matthias Clasen 381ac2fd 2023-01-05T17:48:09 docs: Fix a typo
Behdad Esfahbod 2764a616 2023-01-05T15:14:54 Revert "[gsubgpos] Use swap instead of move" This reverts commit 8a17cc4ecf21f6754e2d90562d0ced7496870f74.
Behdad Esfahbod 167b7c60 2023-01-05T14:48:20 Revert "[gsubgpos] Reduce hb_set_t allocations" This reverts commit 0b7f6d6cf0e2deba637783ab3880fdfb90ca8ac3. Not much benefit as the main allocations come from other places.
Behdad Esfahbod 3947cedd 2023-01-05T14:47:47 Revert "[gsubgpos] Cache pos_glyphs allocation in closure" This reverts commit 3961cc46bf438947b19063cb7e735247358f1d4f. This was wrong...
Behdad Esfahbod 097fb8b8 2023-01-05T14:38:10 [priority-queue] Use resize instead of shrink To avoid reallocation of smaller array. Not desirable here.
Behdad Esfahbod 8a17cc4e 2023-01-05T14:15:38 [gsubgpos] Use swap instead of move Move is wrong when we want to reuse the object.
Behdad Esfahbod 4401dd24 2023-01-05T14:13:57 [gsubgpos] Minor use ->clear() directly
Behdad Esfahbod 207ae11a 2023-01-05T14:08:47 [set] Allocate first page exact
Behdad Esfahbod 0b7f6d6c 2023-01-05T13:58:57 [gsubgpos] Reduce hb_set_t allocations
Behdad Esfahbod 3961cc46 2023-01-05T13:58:57 [gsubgpos] Cache pos_glyphs allocation in closure Saves some 3% in Gulzar-Regular subsetting.
Behdad Esfahbod a90f149e 2023-01-05T13:52:11 [gsubgpos] Minor drop an allocation
Behdad Esfahbod c54debc7 2023-01-05T11:54:06 [face] Add hb_face_collect_nominal_glyph_mapping Fixes https://github.com/harfbuzz/harfbuzz/issues/3973
Behdad Esfahbod ec70a3f7 2023-01-05T11:52:12 [map] Include
Behdad Esfahbod 8b12c195 2023-01-05T11:42:21 [face] Split hb-face-builder.cc
Behdad Esfahbod b0d9421b 2023-01-05T11:21:46 [docs] Remove reference to 2.x.x Fixes https://github.com/harfbuzz/harfbuzz/issues/4006
Behdad Esfahbod dc7b3a62 2023-01-05T10:49:10 [test-map] Another test
Behdad Esfahbod a8df5cb0 2023-01-05T10:47:31 [test-map] Test keys() / values()
Konstantin Käfer a349eef6 2023-01-05T10:54:21 Disable hb_paint_extents_* functions if HB_NO_PAINT is defined
Behdad Esfahbod 9420966f 2023-01-05T10:17:24 [map] Fix next()
Behdad Esfahbod 35f46e74 2023-01-04T17:12:08 [map] Add hb_map_keys() and hb_map_values()
Behdad Esfahbod 07f2d8d5 2023-01-04T15:42:56 Comment
Behdad Esfahbod 4f607913 2023-01-04T13:58:46 [map] Add hb_map_update()
Behdad Esfahbod c3504585 2023-01-04T13:25:03 [subset-plan] Relax const return type of a few functions Fixes https://github.com/harfbuzz/harfbuzz/issues/4003
Behdad Esfahbod dbf0964a 2023-01-04T13:17:14 [map] Doc
Behdad Esfahbod 0875a420 2023-01-04T13:11:37 [map] Doc
Behdad Esfahbod ffafcf96 2023-01-04T12:55:59 [map] Add hb_map_next()
Behdad Esfahbod 3e471bbc 2023-01-04T11:53:49 [vector] Better test
Behdad Esfahbod 45fc919a 2023-01-04T11:35:44 [bit-set] Minor setting length on allocation failure
Behdad Esfahbod d8509061 2023-01-04T11:33:54 [vector] It's okay if shrinking fails
Behdad Esfahbod 6c272b92 2023-01-03T13:00:41 [set] Don't discard allocation in operator= That had caused memory thrashing. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54789
Behdad Esfahbod e6bbf112 2023-01-03T12:35:48 [buffer] Better document set_content_type Fixes https://github.com/harfbuzz/harfbuzz/issues/4000
Behdad Esfahbod 8f2345ca 2023-01-02T18:08:45 Use more vector resize_exact
Behdad Esfahbod b6be4550 2023-01-02T18:05:43 [vector] Add resize_exact()
Behdad Esfahbod a516ce97 2023-01-02T17:58:51 [subset-cff] Add a few exact-allocation calls
Behdad Esfahbod 4a435dc0 2023-01-02T17:41:31 [subset-cff] Remove an unlikely
Behdad Esfahbod f8c578fd 2023-01-02T17:33:04 [subset-cff] Remove commented-out line
Behdad Esfahbod d5e1748f 2023-01-02T12:26:43 [cff] Simplify add_op()
Behdad Esfahbod 27531d85 2023-01-02T12:05:11 [subset-cff] Move code around
Behdad Esfahbod 9afe5f97 2023-01-02T11:44:29 [vector] Fix leak Discovered by https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54767
Behdad Esfahbod 4f013c42 2023-01-02T10:38:30 [subset-cff] Always compact charstrings Reduces non-preprocessed subsetting memory footprint significantly.
Behdad Esfahbod d3ed6eed 2023-01-01T23:29:35 [cff] Initialize a member variable For good hygiene.
Khaled Hosny 8ccc704c 2023-01-02T18:14:55 [ci/win32] Disable Cairo tests as well
Khaled Hosny 5d81fc0f 2022-03-23T06:07:15 [meson] Update Cairo subproject Update to the latest master to get color fonts working. Disable dwrite on Windows builds as it does not compile and we don’t need it.
Behdad Esfahbod 55a7d817 2023-01-01T23:07:42 [vector] Allocate exact size in operator=
Behdad Esfahbod 449910d4 2023-01-01T19:27:10 [vector] Allocate exact size in constructor
Behdad Esfahbod 4dda1f78 2023-01-01T19:00:04 [cff-subset] Compact charstrings just after parsing Massive peak-memory saving when processing face.