On Oct 4, 2013 8:21 AM, "Tobias Widlund" <widlun...@gmail.com> wrote:
>
> Hmmm I am not sure where that would be. I have skimmed through all 22 posts in this group and I saw nothing related to font loading from memory. Is there another forum somewhere else than google groups where it might be?
FT_New_Memory_Face().
http://www.freetype.org/freetype2/docs/tutorial/step1.html
behdad
>
>
> On Friday, October 4, 2013 1:56:43 PM UTC+2, Nicolas Rougier wrote:
>>
>>
>> I think someone proposed this some time ago and only the svn stuff prevent me from integrating it. If you dig into this group you might find the code.
>>
>> Nicolas
>>
>>
>>
>> On Friday, October 4, 2013 1:18:49 PM UTC+2, Tobias Widlund wrote:
>>>
>>> Hello!
>>>
>>> I am wondering if there is anyone who has successfully used freetype-gl to load a font not from filename, but from a char* array containing the font data. As I've seen, the API only allows the filename.
>>>
>>> Loading from memory is a really useful feature in many cases. A few examples being if you have all assets for an application (images, fonts, text, etc) stored in a single compressed resource file, or if the font is being received over a network stream, or if all resource loading happens in a specific part of the application and then being passed to the correct parts, etc.
>>>
>>> Perhaps this could be a feature added to freetype-gl? I could myself help writing this but I would need discussion to see what people think, and how it could be done in the best way.
>>>
>>> What do you think?
>>>
>>> Regards, Tobias
>
> --
> You received this message because you are subscribed to the Google Groups "freetype-gl" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to freetype-gl...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.