yokemura-psn / freetype-gl

Automatically exported from code.google.com/p/freetype-gl
Other
0 stars 0 forks source link

(Enhancement) Unicode and multibyte for path to font file. Very simple interface for end users. #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please see the attached file, you may add some changes to your project.

1. Added function text_buffer_delete ().
2. Added shader_t in the structure text_buffer_t
3. Added builtin_shader.c, builtin_shader.h, shaders_src.h.
4. Some functions, such as texture_font_new (), texture_font_load_face() "char 
* filename" argument is replaced by "LPCTSTR filename".
5. In texture-font.cpp added function FT_Done_Face_MMF()
and changes in texture_font_load_face () to load the font through the Memory 
Mapped Files and FT_New_Memory_Face().

6. Functions ftgl_open (), ftgl_close (), ftgl_fdraw () to load the font, use 
and release resources correctly (simple-interface.cpp).

7. CrtDbg.h for fast memory leaks detect.

Original issue reported on code.google.com by bso...@gmail.com on 19 Jul 2012 at 5:23

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry for the long long delay in my answer.

Could you explain a little bit your code ?

Original comment by Nicolas.Rougier@gmail.com on 17 Sep 2012 at 7:20

GoogleCodeExporter commented 8 years ago
Yes, of course. But since then I have done something differently.

Original comment by bso...@gmail.com on 17 Sep 2012 at 12:49

GoogleCodeExporter commented 8 years ago
Closed until further explanations.

Original comment by Nicolas.Rougier@gmail.com on 16 Dec 2012 at 9:28