freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set_Pixel_Sizes for TTF


From: Werner LEMBERG
Subject: Re: Set_Pixel_Sizes for TTF
Date: Sun, 22 Oct 2000 22:03:31 +0200 (CEST)

> Plan 4b:
>      We change FT_SizeRec as following way.
> 
> typedef struct  FT_SizeRec_
>   {
>     FT_Face          face;      /* parent face object              */
>     FT_Generic       generic;   /* generic pointer for client uses */
>     FT_Size_Metrics  metrics;   /* size metrics                    */
> 
>     FT_Generic       driver_private; /* generic pointer for font drivers */
>   } FT_SizeRec;
> 
> sbit_metrics = (FT_Size_Metrics*)size->driver_private;
> 
> And driver_private is NULL when we use a TTF font without sbits or
> without outlines.

Sounds OK for me -- maybe the variable name `driver' instead of
`driver_private' is sufficient.

Do you time to implement and test it?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]