Qunxin Liu
3bb89eebd6
[instancer] use hb_parse_double() for parsing axis positions
...
Added hb_subset_axis_range_from/to_string()
3 months ago
Behdad Esfahbod
2ddae77179
[util/cairo] Handle all null matrices
3 months ago
Behdad Esfahbod
52becf1c6d
[test] Fix a leak
4 months ago
Behdad Esfahbod
734ba5ab48
[hb-info] Fix font face number recording for .dfont
4 months ago
Behdad Esfahbod
67591f8511
[util] Add --face-loader
...
Currently crashes with ft. Investigating.
4 months ago
Behdad Esfahbod
75d168cbf4
[util] Rename a variable
4 months ago
Behdad Esfahbod
aa933abb76
[util] Use hb_face_create_from_file_or_fail()
4 months ago
Behdad Esfahbod
8a805271a1
[coretext] Start implementing CoreText font-funcs
...
Does nominal glyph mapping, horiz advances, and draw so far.
4 months ago
Behdad Esfahbod
e1269215f9
Revert "Fix a compiler warning"
...
This reverts commit 377e3c67a4
.
377e3c67a4 (commitcomment-147888850)
4 months ago
Behdad Esfahbod
377e3c67a4
Fix a compiler warning
4 months ago
Khaled Hosny
667ce682a2
[hb-view] Support cairo script as output format
...
Can be handy for debugging the series of operations cairo performs.
5 months ago
Behdad Esfahbod
7a390b5095
[hb-view] Simplify background drawing
...
Works around a Firefox bug.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4811
5 months ago
Behdad Esfahbod
287046f71a
[buffer] Hook up not-found-variation-selector-glyph
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4398
5 months ago
Behdad Esfahbod
39ea4cdd77
[hb-subset] Fix a resource leak
...
Part of https://github.com/harfbuzz/harfbuzz/issues/4832
6 months ago
Behdad Esfahbod
d5596dfb0b
[hb-subset] Report "Invalid font file."
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4824#issuecomment-2272156543
7 months ago
Khaled Hosny
b461c4224a
Fold the remaining Makefile.sources into CMakeLists.txt
...
That is the only place where they are used now.
8 months ago
Khaled Hosny
cf1fdf1632
Drop autotools build
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4720
8 months ago
Behdad Esfahbod
eba1add711
[hb-info] Use 128 as max glyphname / name length instead of 64
9 months ago
Garret Rieger
4cf606f674
[instancer] Promote partial instancing api out of experimental.
10 months ago
Garret Rieger
12dcafe015
Add test-hb-subset-parsing.c to extra dist. Needed for meson compile w/ experimental api.
11 months ago
Qunxin Liu
d6431dc7e6
[instancer] support *=drop, which would pin all axis to default location
12 months ago
Qunxin Liu
97309483ea
[instancer] rename HB_SUBSET_FLAGS_IUP_DELTA_OPT to HB_SUBSET_FLAGS_OPTIMIZE_IUP_DELTAS
1 year ago
Qunxin Liu
2dabbdfc66
[instancer] fix help message for --optimize
1 year ago
Qunxin Liu
c7a6030b31
[instancer] add a flag HB_SUBSET_FLAGS_IUP_DELTA_OPT
1 year ago
Behdad Esfahbod
081cbfd906
Fix warnings
1 year ago
Garret Rieger
ffa643c5aa
[subset] Add helper-subset.hh to Makefile sources.
1 year ago
Garret Rieger
d30c1dacf5
Add test suite for instancing option parsing.
1 year ago
Garret Rieger
43236ce345
[instancer] add the option to leave blanks in the min:def:max syntax.
...
When parsing axis positions in the --variations flag recognize empty values as meaning the existing value for that part. For example:
:300:500
Specifies min = existing, def = 300, max = 500.
See: https://github.com/fonttools/fonttools/issues/3322
1 year ago
Garret Rieger
c6884377ec
[subset] Add HB_SUBSET_FLAGS_IFTB_REQUIREMENTS flag.
...
When enabled the output subset conforms to the requirements for a base font to be patched by IFTB patches. IFTB is a proposed incremental font transfer patch. This new flag is set as experimental. Currently, setting this flag causes the output subset to also use long offsets for outline data in loca/glyf, gvar, CFF, and CFF2.
This change is a version of 3ae2fe2084
rebased onto head w/ tests added.
1 year ago
Garret Rieger
7b46d772c4
[instancer] Update help message for --instance.
...
Remove note about partial instancing not being supported. Add --variations flag as an alternate name for --instance. This matches other hb utils.
1 year ago
Behdad Esfahbod
598de82f3a
[hb-subset] Fix warning
1 year ago
Behdad Esfahbod
c7f2d440f4
[hb-view] Better cairo version check
2 years ago
Behdad Esfahbod
e714e7d4f3
[hb-view] Work around old cairo
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4378
2 years ago
Qunxin Liu
0aa5dafefd
fix bots.
...
-Also disable partial instancing tests for now, cause the command option
is wrapped by experimental_api
2 years ago
Qunxin Liu
32cfa37e2e
[instancer] command line support for partial instancing
...
-Also updated hb_subset_input_set_axis_range (), so user can define
default value as well
2 years ago
Garret Rieger
3021b2dbe2
[subset] change glyph mapping api to return a mutable map.
...
Maintains consistency with our other set based api methods.
2 years ago
Garret Rieger
98e73192f4
[subset] Add command line flag to provide a gid mapping.
2 years ago
Garret Rieger
90356eb226
[subset] Note --no-layout-closure is only for GSUB.
2 years ago
Garret Rieger
14b9d8d534
[subset] add --no-layout-closure flag.
...
Disables layout glyph closure. Fixes #4192 .
2 years ago
Behdad Esfahbod
6de9d2b89f
[justify] Rename hb-view --width to hb-view --justify-to
2 years ago
Behdad Esfahbod
25c66d633d
[justify] Wrap in HB_EXPERIMENTAL_API
2 years ago
Behdad Esfahbod
aa10deaf42
[justify] Print default buffer width in hb-shape --width=-1
2 years ago
Behdad Esfahbod
b937edfb14
[justify] Add min/max target_width
...
Speeds up solving when some slack available.
2 years ago
Behdad Esfahbod
6e483c4061
[shape] Add hb_shape_justify() and hb-view --width
2 years ago
Behdad Esfahbod
921eca3e79
[autotools] Fix hb-info chafa build
2 years ago
Behdad Esfahbod
40fa046cf3
[hb-info] Declare a variable unused
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4115
2 years ago
Behdad Esfahbod
aef002e0d9
[embolden] Add in-place option
...
Adds --font-grade to hb-view and hb-shape.
2 years ago
Behdad Esfahbod
e39104ba19
[font/util] Add emboldening API, --font-bold
...
Needs documentation.
2 years ago
Behdad Esfahbod
39d50008f8
[hb-info] Format
2 years ago
Behdad Esfahbod
4e2267b729
[hb-info] Add --get-meta
2 years ago