From a3f915b0d905bffdeb110f99bcd4d70c841f87ed Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Fri, 10 May 2024 03:05:43 +0100 Subject: [PATCH] Comments about FT_Data --- freetype/ft_structs.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/freetype/ft_structs.py b/freetype/ft_structs.py index f11c0b6..a02f57d 100644 --- a/freetype/ft_structs.py +++ b/freetype/ft_structs.py @@ -236,6 +236,12 @@ class FT_Bitmap(Structure): # ----------------------------------------------------------------------------- # Read-only binary data represented as a pointer and a length. +# - While it is used internally within FreeType, the only public +# references to this structure are in include/freetype/ftincrem.h +# where it is used as glyph data bytes returned by incremental loading APIs. +# This is a specialist usage, and the only known use-case is +# by ghostscript, in ghostscript/base/fapi_ft.c . +# Hence there are no python examples for this. class FT_Data(Structure): ''' Read-only binary data represented as a pointer and a length.