... |
... |
@@ -3032,16 +3032,24 @@ FT_BEGIN_HEADER |
3032
|
3032
|
* Disable the auto-hinter. See also the note below.
|
3033
|
3033
|
*
|
3034
|
3034
|
* FT_LOAD_COLOR ::
|
3035
|
|
- * Load colored glyphs. There are slight differences depending on the
|
3036
|
|
- * font format.
|
3037
|
|
- *
|
3038
|
|
- * [Since 2.5] Load embedded color bitmap images. The resulting color
|
3039
|
|
- * bitmaps, if available, will have the @FT_PIXEL_MODE_BGRA format,
|
3040
|
|
- * with pre-multiplied color channels. If the flag is not set and
|
3041
|
|
- * color bitmaps are found, they are converted to 256-level gray
|
3042
|
|
- * bitmaps, using the @FT_PIXEL_MODE_GRAY format.
|
3043
|
|
- *
|
3044
|
|
- * [Since 2.10, experimental] If the glyph index contains an entry in
|
|
3035
|
+ * Load colored glyphs. FreeType searches in the following order;
|
|
3036
|
+ * there are slight differences depending on the font format.
|
|
3037
|
+ *
|
|
3038
|
+ * [Since 2.5] Load embedded color bitmap images (provided
|
|
3039
|
+ * @FT_LOAD_NO_BITMAP is not set). The resulting color bitmaps, if
|
|
3040
|
+ * available, have the @FT_PIXEL_MODE_BGRA format, with pre-multiplied
|
|
3041
|
+ * color channels. If the flag is not set and color bitmaps are found,
|
|
3042
|
+ * they are converted to 256-level gray bitmaps, using the
|
|
3043
|
+ * @FT_PIXEL_MODE_GRAY format.
|
|
3044
|
+ *
|
|
3045
|
+ * [Since 2.12] If the glyph index maps to an entry in the face's
|
|
3046
|
+ * 'SVG~' table, load the associated SVG document from this table and
|
|
3047
|
+ * set the `format` field of @FT_GlyphSlotRec to @FT_GLYPH_FORMAT_SVG.
|
|
3048
|
+ * Note that FreeType itself can't render SVG documents; however, the
|
|
3049
|
+ * library provides hooks to seamlessly integrate an external renderer.
|
|
3050
|
+ * See sections @ot_svg_driver and @svg_fonts for more.
|
|
3051
|
+ *
|
|
3052
|
+ * [Since 2.10, experimental] If the glyph index maps to an entry in
|
3045
|
3053
|
* the face's 'COLR' table with a 'CPAL' palette table (as defined in
|
3046
|
3054
|
* the OpenType specification), make @FT_Render_Glyph provide a default
|
3047
|
3055
|
* blending of the color glyph layers associated with the glyph index,
|