Convert tabs to spaces
This commit is contained in:
parent
174de30855
commit
f4b6b7b160
|
@ -512,34 +512,8 @@ hb_buffer_serialize_unicode (hb_buffer_t *buffer,
|
||||||
* Serializes @buffer into a textual representation of its content, whether
|
* Serializes @buffer into a textual representation of its content, whether
|
||||||
* Unicode codepoints or glyph identifiers and positioning information. This is
|
* Unicode codepoints or glyph identifiers and positioning information. This is
|
||||||
* useful for showing the contents of the buffer, for example during debugging.
|
* useful for showing the contents of the buffer, for example during debugging.
|
||||||
* There are currently two supported serialization formats:
|
* See the documentation of hb_buffer_serialize_unicode() and
|
||||||
*
|
* hb_buffer_serialize_glyphs() for a description of the output format.
|
||||||
* ## text
|
|
||||||
* A human-readable, plain text format.
|
|
||||||
* Serialized glyphs will look something like:
|
|
||||||
*
|
|
||||||
* ```
|
|
||||||
* [uni0651=0@518,0+0|uni0628=0+1897]
|
|
||||||
* ```
|
|
||||||
* - The serialized glyphs are delimited with `[` and `]`.
|
|
||||||
* - Glyphs are separated with `|`
|
|
||||||
* - Each glyph starts with glyph name, or glyph index if
|
|
||||||
* #HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES flag is set. Then,
|
|
||||||
* - If #HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS is not set, `=` then #hb_glyph_info_t.cluster.
|
|
||||||
* - If #HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS is not set, the #hb_glyph_position_t in the format:
|
|
||||||
* - If both #hb_glyph_position_t.x_offset and #hb_glyph_position_t.y_offset are not 0, `@x_offset,y_offset`. Then,
|
|
||||||
* - `+x_advance`, then `,y_advance` if #hb_glyph_position_t.y_advance is not 0. Then,
|
|
||||||
* - If #HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS is set, the
|
|
||||||
* #hb_glyph_extents_t in the format
|
|
||||||
* `<x_bearing,y_bearing,width,height>`
|
|
||||||
*
|
|
||||||
* Serialized Unicode codepoints will look like:
|
|
||||||
*
|
|
||||||
* ```
|
|
||||||
* [U+0651|U+0628]
|
|
||||||
* ```
|
|
||||||
* ## json
|
|
||||||
* TODO.
|
|
||||||
*
|
*
|
||||||
* Return value:
|
* Return value:
|
||||||
* The number of serialized items.
|
* The number of serialized items.
|
||||||
|
|
Loading…
Reference in New Issue