Kristian Høgsberg
e1eec5cf0e
Fix double free in error path. (cairo_pdf_ft_font_create): Reference the unscaled font to keep the FT_Face around. (cairo_pdf_ft_font_generate): Initialize end to avoid compiler warning; bail out if table write fails. Fixes from Owen.
2005-01-17 14:59:49 +00:00
Kristian Høgsberg
2c6939b7ac
Add preliminary text support, including support for truetype font subsetting.
...
Change type of 'surface' argument in show_glyphs to void * as it is for all other surface virtual functions.
Update accordingly.
Add check for endianess.
Fix bug in array growing loop. (_cairo_array_append): Accept NULL for elements argument, in which case we just allocate space in the array.
2005-01-17 09:40:00 +00:00
Kristian Høgsberg
a850136805
Add -lz to CAIRO_LIBS when compiling the PDF backend.
...
Don't use compressBound, since it's only available in zlib 1.2 and newer.
2005-01-06 23:20:07 +00:00
Kristian Høgsberg
c9f545672a
Implement image compression (taken from cairo_ps_surface.c).
2005-01-05 17:46:31 +00:00
Kristian Høgsberg
b1ec8ae13e
New PDF backend.
...
Add PDF surface constructors.
New file - generic array implementation.
Add cairo_array prototypes.
Add cairo_array.c and cairo_pdf_surface.c.
2005-01-05 14:29:31 +00:00