summaryrefslogtreecommitdiff
path: root/pango/pangocairo-atsuifontmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Behdad svn path=/trunk/; revision=2657
* Part of Bug 474708 – pangocairo leaks memoryBehdad Esfahbod2007-09-081-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> Part of Bug 474708 – pangocairo leaks memory * pango/pangocairo-font.c (_pango_cairo_font_private_get_hex_box_info): Fix a couple leaks. * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifontmap.c (pango_cairo_atsui_font_map_finalize): * pango/pangocairo-fc.h: * pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_finalize): * pango/pangocairo-win32.h: * pango/pangocairo-win32fontmap.c (pango_cairo_win32_font_map_finalize): Remove unused leftover renderer variable. * pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Fix thinko. svn path=/trunk/; revision=2424
* Implement get_font_type().Richard Hult2007-06-121-0/+7
| | | | | | | | | 2007-06-12 Richard Hult <richard@imendio.com> * pango/pangocairo-atsuifontmap.c: Implement get_font_type(). svn path=/trunk/; revision=2350
* Update for the changes to PangoCairoFontMap and PangoCairoFont.Richard Hult2007-06-111-12/+0
| | | | | | | | | | 2007-06-12 Richard Hult <richard@imendio.com> * pango/pangocairo-atsuifont.c: * pango/pangocairo-atsuifontmap.c: Update for the changes to PangoCairoFontMap and PangoCairoFont. svn path=/trunk/; revision=2341
* Bug 433805 - [Atsui] Approximate char/digit width width often 0Richard Hult2007-05-151-0/+1
| | | | | | | | | | | | | | | | 2007-05-15 Richard Hult <richard@imendio.com> Bug 433805 - [Atsui] Approximate char/digit width width often 0 * pango/pangocairo-atsuifont.c: (pango_cairo_atsui_font_get_metrics): Improve the metrics so it really is average instead of max glyph width. Also keep the metrics per language in the font so it's not constantly recreated. (pango_cairo_atsui_font_describe_absolute): Implement. * pango/pangocairo-atsuifontmap.c: Set default resolution. svn path=/trunk/; revision=2300
* Bug 419262 - Don't create coverage every time it's asked forRichard Hult2007-03-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | 2007-03-18 Richard Hult <richard@imendio.com> Bug 419262 - Don't create coverage every time it's asked for * pango/pangoatsui.c: (pango_atsui_font_get_coverage): * pango/pangoatsui-fontmap.c: Pass around a PangoATSUIFace instead of the postscript name string. Move the coverage creation from the font to the face, and get the coverage from the face instead of creating it every time. * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.c: (_pango_cairo_atsui_font_new): Use the face instead of the postscript name. * pango/pangoatsui-private.h: * pango/pangocairo-atsuifontmap.c: Add getters for the postscript name and coverage for the face. svn path=/trunk/; revision=2218
* *.c, *.h: Drop trailing whitespace.Behdad Esfahbod2007-01-161-3/+3
| | | | | | | | | 2007-01-16 Behdad Esfahbod <behdad@gnome.org> *.c, *.h: Drop trailing whitespace. svn path=/trunk/; revision=2163
* Make sure #include <config.h> is the first include in the file. (bugBehdad Esfahbod2006-01-141-0/+2
| | | | | | | 2006-01-14 Behdad Esfahbod <behdad@gnome.org> * */*.c, */*/*.c: Make sure #include <config.h> is the first include in the file. (bug #158870, based on patch by Luis Menina)
* Add checks for ATSUI.Anders Carlsson2005-11-221-0/+110
2005-11-21 Anders Carlsson <andersca@imendio.com> * configure.in: Add checks for ATSUI. * examples/Makefile.am: Only build pango-cairoview if freetype is detected. * modules/basic/Makefile.am: Add basic ATSUI module. * pango/Makefile.am: Add ATSUI files for cairo backend. * pango/pangocairo-fontmap.c: (pango_cairo_font_map_new): Support creating ATSUI font maps here. * pango/pangoatsui-fontmap.c: * pango/pangoatsui-private.h: * pango/pangoatsui.c: * pango/pangoatsui.h: * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.c: * pango/pangocairo-atsuifont.h: * pango/pangocairo-atsuifontmap.c: Add.