[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] FT_New_Memory_Face() safe for multiple faces on same dat
From: |
David Turner |
Subject: |
Re: [Freetype] FT_New_Memory_Face() safe for multiple faces on same data? |
Date: |
Wed, 29 Nov 2000 16:10:46 +0100 |
Hi Jeff,
>
> Hi,
>
> I'm going to implement a face cache for multiple instance of the same .TTF
> file that is opened.
> Is it safe for multiple faces to be created by FT_New_Memory_Face() from the
> same data in memory?
Yes, the library never writes to memory-based font files so you can
use the same input bytes..
> If so, why is the file_base parameter not made 'const'?
Because I didn't think about it when writing the function :-)
We'll try to change this..
Regards,
- David