[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future dis
From: |
mpsuzuki |
Subject: |
[ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion) |
Date: |
Thu, 11 Mar 2010 16:47:46 +0900 |
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:
$ ./get-stream-info.exe /usr/X11R7/lib/X11/fonts/100dpi/helvR24.pcf.gz
memory allocator=[gzip-buff]
pathname=[/usr/X11R7/lib/X11/fonts/100dpi/helvR24.pcf.gz]
Just a proof of concept.
Regards,
mpsuzuki
get-stream-info.diff.lzma
Description: Binary data
get-stream-info.c.lzma
Description: Binary data
- [ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion),
mpsuzuki <=
- Re: [ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion), Werner LEMBERG, 2010/03/13
- Re: [ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion), Behdad Esfahbod, 2010/03/14
- Re: [ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion), mpsuzuki, 2010/03/15
- Re: [ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion), Werner LEMBERG, 2010/03/15
- [ft-devel] Re: [FYI] Re: Getting pathname from FT_Face (patch for future discussion), mpsuzuki, 2010/03/15
- Re: [ft-devel] Re: [FYI] Re: Getting pathname from FT_Face (patch for future discussion), Werner LEMBERG, 2010/03/15
- [ft-devel] Re: [FYI] Re: Getting pathname from FT_Face (patch for future discussion), mpsuzuki, 2010/03/15
- Re: [ft-devel] Re: [FYI] Re: Getting pathname from FT_Face (patch for future discussion), Behdad Esfahbod, 2010/03/15
- [ft-devel] Reference count in FreeType2, mpsuzuki, 2010/03/15
- [ft-devel] Re: Reference count in FreeType2, Behdad Esfahbod, 2010/03/15