Behdad Esfahbod
|
994eb7744c
|
[buffer] Fix crash
|
7 years ago |
Behdad Esfahbod
|
71fd6325b6
|
Add option to buffer serialization to not output glyph advances
When advances are not printed, glyph offsets reflect absolute glyph
positions.
New API:
HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES
hb-shape --no-advances
|
7 years ago |
Behdad Esfahbod
|
dbdbfe3d7b
|
Use nullptr instead of NULL
|
7 years ago |
Jonathan Kew
|
331d66c7fe
|
Add function to compare two buffers
Based on patch from Jonathan Kew.
Needs more cleaning up and documentation.
New API:
hb_buffer_diff_flags_t
hb_buffer_diff()
|
7 years ago |
Behdad Esfahbod
|
40bd7e9a1c
|
[unsafe-to-break] Add UNSAFE_TO_BREAK flag
Not all shapers code is updated to set this properly.
GSUB and Arabic shaper are updated.
GPOS and other shapers are NOT.
Fixes https://github.com/behdad/harfbuzz/issues/224
|
7 years ago |
Behdad Esfahbod
|
3c080a7a0a
|
Fix buffer serialize of empty buffer
Ouch!
|
8 years ago |
Khaled Hosny
|
9ab9f974d4
|
[docs] More buffers documentation
|
9 years ago |
Behdad Esfahbod
|
9ea0aa43ac
|
Don't deserialize positions if buffer has no positions
|
9 years ago |
Behdad Esfahbod
|
b8811429b6
|
Fix Since tags
Fixes https://github.com/behdad/harfbuzz/issues/103
|
9 years ago |
Behdad Esfahbod
|
fdd1770e00
|
Add API/cmdline to show glyph extents when serializing buffer
New API: HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS
hb-shape now accepts --show-extents.
Patch from Simon Cozens.
|
9 years ago |
Behdad Esfahbod
|
75504a5048
|
Allow serializing buffer with output-buffer being used
Ie, don't call get_positions() if positions are not
requested for serialization.
|
9 years ago |
Behdad Esfahbod
|
7627100f42
|
Mark unsigned integer literals with the u suffix
Simplifies hb_in_range() calls as the type can be inferred.
The rest is obsessiveness, I admit.
|
10 years ago |
Behdad Esfahbod
|
62299826f4
|
Fix typo in _hb_buffer_serialize_glyphs_text()
Fixes https://github.com/behdad/harfbuzz/pull/17
|
11 years ago |
Behdad Esfahbod
|
176fd17d02
|
Bug 70971 - Signed/unsigned compiler warnings on windows
Patch from Emil Eklund.
|
11 years ago |
Behdad Esfahbod
|
288f289997
|
[docs/introspection] More annotations
|
11 years ago |
Behdad Esfahbod
|
38b8b40526
|
Fix possible snprintf OOM
https://bugzilla.redhat.com/show_bug.cgi?id=1001645
|
11 years ago |
Behdad Esfahbod
|
20b817ac21
|
[buffer] Implement buffer deserialization for format=json
Using a ragel machine.
|
12 years ago |
Behdad Esfahbod
|
847794e929
|
[buffer] Implement buffer deserialization for format=text
Using a ragel machine.
|
12 years ago |
Behdad Esfahbod
|
4ee803b42a
|
[buffer] Fix serializing of buffer with invalid direction
|
12 years ago |
Behdad Esfahbod
|
e54dd26300
|
[buffer] Start implementing buffer deserialization
|
12 years ago |
Behdad Esfahbod
|
bcc8f32b4c
|
[buffer] Minor
|
12 years ago |
Behdad Esfahbod
|
d3e14aafff
|
[buffer] Move buffer serialization code to a new file
|
12 years ago |