[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] Re: Question!
From: |
David Turner |
Subject: |
[Devel] Re: Question! |
Date: |
Mon, 12 Feb 2001 18:00:56 +0100 |
Hi Art,
>
> Hello David!
>
> I look you new Demo code in ftview.c and was very glade you make cache!
> But in my old code i wrote:
>
> int Error=FT_Render_Glyph(face->glyph,0);
>
> in you code:
>
> int Error = FTC_Image_Cache_Lookup( image_cache,
> ¤t_font,
> glyph_index,
> &glyf );
> FT_BitmapGlyph bitmap = (FT_BitmapGlyph)glyf;
> FT_Bitmap* source = &bitmap->bitmap;
>
> and for all Bitmap parameter im used "face->glyph->bitmap"
> Can i using this pointer after call "FTC_Image_Cache_Lookup" or i must
> using "source" pointer???
>
The bitmaps are held by the cache, and not the face object, which
means that you should always use "source", and not "face->glyph->bitmap"
Cheers,
- David
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Devel] Re: Question!,
David Turner <=