Behdad Esfahbod
ea17c7a81a
[beyond-64k] Implement gvar support
...
https://github.com/harfbuzz/boring-expansion-spec/issues/85
2 years ago
Behdad Esfahbod
f325aba561
[VarComposites] Minor rename
2 years ago
Khaled Hosny
b4b089c427
[docs] Disable gtdoc-check by default
...
It slows build as it causes documentation to be always rebuilt. We now
disable it by default and enable it on relevant CI jobs.
2 years ago
Behdad Esfahbod
d165afec1d
[justify-demo] Create new fonts all the time
...
The hb.shape_justify() call modifies the font. This was messing
up justification. Create new fonts all the time.
2 years ago
Khaled Hosny
690145fa00
[justify-demo] Rewrite in a simpler way
...
No need to overthink it, append text words to the line and reshape, no
need to shape the whole text first and do complicated glyph/input
mapping. Much simpler code and as fast.
2 years ago
Behdad Esfahbod
e9d6f23b5d
[justify-demo] Fix for LTR typesetting
2 years ago
Behdad Esfahbod
5cf54aedde
[justify-demo] Guess segment properties
2 years ago
Behdad Esfahbod
5c334b9686
[justify-demo] Fix crash if font has no variation axis
2 years ago
Behdad Esfahbod
ab249fd24b
[justify] Fix shrink/expand conditions
2 years ago
Khaled Hosny
039ea9adda
[justify] Add demo GTK app
2 years ago
Behdad Esfahbod
be47182d48
[hb-cairo] Add Black Foundry copyright
2 years ago
Behdad Esfahbod
ab4c321180
[justify] Set out params in more cases
2 years ago
Khaled Hosny
e57defc07c
[justify] Set var_value when expanding/shrinking to max
...
When expanding/shrinking the buffer to max (and still not fitting), we
need to also set var_value to the axis max/min otherwise client not have
the correct axis value to draw with.
2 years ago
Behdad Esfahbod
a2efa5b489
[map] Another try at fixing old Mac build
...
https://github.com/harfbuzz/harfbuzz/issues/4138
2 years ago
Khaled Hosny
bfab56d3b5
[font] Typo
2 years ago
Khaled Hosny
60841e2618
7.1.0
2 years ago
Qunxin Liu
e471ef77f9
[instancer] fix a runtime error
...
runtime error: -1 is outside the range of representable values of type 'unsigned int'
2 years ago
Behdad Esfahbod
43dbdd9db6
[justify] Document algorithm
2 years ago
Behdad Esfahbod
c98bb4cf9c
[justify] Fix up after recent changes
...
Oops.
2 years ago
Behdad Esfahbod
fb067390e4
[docs] Fix a warning
2 years ago
Behdad Esfahbod
fe83736e26
[sanitize] Protect against an underflow
2 years ago
Behdad Esfahbod
08784baf10
[GSUB/GPOS] Fix sanitization in Format1
...
Fixes https://oss-fuzz.com/testcase-detail/5120727025319936
2 years ago
Behdad Esfahbod
7897173870
[justify] Fix compiler warnings
2 years ago
Behdad Esfahbod
be64cae164
[map] Another try at fixing old Mac builds
...
Maybe fixes https://github.com/harfbuzz/harfbuzz/issues/4138
2 years ago
Behdad Esfahbod
67e01c1292
[map] Try to work around old Mac compiler bug
...
Maybe fixes https://github.com/harfbuzz/harfbuzz/issues/4138
2 years ago
Khaled Hosny
e359f46a20
Fix build
2 years ago
Behdad Esfahbod
e8f94f9e12
Merge pull request #4144 from harfbuzz/justify
...
Justify
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
96d4ed0931
[justify] Document API
2 years ago
Behdad Esfahbod
d29d7b7a3d
[algs] Adjust solve_itp
2 years ago
Behdad Esfahbod
aa10deaf42
[justify] Print default buffer width in hb-shape --width=-1
2 years ago
Behdad Esfahbod
93252c6fc3
[justify] Debug output
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
ee4822f969
[algs] Add solve_itp method
...
Port from kurbo.
2 years ago
Behdad Esfahbod
c67c0086ef
[GPOS] Fix indexing in MarkLigPos
...
This was broken in 8708b9e081
.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4142
2 years ago
Matthias Clasen
01d34763f0
Typo fix
2 years ago
Behdad Esfahbod
2d33a6b4df
[subset-fuzzer] Protect against overflow
...
Fixes
https://github.com/harfbuzz/harfbuzz/issues/4137#issuecomment-1448994447
2 years ago
Behdad Esfahbod
5226d69733
[font] Make set_variation() respect currently-set variations
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4143
2 years ago
Behdad Esfahbod
91627daee2
[outline] Rename internal function
2 years ago
Behdad Esfahbod
5c46286592
Revert "."
...
This reverts commit 59434578cd
.
2 years ago
Behdad Esfahbod
59434578cd
.
2 years ago
Behdad Esfahbod
bbb9d6d436
[font] Add hb_font_set_variation()
2 years ago
Qunxin Liu
a975ec4842
[instancer] apply cvar deltas
2 years ago
Qunxin Liu
8b0c7b9554
[instance] Add struct definition for cvar table
...
Also add functions to add cvt tables with cvar deltas applied
2 years ago
Qunxin Liu
22cc73f3e9
Move common structs for TupleVariation from gvar to var-common.hh
...
Also added a table_base in the iterator and related function to handle
different start address for dataoffset in cvar and gvar
2 years ago
Garret Rieger
c0fac016dc
[subset] update the subset fuzzer to be able to reach instancing code.
2 years ago
Behdad Esfahbod
62fc27f372
[ft] Enlarge glyph-cache value-size again
...
8bits just doesn't do it. It has caused cache-hammering and high
CPU usage when the font is hinted.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4139
2 years ago
Behdad Esfahbod
921eca3e79
[autotools] Fix hb-info chafa build
2 years ago