mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-03 18:40:18 +01:00
Add note about zero-glyph clusters
This commit is contained in:
parent
322c3ef7f9
commit
5227897b17
1 changed files with 3 additions and 0 deletions
|
|
@ -847,6 +847,9 @@ cairo_glyph_free (cairo_glyph_t *glyphs);
|
|||
*
|
||||
* For a cluster to be valid, both @num_bytes and @num_glyphs should
|
||||
* be non-negative, and at least one should be non-zero.
|
||||
* Note that clusters with zero glyphs are not as well supported as
|
||||
* normal clusters. For example, PDF rendering applications typically
|
||||
* ignore those clusters when PDF text is being selected.
|
||||
*
|
||||
* See cairo_show_text_glyphs() for how clusters are used in advanced
|
||||
* text operations.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue