|
c98773eb
|
2021-08-11T20:22:03
|
|
[util/hb-subset] Move output-file validation code into post_parse
|
|
58bfe407
|
2021-08-11T19:48:28
|
|
[util] Move hb-subset away from main-font-text
|
|
3147e081
|
2021-08-11T19:33:00
|
|
Merge branch 'main' into post-parse
|
|
43722cc9
|
2021-08-12T02:32:29
|
|
[test] Add some real reverse sub tests
|
|
ba418cfc
|
2021-08-11T19:29:07
|
|
[util] Use automatic casts
|
|
97a9e4e4
|
2021-08-11T19:28:16
|
|
[util] Separate shape_text_options_t from text_options_t
|
|
6ba7ddaf
|
2021-08-11T19:06:57
|
|
[util] Move text-file opening to post_parse
|
|
23298bc8
|
2021-08-11T18:58:25
|
|
[util] Remove unnecessary check
|
|
fd0778aa
|
2021-08-11T18:54:46
|
|
[util] Use post_parse in output_options_t
|
|
24a9d8c7
|
2021-08-11T18:47:06
|
|
[util] Use post_parse in font_options_t
|
|
e0d7060f
|
2021-08-11T18:43:21
|
|
[test] Rename shaping/ to shape/
|
|
e4b33d9d
|
2021-08-11T18:35:11
|
|
[util] Use post_parse in face_options_t
|
|
c0ea4e2d
|
2021-08-11T18:30:08
|
|
[util] Use post_parse to validate
|
|
f1226988
|
2021-08-12T01:47:35
|
|
[test] Improve generate-expected-outputs.py diff output
|
|
9468e469
|
2021-08-11T16:46:04
|
|
[util] Rename main_font_text back to main_font_text_t
|
|
6ac6a2b2
|
2021-08-12T00:04:32
|
|
[test] hb_ot_layout_language_get_feature_tags()
|
|
e9b743b2
|
2021-08-11T23:51:12
|
|
[test] hb_ot_layout_script_get_language_tags()
|
|
bf438b81
|
2021-08-11T23:23:51
|
|
[test] hb_ot_layout_table_get_feature_tags()
|
|
2f88ea5a
|
2021-08-11T23:12:00
|
|
[test] hb_ot_layout_table_find_script()
|
|
f60caad7
|
2021-08-11T22:54:30
|
|
[test] hb_ot_layout_table_get_script_tags()
|
|
7e4fcf1b
|
2021-08-11T12:12:49
|
|
[util] Rename add_main_options
|
|
62fb1021
|
2021-08-11T12:03:07
|
|
[util] Move add_main_options() invocation
|
|
9d8bbe3e
|
2021-08-11T11:53:32
|
|
[util] Make main_font_text a struct again
Going to move to G_OPTION_REMAINING.
|
|
5bd463f1
|
2021-08-10T14:26:48
|
|
[util/hb-subset] Access input directly
|
|
6905f6fa
|
2021-08-10T14:24:24
|
|
[util/hb-subset] Use templated function to parse flags directly
|
|
3e3e1801
|
2021-08-10T13:59:46
|
|
[util] Small tweaks in --help output
|
|
c08f1b89
|
2021-08-10T12:29:32
|
|
[map] fix incorrect population count in hash map.
If the same key was set twice the population was being incorrectly incremented.
|
|
e39c3bde
|
2021-08-10T11:41:55
|
|
[subset] fix bug in parsing glyf flags.
the bytes of the flag stream were being treated as signed integers instead of unsigned as specified in the spec.
|
|
f5a8f747
|
2021-08-10T11:21:08
|
|
Merge pull request #3132 from harfbuzz/semicolon
Use semicolon in shaping test suite
|
|
f3acb977
|
2021-08-10T11:05:40
|
|
[test/shaping;util] Use ';' instead of ':' to separate test fields
Accept that in --batch mode. Also in batch mode don't send the 0th arg.
Related discussion: https://github.com/harfbuzz/harfbuzz/pull/3102
|
|
b83fd3a5
|
2021-08-10T02:21:05
|
|
[util] Refactor batch-processing code into batch.hh
|
|
d92ee726
|
2021-08-09T19:08:34
|
|
[util/hb-shape] Treat as single-paragraph text other than provided by a file
Fixes https://github.com/harfbuzz/harfbuzz/issues/3129
|
|
8940409e
|
2021-08-09T13:21:07
|
|
Merge pull request #3121 from harfbuzz/subset-args
Fix up `hb-subset --help-all`
|
|
f5ba1fab
|
2021-08-07T16:05:51
|
|
Fix documentation of hb_subset_flags_t defaults
HB_SUBSET_FLAGS_DEFAULT is 0, and hb_subset_input_create_or_fail
initializes its flags to HB_SUBSET_FLAGS_DEFAULT, so currently all flags
are set to false by default. It has been decided that future flags will
also be false by default for simplicity (using NO_ in the name if
needed). Correct and simplify the documentation for hb_subset_flags_t to
reflect this.
|
|
7d2e9164
|
2021-08-07T13:38:19
|
|
[util] Move text options into text_options_t
Remove now empty options.cc.
|
|
93bc62e9
|
2021-08-07T13:13:58
|
|
[util] Move output options into output-options.hh
|
|
af9d2495
|
2021-08-07T12:29:52
|
|
[util] Use inheritance for output_options_t
|
|
9db0fd48
|
2021-08-07T12:22:17
|
|
[util] Don't show --output-format if no supported formats provided
|
|
5545eea7
|
2021-08-07T11:04:46
|
|
[util] Remove main_font_text_t class, use bare function
|
|
58c22335
|
2021-08-06T23:45:59
|
|
[util] Move face/font options into face/font-options.hh
|
|
6edd50ae
|
2021-08-06T23:36:45
|
|
[util] Move option_parser_t code into options.hh
|
|
798bb89c
|
2021-08-06T23:29:29
|
|
[util] Move shape format options into shape-format.hh
|
|
c3599fde
|
2021-08-06T23:24:28
|
|
[util] Move shape options into shape-options.hh
|
|
cfb2d6ad
|
2021-08-06T23:14:30
|
|
[util] Move view options into view-options.hh
|
|
167f58a2
|
2021-08-06T23:03:30
|
|
[util] Move subset options into subset-options.hh
|
|
370e961f
|
2021-08-06T22:59:50
|
|
[util/hb-subset] Use hb-subset.h public API instead of poking inside
Oops.
|
|
4e97678e
|
2021-08-06T22:53:44
|
|
[util] Use inheritence to embed inherent options of objects
|
|
06d66180
|
2021-08-06T19:20:47
|
|
[util] Fix compiler error
../util/options.cc:588:3: error: narrowing conversion of ‘font_size_flags’ from ‘unsigned int’ to ‘gint {aka int}’ inside { } [-Werror=narrowing]
|
|
c5337c43
|
2021-08-06T19:19:50
|
|
[util] Fold helper-cairo.cc into helper-cairo.hh
|
|
09e4d7dd
|
2021-08-05T11:21:20
|
|
[util] Simplify output_options_t
|
|
e109f9a6
|
2021-08-05T11:05:51
|
|
[util] Collect cmdline arg options outside of constructor
|
|
e57dd668
|
2021-08-05T10:33:31
|
|
[util] Initialize struct members inline
|
|
21f1054d
|
2021-08-04T20:23:48
|
|
[util/hb-subset] Keep face around instead of font
|
|
c329ce10
|
2021-08-06T19:13:21
|
|
[util] Also hide ppem settings in hb-ot-shape-closure
Leaving ptem, as that can in theory change shape closure if we apply it
to optical-size axis (we currently don't).
|
|
c40e0079
|
2021-08-06T19:04:27
|
|
[util] Fold helper-cairo-ansi.cc into helper-cairo-ansi.hh
|
|
4fe43ccb
|
2021-08-06T19:00:45
|
|
[util] Fold ansi-print.cc into ansi-print.hh
|
|
b1db0e4a
|
2021-08-06T18:55:40
|
|
[util] Fold view-cairo.cc into view-cairo.hh
|
|
6500f68f
|
2021-08-06T18:46:31
|
|
[util] Change hb-subset to use face_options_t instead of font_options_t
|
|
869e20e0
|
2021-08-06T18:09:31
|
|
[util] separate face options from font options
|
|
b3a2f2bf
|
2021-08-05T14:03:48
|
|
[util/main-font-text] Simplify
|
|
71440dbd
|
2021-08-05T13:48:59
|
|
[util] Move font-size and upem to be extern variables
|
|
fc0339ee
|
2021-08-05T13:35:46
|
|
[util] Simplify shape-consumer by removing buffer arg
|
|
e014c6fa
|
2021-08-05T13:24:59
|
|
[util/main-font-text] Move eol from template arg to main() arg
|
|
463411a1
|
2021-08-05T11:44:35
|
|
[util] Remove unused option_group_t
|
|
8588173e
|
2021-08-05T11:43:25
|
|
[util] Rework post_parse() handling
|
|
3362b48f
|
2021-08-05T11:30:39
|
|
[util] Templatize add_group logic
|
|
fe90fbeb
|
2021-08-05T11:22:20
|
|
[util] Remove unused pre_parse callback logic
|
|
8c0c217b
|
2021-08-06T10:45:38
|
|
[subset] fail reference blob in face builder if allocation for table sorting fails.
Fixes https://oss-fuzz.com/testcase-detail/5041767803125760
|
|
e5bfd49a
|
2021-08-05T14:03:25
|
|
[subset] don't allow table adds for tag == -1.
|
|
222b74f0
|
2021-08-05T11:39:26
|
|
[subset] don't leak memory for duplicate tables.
|
|
f7a9c3ea
|
2021-08-05T13:05:07
|
|
[open-file] Use hb_is_source_of instead of hb_is_iterator
|
|
fa90cb8a
|
2021-08-05T12:31:06
|
|
Whitespace again
|
|
a110a47e
|
2021-08-05T12:28:39
|
|
Whitespace
|
|
2cb8c928
|
2021-08-05T12:27:22
|
|
[face] Let hashmap derive invalid key/value types
Works now with the previous two fixes.
|
|
95c888e1
|
2021-08-05T12:27:02
|
|
[meta] Define hb_int_min for pointer types as nullptr
|
|
407a112e
|
2021-08-05T12:23:53
|
|
[meta] Make hb_is_signed/hb_is_unsigned work on all types
They were failing if type was non-scalar, eg. pointer.
|
|
baf2166a
|
2021-08-05T12:07:25
|
|
[meta] Use hb_true_type/hb_false_type more
|
|
74ad5ddc
|
2021-08-05T11:51:54
|
|
[face] Minor cleaning of previous commit
|
|
c2ee1fdd
|
2021-08-04T16:42:49
|
|
[subset] remove unsed table_entry struct.
|
|
dea0fe57
|
2021-08-04T16:36:20
|
|
[subset] discard extra copies of a table in face builder.
Fixes #2361. Stores tables in the builder in a hashmap so you end up with at most one copy of each table. Table serialization order is now based on tag sort order instead of order of insertion into the builder.
|
|
368e9578
|
2021-08-05T10:16:13
|
|
[ot-shape] Add comment re `vert` feature
|
|
2c024dc3
|
2021-08-04T11:38:38
|
|
[subset] prune redundant cmap12 subtables.
If the post subset cmap12 table is equivalent to another cmap subtable don't include the 12 table in the final subset. Matches change https://github.com/fonttools/fonttools/pull/2146 from fontTools.
|
|
84946e4d
|
2021-08-05T00:05:26
|
|
[test] Suggest updating the expectation if ttx matches
https://github.com/harfbuzz/harfbuzz/issues/3089#issuecomment-892208892
|
|
09c3b82f
|
2021-07-29T17:49:10
|
|
[buffer] When shifting forward, leave no gap
Trying to see if this fixes the fuzzer issue:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36236
|
|
5086e105
|
2021-07-29T17:03:55
|
|
[test] Add failing fuzzer test case
From https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36236
https://oss-fuzz.com/testcase-detail/5061207689134080
|
|
a150baf3
|
2021-08-04T11:53:27
|
|
[ot-map] Allocate top mask bit as global bit
Avoids undefined-shift of 32 in the following line:
map->mask = (1u << (next_bit + bits_needed)) - (1u << next_bit)
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=1219263
|
|
f698fe5a
|
2021-08-04T12:08:18
|
|
[test] Always fail subset tests if hashes don’t match
Regardless of the pre sentience or absence of fonttools.
|
|
e80c86ff
|
2021-08-04T10:24:14
|
|
[coretext] Fix formatting
|
|
db6fbe29
|
2021-08-03T10:13:17
|
|
[util/hb-subset] Use driver_t<> in outer block as well
https://github.com/harfbuzz/harfbuzz/commit/a363ce573c3aa706de3aecf0515519a5d7842af2#r54282223
|
|
66aef281
|
2021-08-04T13:34:52
|
|
Support passing variations to coretext shaper
|
|
f25daa47
|
2021-08-04T00:06:32
|
|
Merge pull request #3110 from harfbuzz/subset-tests-fast
[test] Make subset tests fast
|
|
9f544e50
|
2021-08-04T04:20:14
|
|
[test] Don’t skip subset tests early
Check for FontTools only when the checksums are mismatching.
|
|
b0841533
|
2021-08-04T04:12:31
|
|
[test] Remove subset tests from the slow suite
|
|
7ccc52b0
|
2021-08-04T03:57:18
|
|
[test] Compare sha256 hash before TTX dumps
Most of time the files are identical, so instead of comparing the TTX
dump we can check sha256 hashes of the files first and if they match, we
don’t have to check the TTX dumps at all, making the subset tests orders
of magnitude faster.
time meson test --suite=subset down from:
real 0m19.418s
user 0m38.171s
sys 0m3.587s
to:
real 0m3.102s
user 0m8.622s
sys 0m1.701s
The expected files have been replaced by hb-subset output so they are
bit-identical where FontTools output might not.
The generate-expected-outputs.py now compares the hb-subset output with
fontttols subset and errors of they don’t match.
|
|
770fbd5a
|
2021-08-04T00:07:23
|
|
Revert "[test] Speed-up subset tests by saving TTX dump"
This reverts commit 278f44dcee34cea25403e42e06668f0afe2328c1.
|
|
62a535f1
|
2021-08-03T10:11:27
|
|
[khmer] Fix comment
Fixes https://github.com/harfbuzz/harfbuzz/issues/3104
|
|
2cc9ed2b
|
2021-08-02T22:00:11
|
|
[test] More lookup_collect_glyphs() tests
|
|
06640374
|
2021-08-02T19:52:59
|
|
[test] More lookup_collect_glyphs() tests
|
|
ecdd8e3f
|
2021-08-02T19:36:20
|
|
[test] More lookup_collect_glyphs() tests
|
|
f998d7e1
|
2021-08-02T16:10:13
|
|
[test] Add API test for lookup_collect_glyphs()
We don’t seem to have any tests exercising this API at all, and it is a
good check of GSUB/GPOS code.
|