diff options
author | Moazin Khatti <moazinkhatri@gmail.com> | 2019-06-08 18:37:54 +0500 |
---|---|---|
committer | Moazin Khatti <moazinkhatri@gmail.com> | 2019-07-11 14:09:42 +0500 |
commit | 7b9673dd016c1636771886063466910d0758e648 (patch) | |
tree | a406e0b6795b1586d5c26e5c6ed603234d70e5d7 | |
parent | 3201792dba8f02e5d2f086da1f2e5df12c14c2f4 (diff) | |
download | freetype2-7b9673dd016c1636771886063466910d0758e648.tar.gz |
Added FT_GLYPH_FORMAT_SVG
-rw-r--r-- | include/freetype/ftimage.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/freetype/ftimage.h b/include/freetype/ftimage.h index face34fe4..461e3547e 100644 --- a/include/freetype/ftimage.h +++ b/include/freetype/ftimage.h @@ -732,6 +732,10 @@ FT_BEGIN_HEADER * contours. Some Type~1 fonts, like those in the Hershey family, * contain glyphs in this format. These are described as @FT_Outline, * but FreeType isn't currently capable of rendering them correctly. + * + * FT_GLYPH_FORMAT_SVG :: + * The glyph is inside an SVG documents in the SVG table. + * */ typedef enum FT_Glyph_Format_ { @@ -740,7 +744,8 @@ FT_BEGIN_HEADER FT_IMAGE_TAG( FT_GLYPH_FORMAT_COMPOSITE, 'c', 'o', 'm', 'p' ), FT_IMAGE_TAG( FT_GLYPH_FORMAT_BITMAP, 'b', 'i', 't', 's' ), FT_IMAGE_TAG( FT_GLYPH_FORMAT_OUTLINE, 'o', 'u', 't', 'l' ), - FT_IMAGE_TAG( FT_GLYPH_FORMAT_PLOTTER, 'p', 'l', 'o', 't' ) + FT_IMAGE_TAG( FT_GLYPH_FORMAT_PLOTTER, 'p', 'l', 'o', 't' ), + FT_IMAGE_TAG( FT_GLYPH_FORMAT_SVG, 's', 'v', 'g', ' ' ) } FT_Glyph_Format; @@ -752,6 +757,7 @@ FT_BEGIN_HEADER #define ft_glyph_format_bitmap FT_GLYPH_FORMAT_BITMAP #define ft_glyph_format_outline FT_GLYPH_FORMAT_OUTLINE #define ft_glyph_format_plotter FT_GLYPH_FORMAT_PLOTTER +#define ft_glyph_format_svg FT_GLYPH_FROMAT_SVG /*************************************************************************/ |