Behdad Esfahbod
a46b93208a
[subset] Remove printf from library!
2025-04-05 23:27:15 -06:00
Khaled Hosny
7b27c8edd4
10.2.0
2025-01-11 18:13:18 +02:00
Qunxin Liu
3bb89eebd6
[instancer] use hb_parse_double() for parsing axis positions
...
Added hb_subset_axis_range_from/to_string()
2024-11-25 09:38:13 -07:00
Emanuel Czirai
dce8e45799
typo acsii -> ascii in hb-subset-input.cc
2024-06-24 19:29:54 -06:00
Behdad Esfahbod
3fa47cea27
[subset] Add HB_SUBSET_FLAGS_NAME_LEGACY to keep_everything()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4739
2024-05-30 17:39:33 -06:00
Khaled Hosny
71b1ba7aa6
8.5.0
2024-05-13 23:42:50 +03:00
Garret Rieger
3f38ffd633
[subset] Fix remaining double conversion warnings.
2024-05-13 13:18:27 -07:00
Garret Rieger
4cf606f674
[instancer] Promote partial instancing api out of experimental.
2024-05-02 21:22:18 +00:00
Khaled Hosny
2b3631a866
8.3.1
2024-03-17 07:50:59 +02:00
Qunxin Liu
cfbb6a6872
[subset] support BASE table subsetting ( #4618 )
...
* [subset] support BASE table
* [subset] add tests for BASE table subsetting
2024-03-14 18:33:34 -06:00
Qunxin Liu
d6431dc7e6
[instancer] support *=drop, which would pin all axis to default location
2024-03-07 12:24:43 -07:00
Garret Rieger
66a404cad4
[subset] Fix hb_subset_input_get_axis_range documentation.
2023-11-15 21:41:30 +00:00
Garret Rieger
d30c1dacf5
Add test suite for instancing option parsing.
2023-11-15 20:16:07 +00:00
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
2023-11-15 17:54:56 +00:00
一丝
b0150ffd05
[subset] keep East Asian spacing vhal, halt, chws, vchw by default
...
Closes: https://github.com/harfbuzz/harfbuzz/issues/4451
2023-10-20 10:18:58 -06:00
Qunxin Liu
45c2d05d00
[instancer] add subset() for MVAR
2023-09-18 12:20:36 -07:00
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
2023-08-07 14:37:13 -07:00
Qunxin Liu
0065658e96
[instancer] enable cvar instancing code
2023-08-07 11:12:02 -07:00
Qunxin Liu
13f05ab9b3
[instancer] support avar table partial instancing
2023-07-20 12:37:42 -07:00
Qunxin Liu
58f68dd37a
[instancer] wrap hb_subset_input_Set_axis_range() under experimental
...
Also add notes: it's not actually working yet.
2023-05-12 11:09:04 -06:00
Qunxin Liu
22cca43ded
[instancer ]update internal hashmap to use Triple instead of single value
...
-Added hb-subset-instancer-solver.hh file and moved Triple struct to the
head file
2023-05-12 11:09:04 -06:00
Qunxin Liu
0799afe2b6
[instancer] Add hb_subset_input_set_axis_range() API
2023-05-12 11:09:04 -06:00
Khaled Hosny
4584bcdc32
7.3.0
2023-05-10 00:20:25 +03:00
Garret Rieger
8eb9f31263
[subset] s/Since/XSince/.
2023-05-05 15:56:50 +00:00
Garret Rieger
d339298f37
[subset] fix hb_subset_input_old_to_new_gid_mapping method comment.
2023-05-05 06:00:30 +00:00
Garret Rieger
3021b2dbe2
[subset] change glyph mapping api to return a mutable map.
...
Maintains consistency with our other set based api methods.
2023-05-05 05:57:05 +00:00
Garret Rieger
77a8155425
[subset] Add some basic tests for a provided glyph map.
2023-05-04 23:01:56 +00:00
Garret Rieger
98e73192f4
[subset] Add command line flag to provide a gid mapping.
2023-05-04 22:20:06 +00:00
Garret Rieger
e14020b27a
[subset] remove return value from mapping setting function.
2023-05-04 19:55:32 +00:00
Garret Rieger
6826634714
[subset] apply the user supplied glyph map.
2023-05-04 19:55:32 +00:00
Garret Rieger
e711e305c8
[subset] Add new subsetting API method to receive a user specified glyph mapping.
2023-05-04 19:55:32 +00:00
Qunxin Liu
a975ec4842
[instancer] apply cvar deltas
2023-02-27 17:05:23 -07:00
Khaled Hosny
8bdaeddfcd
7.0.0
2023-02-11 23:52:58 +02:00
Khaled Hosny
0ea8bbd91a
[doc] Use XSince for REPLACEME/EXPERIMENTAL
...
To hide them from gtk-doc so that we can finally enable gtkdoc-check.
2023-02-11 20:59:44 +02:00
Garret Rieger
2b6d74b42e
[subset] for keep everything, don't drop any tables.
2023-01-31 11:16:53 -07:00
Behdad Esfahbod
26d69e059d
[subset-input] Move constructor to .cc file
2023-01-12 12:46:44 -07:00
Behdad Esfahbod
a916ad9ea9
[subset-input] Move initialization to constructor
2023-01-12 12:44:16 -07:00
Behdad Esfahbod
875f9f6f22
[subset-input] Use shared_ptr for sets
2023-01-12 12:37:48 -07:00
Behdad Esfahbod
ef005bc82a
[subset-input] Fix destruction
...
Ouch! Object was already destroyed at that point before.
2023-01-12 12:09:50 -07:00
Behdad Esfahbod
e78a68bf46
[subset-input] Don't RETAIN_GIDs in keep-everything
2023-01-11 15:34:11 -07:00
Behdad Esfahbod
1426f1c8ea
[subset-plan] Simplify name_table_overrides allocation
2023-01-11 13:23:34 -07:00
Behdad Esfahbod
5cab4a55d2
[subset-input] Simplify axes_location allocation
2023-01-11 13:21:57 -07:00
Khaled Hosny
02948263f9
[subset] Document that CFF2 instancing is now supported
2023-01-06 13:58:29 -07:00
Behdad Esfahbod
4a5bd7a926
[subset] Add hb_subset_input_keep_everything()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3998
New API:
+ hb_subset_input_keep_everything()
2023-01-01 16:53:28 -07:00
Behdad Esfahbod
52110f13b0
[subset-input] Refactor copy-pasta code
2023-01-01 16:22:02 -07:00
Garret Rieger
d77fca997e
[subset] when subsetting preprocessor fails, reference the returned face.
...
The caller of the method is expected to destroy the returned result.
2022-12-21 15:04:27 -07:00
Khaled Hosny
947e01a7c1
[subset] Suppress gtk-doc warning
2022-12-18 23:40:01 +02:00
Khaled Hosny
afcae83a06
6.0.0
2022-12-16 23:35:26 +02:00
Garret Rieger
64cbe8b962
[subset] Also note that only full instancing works.
2022-12-12 20:41:40 +00:00
Garret Rieger
0da59f86a8
[subset] note that CFF/CFF2 instancing is not yet supported.
2022-12-12 20:26:11 +00:00