• Show log

    Commit

  • Hash : 97c09a80
    Author : Moazin Khatti
    Date : 2021-12-25T19:55:58

    Add `FT_Glyph` support for OT-SVG glyphs.
    
    * include/freetype/ftglyph.h (FT_SvgGlyphRec, FT_SvgGlyph): New structure.
    
    * src/base/ftglyph.c: Include `otsvg.h`.
    (ft_svg_glyph_init, ft_svg_glyph_done, ft_svg_glyph_copy,
    ft_svg_glyph_transform, ft_svg_glyph_prepare): New function.
    (ft_svg_glyph_class): New class.
    (FT_New_Glyph, FT_Glyph_To_Bitmap): Updated to handle OT-SVG glyphs.
    * src/base/ftglyph.h: Updated.