freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future


From: Behdad Esfahbod
Subject: Re: [ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion)
Date: Sun, 14 Mar 2010 21:19:44 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3

On 03/11/2010 02:47 AM, address@hidden wrote:
> Attached (get-stream-info.diff) is a revised patch with
> a feature to get the info about the origin of the memory
> in FT_Stream object, which is inspired by recent discussion
> with Behdad about mprotect() to the buffer in FT_Stream
> object. Sample code (get-stream-info.c) invokes the new APIs
> FT_Get_MemInfo_From_Stream() and FT_Get_Path_From_Stream()
> then shows results, aslike:

Thanks!  Looks interesting.  I don't see the mmap() in there though.  What am
I missing?  Otherwise, looks like something I can use, yes.


On 03/13/2010 06:53 AM, Werner LEMBERG wrote:
>
> Very nice!  If Behdad thinks this is useful just add it to the git
> repository.  Shall we control this by an FT_CONFIG_OPTION_XXX macro?

I'd rather it be enalbed unconditionally.


Cheers,
behdad




reply via email to

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