A field `units_per_EM' is added to `FT_SVG_DocumentRec' and `FT_SvgGlyphRec'. This is needed because the renderer needs this info to properly scale the SVGs if the viewbox width and height differ from `face->units_per_EM'. Face object can't be accessed because of the restrictions put by `FT_Glyph_To_Bitmap' thus this has to be provided separately just like `metrics'.GSoC-2019-moazin
parent
7275d6562f
commit
e48cf716f8
4 changed files with 34 additions and 0 deletions
Loading…
Reference in new issue