freetype/include/freetype
Moazin Khatti 2e9e84193d Let FT handle the memory management for rendering port's state
and the image buffer.

State has been moved inside the library structure. A new hook
function has been added to query the size needed for the state
structure and this allocation is performed by FT. Memory alloc.
for the image buffer is also being done by FT so that it can later
free it easily.

* include/freetype/svgrenderer.h: Small doc fixes. Addition of two
new hooks. `SVG_Lib_Get_State_Size' and `SVG_Lib_Get_Buffer_Size'.

* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Small bug fix. Memory
was being initialized before library.

* src/base/ftobjs.c (FT_Set_Svg_Hooks): Adjust the code for new
hook functions.

* src/svg/ftsvg.c: Adjust the code for new hook functions. Perform
all memory allocations needed by the rendering port from FreeType
side.

* src/svg/svgtypes.c: Add the new hooks in the hook structure.
2019-07-11 14:09:43 +05:00
..
config Minor fixes. 2019-07-11 14:09:43 +05:00
internal Store the rendering port's state in library. 2019-07-11 14:09:43 +05:00
freetype.h Minor fixes. 2019-07-11 14:09:43 +05:00
ftadvanc.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftbbox.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftbdf.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftbitmap.h * src/base/ftbitmap.c (FT_Bitmap_Blend): No fractional offsets. 2019-02-23 11:18:39 +01:00
ftbzip2.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftcache.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftchapters.h Make `/****...' comments in public headers uniformly end on column 77. 2018-09-04 08:00:58 +02:00
ftcid.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftcolor.h More documentation updates. 2019-02-23 11:21:48 +01:00
ftdriver.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
fterrdef.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
fterrors.h * Version 2.10.1 released. 2019-07-01 15:56:34 +02:00
ftfntfmt.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftgasp.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftglyph.h Add start_glyph_id' and end_glyph_id'. 2019-07-11 14:09:43 +05:00
ftgxval.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftgzip.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftimage.h Minor fixes. 2019-07-11 14:09:43 +05:00
ftincrem.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftlcdfil.h Minor formatting. 2019-03-02 16:05:51 +05:30
ftlist.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftlzw.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftmac.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftmm.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftmodapi.h * include/freetype/ftmodapi.h (FT_DebugHook_Func): Return error. 2019-06-12 22:30:21 -04:00
ftmoderr.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftotval.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftoutln.h Doc polishing. 2019-06-22 22:54:57 -04:00
ftparams.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftpfr.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftrender.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftsizes.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftsnames.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftstroke.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftsynth.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftsystem.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
fttrigon.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
fttypes.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftwinfnt.h Minor. 2019-04-14 09:39:28 +02:00
svgrenderer.h Let FT handle the memory management for rendering port's state 2019-07-11 14:09:43 +05:00
t1tables.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ttnameid.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
tttables.h Minor doc fixes. 2019-02-25 06:32:26 +01:00
tttags.h Added the SVG tag 2019-07-11 14:09:42 +05:00