>> the most natural choice was `FT_Library'.
> 
> I see.  Judging from an API user's perspective (and from a rather
> special angle, maybe not THE standard usage) I think I would've
> preferred to rather use an `FT_Face' as additional parameter instead
> of `FT_Library' since I need that `FT_Face' anyways to get
> `FT_MM_Var' from `FT_Get_MM_Var' in first place.  Further, it would
> create some kind of parameter symmetry between getting + freeing
> `FT_MM_Var'.  This is highly biased of course.

It's too late to change that.

Note, however, that you can use

  face->glyph->library

since FreeType always creates an `FT_GlyphSlot' object if the face
index is >= 0.  In other words, it is not necessary to carry both
`FT_Face' and `FT_Library'.


    Werner

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to