Sergei Trofimovich
7dfa672dac
test/threads/hb-subset-threads.cc: add missing <cstdio> include
...
This week's `gcc-13` snapshot cleaned further up it's standard headers
and exposed missing declaration as a build failure:
../test/threads/hb-subset-threads.cc: In function 'void test_operation(operation_t, const char*, const test_input_t&)':
../test/threads/hb-subset-threads.cc:127:3: error: 'printf' was not declared in this scope
../test/threads/hb-subset-threads.cc: In function 'int main(int, char**)':
../test/threads/hb-subset-threads.cc:157:19: error: 'atoi' was not declared in this scope
2023-01-16 13:16:23 -07:00
Behdad Esfahbod
f11271cc03
[cairo] Version-check the variations code
2023-01-16 13:14:58 -07:00
Behdad Esfahbod
a180ae43ce
[bit-set] Use for loop instead of memset for page clear
...
Produces faster code.
2023-01-16 13:06:30 -07:00
Behdad Esfahbod
8e8ca03b2a
[hb-fc] Minor remove unused variable
2023-01-16 12:38:53 -07:00
Behdad Esfahbod
e903397bc3
Whitespace
2023-01-16 12:33:17 -07:00
Behdad Esfahbod
ca1de29e0a
[set] Adjust hb_set_copy()
2023-01-16 12:08:11 -07:00
Behdad Esfahbod
b7f1c30c20
[map] Adjust hb_map_copy()
2023-01-16 12:07:15 -07:00
Behdad Esfahbod
e0883d60e4
Whitespace
2023-01-16 12:02:21 -07:00
Behdad Esfahbod
82a3b2dbb5
[util] Fix --named-instance
2023-01-16 11:18:22 -07:00
Behdad Esfahbod
ad6b9c417d
[util] Format --list-features
2023-01-16 11:07:03 -07:00
Behdad Esfahbod
0f4da85074
[util] Minor in --list-features clear feature set between GSUB/GPOS
2023-01-16 11:04:38 -07:00
Behdad Esfahbod
f25e3696eb
[hb-shape/hb-view] Better --list-features
2023-01-16 10:54:23 -07:00
Behdad Esfahbod
32d439596d
[hb-shape/view] Print feature names in --list-features
2023-01-15 22:34:14 -07:00
Behdad Esfahbod
cc6a9bfa6f
[hb-shape/view] Print table length in --list-tables
2023-01-15 18:16:19 -07:00
Behdad Esfahbod
880d65c905
[hb-shape/view] Add --list-tables
2023-01-15 18:14:14 -07:00
Behdad Esfahbod
3d5a922bca
Fix really
2023-01-15 16:15:52 -07:00
Behdad Esfahbod
484831be3d
[util] Fix build
2023-01-15 16:14:53 -07:00
Behdad Esfahbod
8a6ecc5c89
[hb-view/shape] Add --list-features
2023-01-15 13:54:27 -07:00
Behdad Esfahbod
40a8145acc
[util] Don't use hb_vector_t
2023-01-15 11:30:24 -07:00
Behdad Esfahbod
d769e8ae7c
[hb-shape/view] Add --named-instance
2023-01-15 10:58:15 -07:00
Behdad Esfahbod
99838770ab
[font] Add hb_font_get_var_named_instance()
...
Two new API:
+HB_FONT_NO_VAR_NAMED_INSTANCE
+hb_font_get_var_named_instance
2023-01-15 10:54:01 -07:00
Behdad Esfahbod
40bf30bfeb
[util] Print named-instance index in --list-variations
2023-01-15 10:45:47 -07:00
Behdad Esfahbod
d195e077e9
[font] Remember named_instance index
...
Specially, in hb_font_set_variations() default to the named_instance
for unspecified axes.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1883
2023-01-15 10:44:04 -07:00
Behdad Esfahbod
14a83d6cc7
[hb-shape/view] --list-variations cleanup
2023-01-15 10:11:54 -07:00
Behdad Esfahbod
e1a5448306
[hb-shape/view] Print named-instances in --list-variations
...
Might remove the coordinates.
2023-01-15 10:00:26 -07:00
Behdad Esfahbod
9abc21072b
[hb-shape/view] Add --list-variations
2023-01-15 09:46:32 -07:00
Behdad Esfahbod
d015e9016c
[ms-features] Comment
2023-01-15 09:46:32 -07:00
Garret Rieger
ea1ee0d4b6
[instance] drop and don't collect lookups from feature variations when fully instancing.
...
This previously incorrectly collected lookups that could be reached via feature variations that are dropped and not activated by the current instance position.
2023-01-14 18:04:24 -07:00
Matthias Clasen
d250148db0
Merge pull request #4024 from harfbuzz/test-paint-variable
...
test-paint: Add variable font tests
2023-01-12 21:26:24 -05:00
Behdad Esfahbod
60a4f2e6f5
[test-paint] Detect FreeType COLRv1 from struct size
2023-01-12 19:12:46 -07:00
Behdad Esfahbod
b783967242
[test] Minor save glyph_count
2023-01-12 19:11:10 -07:00
Matthias Clasen
cca0ed9bcd
test-paint: Add variable font tests
...
These needs freetype master to work.
2023-01-12 21:09:50 -05:00
Behdad Esfahbod
81b942e363
[os2] Comment
2023-01-12 18:42:22 -07:00
Behdad Esfahbod
9fb9be8d43
[os2] Rewrite a loop
2023-01-12 18:37:45 -07:00
Behdad Esfahbod
082e5c5def
[os2] Minor add a cast
2023-01-12 18:37:07 -07:00
Behdad Esfahbod
45fe897e89
[os2] Rename a couple of variables
2023-01-12 18:36:16 -07:00
Behdad Esfahbod
2dcbf3bd07
[os2] Inline a trivial function
2023-01-12 18:29:16 -07:00
Behdad Esfahbod
075fe33446
Enable -Wunsafe-loop-optimizations
...
I don't get any.
2023-01-12 17:14:42 -07:00
Behdad Esfahbod
ed023f66df
Enable -Wformat-signedness
...
And fix the codebase.
2023-01-12 17:04:24 -07:00
Behdad Esfahbod
7b5f0dd3a8
Move hb-ot-name-language-static.hh out of hb-static.cc
...
Since hb-static.cc is used by libharfbuzz-cairo as well.
2023-01-12 15:05:19 -07:00
Behdad Esfahbod
449f6df762
[mutex] Add constructor/destructor
...
Use in one place.
2023-01-12 14:52:00 -07:00
Behdad Esfahbod
8e71f7e8ed
[subset-accelerator] Streamline constructor/destructor
2023-01-12 14:46:44 -07:00
Behdad Esfahbod
c4c646280f
[unicode] Adjust error message
2023-01-12 13:58:46 -07:00
Behdad Esfahbod
0d66529135
[bit-page] Minor simplify bit-page specification
2023-01-12 13:14:24 -07:00
Behdad Esfahbod
32866a331e
[subset-input] Simplify destruction
2023-01-12 13:03:26 -07:00
Behdad Esfahbod
d5b826fd09
[subset-input] Fix leak
2023-01-12 12:55:47 -07:00
Behdad Esfahbod
c52810529e
[subset-plan] Move construction to constructor
2023-01-12 12:53:46 -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