test/api/test-draw.c


Log

Author Commit Date CI Message
Behdad Esfahbod d247c116 2025-03-11T00:11:41 [test-draw] Test all font funcs
Behdad Esfahbod 712a403b 2025-03-08T12:23:41 [font-funcs-using] Apply review feedback
Behdad Esfahbod 2a878b1b 2025-03-07T17:23:17 [font-funcs] Add two new API + hb_font_set_funcs_using() + hb_font_list_funcs() Part of https://github.com/harfbuzz/harfbuzz/issues/5117
Khaled Hosny aecc9110 2025-03-06T03:51:57 [fontations/test] Add to test-draw
Behdad Esfahbod 9456f6bd 2024-06-02T10:32:07 [test] Fix a few compiler warnings
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 3c972867 2022-12-22T11:40:06 More s/hb_font_get_glyph_shape/hb_font_draw_glyph/
Behdad Esfahbod d3308f47 2022-06-27T11:28:44 [font] Optimize font scaling further
Behdad Esfahbod 556e7078 2022-06-26T17:48:43 [font] Optimize glyph scaling
Ebrahim Byagowi 6b75a30a 2022-02-14T01:38:06 [draw/test] Swap a freetype test case with a simpler one As CI failure, apparently the my local freetype and CI one have different result so let's switch the case with a simpler one just to test quadratic command is emitted correctly.
Behdad Esfahbod ae223764 2022-02-13T15:39:14 [test/draw] Typo
Ebrahim Byagowi 0429921c 2022-02-14T00:16:35 [draw/test] Add test for freetype callback Let's have that part of the code also covered.
Ebrahim Byagowi d4588204 2022-02-13T23:49:41 [draw/glyf] Emit empty contours This makes it actually match freetype behaviour even though rasterizer should filter such contours specially for stroking. See https://github.com/harfbuzz/harfbuzz/pull/3411#discussion_r802283827 for the context.
Khaled Hosny 0e357c50 2022-02-11T04:31:13 [draw] Test scaling subfont differently from parent
Khaled Hosny aca80a4a 2022-02-09T22:44:38 [draw] Add test for applying synthetic slant
Khaled Hosny 052fd2d8 2022-02-09T22:10:23 [draw] Add test for hb_draw_move_to() etc
Behdad Esfahbod f1a9a9cc 2022-02-03T14:10:40 [draw-state] Pass state down to callbacks
Behdad Esfahbod 9f05362d 2022-02-03T13:08:32 [test-draw] Fix compiler warning
Behdad Esfahbod 1740916e 2022-02-03T12:50:47 [draw] Remove check for no-op This is unnecessary overhead. Up to rasterizers to handle this. Plus, this throws off point-numbers in uses that rely on it. Disabled one test that broke with this.
Behdad Esfahbod 5610fa1d 2022-02-03T10:29:04 [test-draw] Re-enable two disabled tests
Behdad Esfahbod 8b4f4290 2022-02-03T01:14:47 [draw] Virtualize hb_font_draw_glyph() into hb_font_get_glyph_shape() To be implemented in hb-ft.
Behdad Esfahbod 2bed4f46 2022-02-02T21:42:48 [draw] Fix draw signatures
Behdad Esfahbod 5207ce82 2022-02-02T18:54:10 [draw] Enable draw tests Disable two failing ones.
Behdad Esfahbod 157caf25 2022-02-02T18:46:34 [test-draw] Fix compiler warning
justvanrossum 1551f3d5 2021-02-18T11:57:37 fixing more expected test results
Ebrahim Byagowi 831b0900 2020-06-28T14:31:21 rebase draw test as recent roundf changes
Ebrahim Byagowi 755a77d6 2020-01-29T22:26:04 Move outline draw API behind HB_EXPERIMENTAL_API directive
Ebrahim Byagowi 44169f33 2020-02-29T16:04:03 [draw] Fix invalid rendering of some glyph on Estedad-VF Basically reverts 11f3fca so I can do the same tested and better later Fixes #2215
Ebrahim Byagowi 84163c83 2020-02-26T15:58:11 [draw] Skip commands and paths not contributing anything They aren't contributing to rendering and making issue for stroking, let's skip them ourselves as Skia does also https://skia-review.googlesource.com/c/skia/+/268166 They are useful for extracting extents and so which that functionality won't be effected by this change.
Ebrahim Byagowi 0cf050a7 2020-02-23T23:00:48 [draw] Merge consequent move-to commands of CFF/CFF2
Ebrahim Byagowi 86bd5a0b 2020-02-23T22:46:26 [draw] End CFF paths with a line-to Issue a line-to command when start and end point of a path isn't same, matches freetype also.
Ebrahim Byagowi 60f8f384 2020-02-17T10:11:49 [glyf] Switch to ttf-parser's glyf to path algorithm It consumes each point at a time and doesn't need to know contour size before hand
Ebrahim Byagowi b4d3bf1d 2020-02-02T14:32:38 [draw] Add hb_draw_funcs_is_immutable and hb_draw_funcs_make_immutable
Ebrahim Byagowi 63b8190d 2020-02-06T11:38:11 [test] minor Remained from previous naming.
Ebrahim Byagowi 3a98c7fa 2020-02-06T01:11:00 [glyf] Skip empty contours As https://savannah.nongnu.org/bugs/index.php?57701
Ebrahim Byagowi d106900b 2020-01-28T15:26:13 [draw][glyf] Implement quadratic to cubic call translation
Ebrahim Byagowi 74fdcdca 2020-01-28T13:45:22 [draw] Rename conic_to to quadratic_to
Ebrahim Byagowi ac81e940 2020-01-28T12:34:47 Rename hb_outline_decompose to hb_font_draw_glyph and hb_outline_decompose_funcs_t to hb_draw_funcs_t