freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] [PATCH] - Add FT_DISABLE_STREAM_SUPPORT to disable the us


From: Chris Morgan
Subject: Re: [ft-devel] [PATCH] - Add FT_DISABLE_STREAM_SUPPORT to disable the use of file streaming functions for memory savings
Date: Mon, 18 Jul 2011 13:52:36 -0400

On Sat, Jul 16, 2011 at 3:24 AM, Werner LEMBERG <address@hidden> wrote:
>
>> Made this change to save ~3k of codespace in an embedded system by
>> using system libraries without stream support.
>
> Thanks.  Please make this a `real' patch, this is, add your macro
> (renamed to FT_CONFIG_...) to both ftoption.h files, with proper
> documentation comment, and provide a ChangeLog entry.
>
>
>    Werner
>


Here is an updated version and a changelog entry. I'm not sure if I'm
100% happy with the wording of the option comment though. Please let
me know if there are other changes that I should make here.



Changelog
----------------------
Chris Morgan <address@hidden>

Add FT_CONFIG_DISABLE_STREAM_SUPPORT that when defined will
conditionalize out the use of file stream functions and types, FILE,
fopen() etc. Enables the use of smaller system libraries on embedded
systems that have multiple system libraries, some with or without file
stream support, in the cases where file stream support is not
necessary such as memory loading of font files.




Chris

Attachment: ft_config_disable_stream_support.patch
Description: Text Data


reply via email to

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