mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
[vector] Drop hb_vector_{draw,paint}_{set,get}_flat (#5927)
Flat mode disabled glyph reuse / caching to produce inline- everything SVG output. Its main use case was making hb-vector SVGs safe to concatenate side-by-side in a single document, but the recently-added svg_set_prefix API solves that without giving up the cache. No remaining callers in tree (util/vector-output.hh's --flat option goes too). Removes: - hb_vector_draw_set_flat / get_flat - hb_vector_paint_set_flat / get_flat - the `flat` field on both contexts - all `if (flat)` / `bool can_cache = !flat` branches - the --flat option in util/vector-output.hh - the four "flat*" expected files in test/vector/basic - the flat_draw / flat_paint params in the vector fuzzer - sections-list entries meson test --no-rebuild green (241/241). Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
ec63b7d921
commit
ca75fd5ff9
13 files changed
+5
-163
No files matched your search
@@ -1,13 +1,9 @@
|
||||
# font-file;options;unicodes;expected-file
|
||||
../../../api/fonts/Roboto-Regular.abc.ttf;;U+0061,U+0062,U+0063;../expected/basic/default.svg
|
||||
../../../api/fonts/Roboto-Regular.abc.ttf;--flat;U+0061,U+0062,U+0063;../expected/basic/flat.svg
|
||||
../../../api/fonts/Roboto-Regular.abc.ttf;--font-size=upem;U+0061,U+0062,U+0063;../expected/basic/upem-default.svg
|
||||
../../../api/fonts/Roboto-Regular.abc.ttf;--direction=ttb;U+0061,U+0062,U+0063;../expected/basic/ttb.svg
|
||||
../../../api/fonts/Roboto-Regular.abc.ttf;;U+0061,U+000A,U+0062,U+0063;../expected/basic/multiline.svg
|
||||
../../../api/fonts/Roboto-Regular.abc.ttf;--flat --precision=0;U+0061,U+0062,U+0063;../expected/basic/flat-precision-0.svg
|
||||
../../../api/fonts/Roboto-Regular.abc.ttf;--flat --precision=4;U+0061,U+0062,U+0063;../expected/basic/flat-precision-4.svg
|
||||
../../../api/fonts/SourceSansPro-Regular.abc.otf;;U+0061,U+0062,U+0063;../expected/basic/cff1.svg
|
||||
../../../api/fonts/SourceSansPro-Regular.abc.otf;--flat;U+0061,U+0062,U+0063;../expected/basic/flat-cff1.svg
|
||||
../../../api/fonts/Roboto-Variable.abc.ttf;--variations=wght=900;U+0061,U+0062,U+0063;../expected/basic/glyf-var-wght900.svg
|
||||
../../../api/fonts/TestCFF2VF.otf;--variations=wght=900;U+0061,U+0062,U+0063;../expected/basic/cff2-var-wght900.svg
|
||||
../../../api/fonts/AdobeVFPrototype.abc.otf;--variations=wght=900,CNTR=100;U+0061,U+0062,U+0063;../expected/basic/cff2-var-cntr.svg
|
||||
|
||||
Reference in new issue
Block a user