[Top][All Lists]
[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: |
Tue, 23 Mar 2010 14:36:29 -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/16/2010 02:02 AM, Werner LEMBERG wrote:
>>> # One of my concern (except of the code size) is that APIs like
>>> # FT_Get_Path_From_Stream() is a bad idea from the viewpoint of
>>> # software design, and it can encourage badly- designed FT2
>>> # clients. FT_Get_MemInfo_From_Stream() might not be so bad, but it
>>> # could conflict with the philosophy of the encapsulation of
>>> # FT_Stream.
>>
>> I definitely had this concern myself when the Get_Path API was being
>> discussed. I think the stream meminfo is different however. And as
>> Werne pointed out, seems like getting the path is also something
>> people find useful anyway (oh and you have no idea how useful it
>> would be for debugging!), so lets add them.
>
> Since Pango & Cairo & HarfBuzz are the main candidate applications
> which would use such functions, can you provide your ideas how such an
> interface could look like?
I'm in favor of the first API mpsuzuki proposed.
behdad
> Werner
- [ft-devel] Re: [FYI] Re: Getting pathname from FT_Face (patch for future discussion), (continued)
- [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
- [ft-devel] Re: Reference count in FreeType2, Werner LEMBERG, 2010/03/16
- [ft-devel] Re: Reference count in FreeType2, Behdad Esfahbod, 2010/03/23
- [ft-devel] Re: Reference count in FreeType2, Werner LEMBERG, 2010/03/16
- Re: [ft-devel] Re: [FYI] Re: Getting pathname from FT_Face (patch for future discussion), Werner LEMBERG, 2010/03/16
- Re: [ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion), Behdad Esfahbod, 2010/03/15
- Re: [ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion), Werner LEMBERG, 2010/03/16
- Re: [ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion),
Behdad Esfahbod <=