|
a4a40786
|
2022-11-24T11:56:58
|
|
Merge pull request #3893 from googlefonts/preprocess_test
[subset] Fix testing of preprocess
|
|
2e9b270a
|
2022-11-23T16:17:50
|
|
[hb-view] Fix cairo slanting condition
hb-draw already does slanting. If NOT hb-draw, we should slant
through cairo path. Donno why this was untested before.
This was double-slanting with hb-draw, and not slanting without it.
|
|
4c49daf7
|
2022-11-23T22:33:57
|
|
[subset] actually use the preprocessed face in hb-subset.
Tests weren't actually using the preprocessed face due to this typo in util/hb-subset.
|
|
8f15fb12
|
2022-11-13T17:06:58
|
|
[util] Move variable closer to use
|
|
0e4f5794
|
2022-10-31T13:51:24
|
|
[util/hb-view] Default HB_DRAW to 1
See comments.
|
|
515863e5
|
2022-10-13T23:42:00
|
|
[subset] Remove add accelerator flag, replace with new api method.
Adds hb_subset_preprocess() which preprocesses the face and attaches accelerator data.
|
|
3394ec70
|
2022-10-13T23:02:54
|
|
[subset] use subset accelerator in tests.
This ensures it produces equivalent subsets as without the accelerator.
|
|
e3548c20
|
2022-09-03T08:15:03
|
|
hb-view: Detect WezTerm and use iterm2 image protocol
Similar to the logic that detects iterm2, but look for
TERM_PROGRAM=WezTerm which identifies wezterm is present.
This allows hb-view to output an image directly to the terminal.
|
|
f43dadb8
|
2022-07-30T10:23:03
|
|
Rename kashida -> tatweel
|
|
4f09ea5e
|
2022-07-30T10:12:24
|
|
[hb-shape] Add --safe-to-insert-kashida flag
https://github.com/harfbuzz/harfbuzz/pull/3762
|
|
61d0c547
|
2022-07-23T13:25:54
|
|
[ft] Pass design, not normalized, coords to freetype
Needed for avar2 to work.
|
|
a66ba594
|
2022-07-19T16:32:32
|
|
[util] Fix stack-underflow
Fixes https://github.com/harfbuzz/harfbuzz/issues/3737
|
|
c6ef11da
|
2022-07-19T15:19:52
|
|
[util] Fix build with HB_NO_VAR
|
|
2a4773e4
|
2022-06-21T19:29:52
|
|
add option "--instance", store axes_location in subset_plan and drop all
variation tables when all axes are pinned at default
|
|
1eb8e820
|
2022-07-18T14:47:49
|
|
[util] Accept space as delimiter for --features/--variations
Fixes https://github.com/harfbuzz/harfbuzz/issues/3715
|
|
faac252f
|
2022-07-18T12:23:57
|
|
[util/hb-ot-shape-closure] Fix showing glyph names
|
|
38f2ec17
|
2022-07-18T12:17:08
|
|
[hb-shape] Move shape_output_t into separate file
|
|
94be4598
|
2022-07-18T12:13:48
|
|
[hb-shape] Internal rename
|
|
faa8cdc8
|
2022-07-18T10:22:19
|
|
[util] Allow HB_CHAFA=2/3 to enable wedges/all symbols in Chafa
|
|
b4e95965
|
2022-07-18T10:14:14
|
|
[util] Revert Chafa to use simple blocks only
The wedges are nice but not available on Mac.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3729
|
|
ab21c4c2
|
2022-07-14T16:02:10
|
|
[hb-view] Add one to row of padding
|
|
2da36cf9
|
2022-07-14T15:57:43
|
|
[hb-view] Use envvar HB_CHAFA=0 to disable Chafa output
|
|
76e6feb7
|
2022-07-14T13:45:39
|
|
[util/ansi] Enable all symbols in Chafa
Gives vastly smoother output. The previous setting was
equivalent to our in-house renderer.
|
|
679c87ca
|
2022-07-14T13:39:14
|
|
[util/ansi] Fix chafa cell width/height
No idea why it was set to 10/20 instead of 8/16.
|
|
0cd404d0
|
2022-07-09T20:23:22
|
|
Typo fix in hb-subset
s/substract/subtract/
|
|
38e81f2b
|
2022-06-30T21:09:11
|
|
[subset] Add --layout-scripts command line flag.
|
|
f8d052df
|
2022-06-22T18:35:48
|
|
[ansi-print] Remove impossible condition
|
|
251320ea
|
2022-06-22T16:44:07
|
|
[ansi-print] Whitespace
|
|
0d59d795
|
2022-06-22T16:39:36
|
|
[ansi-print] Precision
|
|
c695a091
|
2022-06-22T16:33:37
|
|
[ansi-print] Reorder cases; harmless
|
|
ae0fce31
|
2022-06-22T16:31:21
|
|
[ansi-print] Fix quadrants
|
|
2ebaf0c5
|
2022-06-22T16:17:49
|
|
[ansi-print] Fix unicolor detection
|
|
a4db80ca
|
2022-06-22T16:13:53
|
|
[ansi-print] Fix color calculation
Still something's wrong.
|
|
6dd7e31f
|
2022-05-31T04:09:06
|
|
[util] Accept | as delimiter in Unicode parsing
|
|
cc0f1f3b
|
2022-04-12T10:45:43
|
|
Expose --passthrough-tables option to hb-subset CLI tool
|
|
56f11ec9
|
2022-02-18T14:08:43
|
|
[buffer] Add HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT
Fixes https://github.com/harfbuzz/harfbuzz/issues/3454
|
|
c0b2f50c
|
2022-02-18T12:29:14
|
|
[util] Rename template typenames to avoid clashing with actual types
Apparently MSVC2015 can confuse them
Fixes https://github.com/harfbuzz/harfbuzz/issues/3379
|
|
096121ba
|
2022-02-10T19:27:33
|
|
[util] Implement --sub-font
Internally creates a font at 2x and creates a sub-font from it...
|
|
57aa8c3b
|
2022-02-10T19:04:52
|
|
[draw] Another try at a stable draw moveto semantic
|
|
640b6ffd
|
2022-02-08T18:20:59
|
|
[util] Default font-funcs to 'ot' instead of 'ft'
|
|
9cc9ffe3
|
2022-02-08T18:18:47
|
|
[util/draw] If HB_DRAW is not set, choose depending on cairo version
If HB_DRAW=0, don't use it, if HB_DRAW=1, use it, if unset, choose depending
on cairo version
|
|
22f2c78c
|
2022-02-08T17:52:56
|
|
[util/draw] Explicitly chain from render_color_glyph to render_glyph
This seems to be more robust. See:
https://github.com/harfbuzz/harfbuzz/pull/3411#issuecomment-1033176635
|
|
6a3dec35
|
2022-02-08T17:39:16
|
|
[util/draw] Use hb-draw in hb-view only if HB_DRAW=1
|
|
18b8a1c3
|
2022-02-08T16:33:09
|
|
[draw] Fix conversion warnings
|
|
6812f7ee
|
2022-02-08T16:15:37
|
|
[draw] Implement COLRv0 fonts
|
|
5c558586
|
2022-02-07T18:54:16
|
|
[util/draw] Apply slant to non-user-fonts as well
|
|
4818b7ed
|
2022-02-07T18:00:14
|
|
[util] Add --font-slant
|
|
cfc06c24
|
2022-02-05T13:31:05
|
|
[util/draw] Render color glyphs if cairo API available
|
|
542f8269
|
2022-02-04T18:45:04
|
|
[util/draw/ft] Use hb-draw for font-funcs=ft as well
If cairo is >= 1.17.5.
This essentially breaks emoji and bitmap fonts for now.
|
|
5d2df120
|
2022-02-03T17:18:54
|
|
[util] Use hb-draw to render alternatively to cairo-ft
Is automatically enabled if cairo is recent enough, and font-funcs are
not 'ft'.
Uses cairo-user-font backend internally.
|
|
d35f3801
|
2022-01-29T09:08:20
|
|
[util] Change "All shapers failed." message to "Shaping failed."
Since we now emit this when verification fails as well.
|
|
61823838
|
2022-01-28T13:45:25
|
|
[buffer] Add HB_BUFFER_FLAG_VERIFY
Move buffer verification code inside the library, from util/.
Part of https://github.com/harfbuzz/harfbuzz/issues/3010
|
|
36b15617
|
2021-11-19T14:10:34
|
|
Implement hb-shape --verify unsafe-to-concat flag
15 tests failing. Those look like legit places that unsafe-to-concat
needs more implementation.
|
|
e2e30506
|
2022-01-16T07:00:53
|
|
Fix various typos
Found via `codespell -q 3 -S ./perf/texts -L actualy,ba,beng,fo,gir,inout,nd,ot,pres,ro,te,teh,timne`
|
|
52f5711e
|
2022-01-03T11:57:42
|
|
[buffer] Add hb_buffer_create_similar()
Fixes https://github.com/harfbuzz/harfbuzz/issues/1555
|
|
d0c3515c
|
2022-01-03T11:26:41
|
|
[util] Copy unicode_funcs in copy_buffer_properties()
Part of https://github.com/harfbuzz/harfbuzz/issues/1555
|
|
34f5b855
|
2022-01-03T11:25:06
|
|
[util] Simplify copy_buffer_properties()
Now that hb_buffer_append() overlays segment_properties we can do this.
Part of https://github.com/harfbuzz/harfbuzz/issues/1555
|
|
101d07ef
|
2022-01-03T11:24:07
|
|
[util] Move copy_buffer_properties() out of loop
Now that hb_buffer_append() overlays properties, we can do this.
Part of https://github.com/harfbuzz/harfbuzz/issues/1555
|
|
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
|