Behdad Esfahbod
78f11ed726
Update test results for previous commit
2026-02-16 16:20:33 -03:00
Behdad Esfahbod and Claude Sonnet 4.5
49c1678b75
[test] Update draw tests after removing --quiet option
...
- Remove tests for --quiet/-q option
- Change --ned to --flat in remaining tests
- Remove expected output files for quiet tests
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-14 18:28:48 -03:00
Behdad Esfahbod and Claude Opus 4.6
1c32b69fe3
[hb-draw] Fix color font scaling by creating upem_font from face directly
...
Creating upem_font as a sub-font of the main font (which has scale =
upem * 64 due to subpixel bits) caused the paint API to emit spurious
parent→child scale transforms. With precision=2 rounding, 1/64 rounds
to 0.02 and 0.02*64 = 1.28, destroying the mathematical cancellation
and making color glyphs ~1.6x too large.
Fix by creating upem_font directly from the face, eliminating the
parent-child relationship. Update expected test outputs accordingly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
fe9a8de890
[hb-svg-compare] Try normalize paths to drop degenerate lineto's
...
Such that we can compare to both FreeType and Fontations.
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
77d3ed5e75
[hb-draw] Use 6 bits of subpixel
...
Helps hb-ft since that doesn't work in floats all through.
Other backends should be unaffected.
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
fe58d1bd0d
[hb-draw-compare] Fix sorting
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
8a5e9536e3
[hb-draw-compare] Simplify sharding; remove non-sharded path
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
abb15ee099
[hb-draw-compare] Implement multiprocessing for hb-svg-compare stage
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
aff053af24
[hb-draw-compare] Switch from hb-view to hb-draw
...
MASSIVE speedup!
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
431502033b
[draw/run-tests.py] Use batching
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
8121167f69
[draw/run-tests] Simplify
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
2caa4c22a5
[draw] Change conditional tests
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
e6346b63bf
[draw] Add VARC tests
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
7bbc027e11
[test/draw] Add more tests / change naming
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
529043f033
[hb-draw] More tests
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
69a4f5f501
[hb-draw] Change subpixel bits to 0
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
008402dccf
[hb-draw] Default to upem font size
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
0fd8261638
[test/draw] Change directory structure a bit
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
f035a1df87
[test/draw] Switch tests to U+XXXX notation instead of text
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
e91036cf0b
[hb-draw-compare] Remove unused stuff
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
e5c227b49b
[test] Restructure record-test.sh's a bit
...
Haven't reviewed, AI code.
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
a4381db671
[test] Add draw/record-test.sh
...
Haven't reviewed. AI code.
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
32a8fd62e8
Move hb-draw-compare and hb-svg-compare to test/draw
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
8150eed010
[test] Start of a draw test suite
2026-02-12 15:26:19 -07:00
Behdad Esfahbod
0eeb6ccb42
[perf] Bikeshedding
2025-03-21 17:36:43 -06:00
Behdad Esfahbod
c867bc976a
[test] Minor, adjust usage
2025-03-21 00:59:35 -06:00
Behdad Esfahbod
6a82561f00
[hb-draw-all] Error handling
2025-03-20 23:21:28 -06:00
Behdad Esfahbod
be90974de8
[test/draw] Add meson.build
2025-03-20 19:12:29 -06:00
Behdad Esfahbod
1d25de8316
[test] Add draw/hb-draw-all
2025-03-20 19:11:26 -06:00