|
720ab088
|
2021-11-25T11:49:16
|
|
[util] Add --single-par
Use it in aots tests
Fixes https://github.com/harfbuzz/harfbuzz/issues/3129
Related https://github.com/harfbuzz/harfbuzz/issues/3298
|
|
b58afe58
|
2021-11-25T11:34:24
|
|
[util] Undo treat as single-paragraph text provided on cmdline
Reverts d92ee726ce3b2fc2c249407d977433f0badcc918
except that it does so even in batch mode.
Am going to add a --single-par mode that will affect all input
modes.
Part of https://github.com/harfbuzz/harfbuzz/issues/3129
Fixes https://github.com/harfbuzz/harfbuzz/issues/3298
|
|
da500568
|
2021-10-26T08:02:29
|
|
[API] Add hb_buffer_[sg]et_not_found_glyph() and --not-found-glyph
Instead of using gid=0 when a character is not found in the font,
client can now set a custom value. This is useful for shaper-driven
font fallback and to differentiate that from .notdef glyph.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1360
|
|
d700646c
|
2021-09-16T11:23:09
|
|
[subset] In preperation for 3.0.0 release remove legacy subsetting api methods.
|
|
cd77846b
|
2021-09-14T08:35:19
|
|
[util] Fix leak of an hb_font_t
|
|
da285d51
|
2021-09-14T08:28:12
|
|
[util/shape-consumer] Simplify font tracking
|
|
838d6707
|
2021-09-08T15:12:52
|
|
[subset] Improve alignment of --help-all message
|
|
04cf6212
|
2021-08-30T18:35:08
|
|
[util/hb-subset] Fix --version and --help again
https://github.com/harfbuzz/harfbuzz/commit/38ad093216d8204df2dce18a112ee43964031357
|
|
fdce2941
|
2021-08-29T09:44:52
|
|
[util/hb-subset] Print error and suggest filing github issue if operation fails
https://github.com/harfbuzz/harfbuzz/issues/3173#issuecomment-906715780
|
|
38ad0932
|
2021-08-29T09:44:07
|
|
[util/hb-subset] Don't ignore errors during face parsing
Was ignoring file-not-found errors.
|
|
1e1438c4
|
2021-08-26T14:59:29
|
|
[subset] fix --*-file options in hb-subset. (#3176)
The previous change to add -/+ versions of each set type broke all of the --*-file input options since all of the parse functions now default to replacing the set if the + variant is not being used. This fixes the issue by changing parse_file_for to pass '+' as the name to the parsing function. This triggers the append mode.
|
|
9db494f5
|
2021-08-26T10:51:38
|
|
[subset] Update remaining subset input sets to use inversion for all. (#3172)
* [subset] Update remaining subset input sets to use inversion for all.
* [subset] Update flag help for remaining sets to mention -=.
|
|
99356ea5
|
2021-08-25T17:19:06
|
|
Merge pull request #3150 from harfbuzz/item-context-tests
[test] Add tests for item context
|
|
75efade7
|
2021-08-25T14:51:21
|
|
[subset] format --gids and --unicodes help messages better.
|
|
fa4bf7cf
|
2021-08-25T14:31:11
|
|
[subset] use inverted sets for glyph id input.
Adds --gids-=, --glyphs-=, --text-=, --unicodes-= options. Use inverted sets to represent all glyphs and/or all unicodes.
|
|
8f4f47df
|
2021-08-25T13:34:05
|
|
[subset] use inverted set for all unicodes.
Modify the code that handles input->unicodes to be safe with possibly inverted sets. Also adds --unicodes-= and --unicodes+= flags.
|
|
f2441a4b
|
2021-08-24T15:53:32
|
|
[subset] Remove retain all layout features flag.
Instead use inverted sets to handle requesting all features. Modifies feature collection in subset plan to intersect the set of requested features against the features in the font. This prevents iterating a fully filled feature tag set.
|
|
430224b1
|
2021-08-16T15:40:47
|
|
[buffer] Handle pre/post-context in buffer_append
Fixes https://github.com/harfbuzz/harfbuzz/issues/1843
|
|
6ca0ffd4
|
2021-08-16T14:52:13
|
|
[util] Add --unicodes-before/after
Parallel to --unicodes for --text-before/after. To be used in tests.
|
|
829b0f33
|
2021-08-20T01:28:15
|
|
Merge pull request #3154 from harfbuzz/set-invert
Resurrect hb_set_invert()
|
|
7115af23
|
2021-08-19T15:55:21
|
|
[util] Fix glib deprecation warning re g_memdup()
|
|
e29f5635
|
2021-08-18T08:51:41
|
|
Replace "langstr" with more helpful help.
|
|
ccc2a192
|
2021-08-12T12:44:52
|
|
[util/hb-subset] Whitespace
|
|
4dfc668e
|
2021-08-12T12:40:21
|
|
[util/hb-subset] Move glyph name parsing inline instead of post_parse
Now that we have face around we can just do it as it happens.
|
|
08d43d1b
|
2021-08-12T11:40:56
|
|
[util/hb-subset] Move add_all_unicodes inline, instead of post_parse
Now that we have the font loaded, we can do it as it happens.
|
|
11b0b688
|
2021-08-12T11:38:28
|
|
[util/hb-subset] Pre-parse font-face so we can use it during main parsing
|
|
c45d2a9c
|
2021-08-12T11:17:26
|
|
[util] Allow setting cli summary / description
|
|
4f3b7b70
|
2021-08-12T11:05:31
|
|
[util] Remove unused usage
|
|
1cb621d3
|
2021-08-12T10:58:19
|
|
[util/hb-subset] Minor move parsing
|
|
3f94177e
|
2021-08-12T10:43:31
|
|
[util] Use g_set_error() in one more place
|
|
4d73b3d9
|
2021-08-12T10:39:46
|
|
[util] Add --batch to hb-view / hb-ot-shape-closure
|
|
23282c9c
|
2021-08-11T22:49:47
|
|
[util/hb-subset] Support ranges in --unicodes / --unicodes-file
Fixes https://github.com/harfbuzz/harfbuzz/issues/3109
|
|
f60f005b
|
2021-08-11T22:36:00
|
|
[util/hb-subset] Remove wrong hb_set_destroy() in error paths
|
|
49cf3602
|
2021-08-11T22:34:14
|
|
[util/hb-subset] Parse --gids-file, --glyphs-file, --text-file, --unicodes-file
Fixes https://github.com/harfbuzz/harfbuzz/issues/2455
Fixes https://github.com/harfbuzz/harfbuzz/issues/3002
|
|
bf80b7ea
|
2021-08-11T22:07:45
|
|
[util/hb-subset] Add --glyphs for passing glyph names
Part of https://github.com/harfbuzz/harfbuzz/issues/2455
|
|
5b07c3c7
|
2021-08-11T21:14:55
|
|
[util/hb-subset] Parse --text & --unicodes
|
|
4ec727e5
|
2021-08-11T20:46:16
|
|
[util] Minor edit of failure messages
|
|
b83f25c7
|
2021-08-11T20:42:20
|
|
[util/hb-subset] Revamp option groups
|
|
9a6055ca
|
2021-08-11T20:30:25
|
|
[util/hb-ot-shape-closure] Remove unnecessary include
|
|
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
|
|
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
|
|
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
|
|
9468e469
|
2021-08-11T16:46:04
|
|
[util] Rename main_font_text back to main_font_text_t
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
47d47e8c
|
2021-08-01T22:12:08
|
|
[util/hb-shape/hb-subset] Don't terminate on first error in batch mode
There's no reason to quit processing. The failure is already
communicated via stdout in both cases.
|
|
a363ce57
|
2021-08-01T22:11:13
|
|
[util/hb-subset] Minor refactor of batch mode
To match recent changes to hb-shape.
|
|
10e73d18
|
2021-08-01T11:11:12
|
|
[test] Add batch mode to hb-subset and use it
time meson test --suite=subset down from:
real 0m22.822s
user 0m44.561s
sys 0m9.255s
to:
real 0m19.418s
user 0m38.171s
sys 0m3.587s
Does not seem to help much, but it is something.
Part of https://github.com/harfbuzz/harfbuzz/issues/3089
|
|
ed99c806
|
2021-08-01T08:14:59
|
|
[util/hb-shape] Refactor driver type duplication
|
|
05cf8128
|
2021-08-01T07:59:25
|
|
[util/hb-shape] Fix use of EOF as end-of-line
EOF is -1, which was being treated as a valid char (255).
Use int instead.
|
|
f9d8e4a9
|
2021-07-29T15:25:41
|
|
[subset] switch ..._set_flags to not take a mask.
|
|
3d534b14
|
2021-07-29T11:52:14
|
|
[subset] convert subset input flags into bit flags.
Store the flags in a bit set. Updates the public api to work with the bit set directly.
|