Hi Lawrence,
I have no idea how add more glyph slots to the face object.
Do you think that using freetype cache mechanism (e.g.
FTC_ImageCache_Lookup ) with bitmap object can help me? I tried to use FTC
but for example I didn't understood the FTC_ImageType
<https://www.freetype.org/freetype2/docs/reference/ft2-cache_subsystem.html#FTC_ImageType>
type
parameter. If this can help me, can you provide an example/snippet code?

2017-09-08 23:01 GMT+02:00 Vincenzo NZ <[email protected]>:

> Hi Lawrence,
> I have no idea how add more glyph slots to the face object.
> Do you think that using freetype cache mechanism (e.g.
> FTC_ImageCache_Lookup ) with bitmap object can help me? I tried to use FTC
> but for example I didn't understood the FTC_ImageType
> <https://www.freetype.org/freetype2/docs/reference/ft2-cache_subsystem.html#FTC_ImageType>
>  type
> parameter. If this can help me, can you provide an example/snippet code?
>
> Vincenzo
>
> 2017-09-08 22:05 GMT+02:00 Lawrence D'Oliveiro <[email protected]>:
>
>> On Fri, 8 Sep 2017 21:21:13 +0200, Vincenzo NZ wrote:
>>
>> > The problem is that freetype at every new loop deallocates the
>> > memory allocated for the bitmap invalidating the address passed to
>> > *my_draw_bitmap*.
>>
>> Would glyph slots help with this? Only I couldn’t find any API for
>> actually adding them...
>>
>> _______________________________________________
>> Freetype mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/freetype
>>
>
>
_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to