David Corbett
1d53268dfe
Fix two-way mapping of "man" and 'MNK '
4 years ago
David Corbett
ab38cf6746
Map hy-arevmda to 'HYE ' instead of HYE0
4 years ago
David Corbett
916c5a9007
Consistently emit BCP 47 subtag scope suffixes
4 years ago
Behdad Esfahbod
1c05f6789b
[buffer] Increase work limits
...
Our previous limits of 64 per input character was already hit
by David Corbett's under-development Duployan font.
Increase work limits by factor of 16, and number of glyphs by factor of 2.
Fixes https://github.com/harfbuzz/harfbuzz/issues/2707
4 years ago
Behdad Esfahbod
b37edebfcb
[buffer/deserialize] Do not clear() buffer upon content type mismatch
...
We return false. I don't see reason to clear buffer.
4 years ago
Behdad Esfahbod
c396e1600f
[buffer/deserialize] Accept arbitrary glyph names
...
Accepts escapes. Added TODO items for matching escaping in serialize().
4 years ago
Behdad Esfahbod
4a4eebcf86
[buffer/serialize] Minor renames in Ragel machines
...
As per my previous review on:
https://github.com/harfbuzz/harfbuzz/pull/2687
4 years ago
Behdad Esfahbod
540d2cdddb
[tests/buffer] Revert unintended whitespace changes
...
From 9e5538d6a3
Tried squashing into, but too much merge conflict.
4 years ago
Behdad Esfahbod
78fb6a11af
Whitespace
4 years ago
Behdad Esfahbod
140552cec9
[buffer/serialize] Only serialize empty buffers of CONTENT_TYPE_INVALID
4 years ago
Behdad Esfahbod
04658ec48f
[tests/buffer] Update tests for previous commit
4 years ago
Behdad Esfahbod
8f5d8b155c
[buffer] Buffer start <= end <= len requirement in (de-)serialize
4 years ago
Behdad Esfahbod
3b64122a7f
[buffer] Fix immutable case with end_ptr==nullptr
4 years ago
Simon Cozens
7c0bc0bb92
Serialize invalid buffer to !! (text) or [] (json)
...
There is no generic deserialize - you have to choose glyphs or unicode - so there is no way to deserialize this buffer.
4 years ago
Simon Cozens
5bb88c4f45
Oops debug print
4 years ago
Simon Cozens
f56eb402f0
Immutable buffer fix
4 years ago
Simon Cozens
150f391438
Prohibit mixed glyphs/unicode buffers in deserialization
4 years ago
Simon Cozens
6b1726b6ef
Typos
4 years ago
Simon Cozens
3d3c87e7e7
Put the flags back in and serialize clusters.
...
Note that now JSON glyph buffers and Unicode buffers look very similar, except for the g/u property difference.
4 years ago
Simon Cozens
432a05b2af
(Simple) tests for Unicode serialization/deserialization
4 years ago
Simon Cozens
c03a2001b2
Deserialization routines for Unicode buffers
4 years ago
Simon Cozens
c0716bb5dc
Move delimiter addition into hb-buffer-serialize
4 years ago
Simon Cozens
36ede56962
Fix docs
...
Note the delimiters stuff isn’t true yet, will be working on that
4 years ago
Simon Cozens
bb7b634cd0
Simplify JSON unicode serialization
...
It’s just an array of codepoints; no need to turn them into objects
4 years ago
Simon Cozens
57a528ab2c
Convert tabs to spaces
4 years ago
Simon Cozens
aff6a36266
Use auxbuffer for serialize_unicode_text
4 years ago
Simon Cozens
a0203a28bb
Use hb_buffer_serialize to trace in utils
4 years ago
Simon Cozens
58bcc1cedd
Serialize Unicode buffers
4 years ago
David Corbett
c39ab82c90
Fix usage text of gen-use-table.py
4 years ago
David Corbett
a99e8721bf
[use] Fix tests with MSVC
4 years ago
Koji Ishii
7e6070a47f
Set *coord to nullptr
4 years ago
Koji Ishii
4e0bddb7fe
get_baseline
4 years ago
Behdad Esfahbod
48fcb9094a
[docs] Remove misleading wording re OpenType
...
HarfBuzz has not *just* been implementing OpenType for a while.
At least since 2.0, where we added native AAT support in Oct 2018.
4 years ago
Khaled Hosny
5539d158b7
Merge pull request #1679 from n8willis/docs-gtkdoc-extern
...
[Docs] Add GTK-Doc comments for external APIs
4 years ago
Khaled Hosny
1a15bf1c53
Merge pull request #2695 from khaledhosny/docs-fix
...
Minor build docs improvement
4 years ago
Khaled Hosny
cc7b3a1abd
[Docs] Address review comments
4 years ago
n8willis
41b46a3cb2
Update hb-face.cc
4 years ago
n8willis
726e320ece
Update inline doc for hb_face_create: explain index
4 years ago
Nathan Willis
70331ca485
[Docs] Minor
...
update GTK-Doc comments in hb-ot-layout.
4 years ago
Nathan Willis
eb10ef46aa
[Docs] Add GTK-Doc comments for hb-ot-font and hb-ot-shape.
4 years ago
Nathan Willis
3e72febde0
[Docs] Add GTK-Doc comments for hb-face.
4 years ago
Nathan Willis
88cdea60e0
[Docs] Add GTK-Doc comments to hb-shape-plan.
4 years ago
Nathan Willis
5b43eb5a4c
[Docs] Add GTK-Dod comments to hb-unicode.
4 years ago
Khaled Hosny
fb0195ba83
[docs] Fix syntax and expand Windows section a tiny bit
4 years ago
Khaled Hosny
db2381c92d
[docs] Fix indentation of commands
...
DocBook outputs the extra spacing before the commands verbatim.
4 years ago
Khaled Hosny
8c5d1332f1
Merge pull request #1664 from n8willis/docs-gtkdoc-otvar
...
[Docs] Add gtk-doc comments for hb-ot-var
4 years ago
Khaled Hosny
df00f45e26
Fix annotation in previous commits
4 years ago
Nathan Willis
5a695a79a0
Swap # for () in gtk-doc function mention.
4 years ago
n8willis
379be7b7c8
Update src/hb-ot-var.cc
...
Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
4 years ago
Nathan Willis
938add712a
Add GTK-Doc comments for hb-ot-var.
4 years ago