Re: Documentation typos.
Simon Sapin <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Docs for cairo_glyph_t say that … > Cairo doesn't expose any way of converting input text into glyphs … while cairo_scaled_font_text_to_glyphs() is there since 1.8. A better way to say this is that cairo only does primitive *shaping* (aka text → glyphs conversion) by placing glyphs next to each other, moving the cursor by each glyph’s X and Y *advance* metric. This is okay-ish for Latin text, but quality shaping (with ligatures, kerning, etc.) or even correct shaping (in some writing script) requires another library like Pango. -- Simon Sapin -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo