summaryrefslogtreecommitdiff
path: root/pango/pangoatsui-private.h
Commit message (Collapse)AuthorAgeFilesLines
* Make ATSUI backend compile againKristian Rietveld2011-07-011-0/+2
| | | | | Commit 02f80c9acdec53f58fef0e12f41363c3c4ea1efe broke the build and was likely committed untested.
* Revert usage of CoreText in ATSUI backendKristian Rietveld2009-12-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | Next to CGFontRef we also store an ATSFontRef now. This required the addition of the public for backends function pango_atsui_font_get_atsfont(). I have marked this call to be available starting version 1.27, as Pango is now in the midst of the 1.26 series. Since we now store the ATSFontRef next to CGFontRef, we can continue to make use of the ATS API in pango_cairo_atsui_font_create_metrics_for_context(). The CoreText calls have been removed. Both Tiger and earlier, and Leopard and later machines will now use the ATS API. It is well known that the ATS API has been deprecated in Leopard. In the near future a brand-new CoreText backend has to be written (from scratch) that should be installed and used on Macs running Leopard and later. This patch has been tested on 32-bit Tiger and 64-bit Snow Leopard and found to be functioning correctly. The build should now work again fine on Tiger machines, as it has been broken since the introduction of the CoreText calls.
* [atsui] Port to use CoreText instead of ATSBehdad Esfahbod2009-07-261-2/+2
| | | | Patch from http://trac.macports.org/ticket/17049
* Bug 449543 - Ship pangoatsui.hRichard Hult2007-06-241-33/+21
| | | | | | | | | | | | | | | | | | | | | | 2007-06-24 Richard Hult <richard@imendio.com> Bug 449543 - Ship pangoatsui.h * pango/pangoatsui-fontmap.c: * pango/pangoatsui-private.h: * pango/pangoatsui.c: * pango/pangoatsui.h: * pango/pangocairo-atsuifont.c: * pango/pangocairo-atsuifont.h: Move get_atsu_font_id from the cairo atsui font class to the atsui base class. Make the members of the atsui font private and adapt all users of them. * pango/Makefile.am: Ship pangoatsui.h. * modules/basic/basic-atsui.c: (basic_engine_shape): Adapt to the above changes. svn path=/trunk/; revision=2366
* Add G_GNUC_CONST and G_GNUC_PURE annotations.Behdad Esfahbod2007-06-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-11 Behdad Esfahbod <behdad@gnome.org> * pango/pango-attributes.h: * pango/pango-font.h: * pango/pango-glyph.h: * pango/pango-gravity.h: * pango/pango-language.h: * pango/pango-layout.h: * pango/pango-matrix.h: * pango/pango-ot-private.h: * pango/pango-ot.h: * pango/pango-renderer.h: * pango/pango-script.h: * pango/pango-tabs.h: * pango/pango-utils.h: * pango/pangoatsui-private.h: * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.h: * pango/pangocairo-fc.h: * pango/pangocairo-private.h: * pango/pangocairo-win32.h: * pango/pangocairo.h: * pango/pangofc-decoder.h: * pango/pangofc-font.h: * pango/pangofc-fontmap.h: * pango/pangoft2-private.h: * pango/pangoft2.h: * pango/pangowin32-private.h: * pango/pangox-private.h: * pango/pangoxft-render.h: * pango/pangoxft.h: Add G_GNUC_CONST and G_GNUC_PURE annotations. svn path=/trunk/; revision=2345
* Bug 434160 - [atsui] Italic versions of some faces can't be createdRichard Hult2007-05-051-3/+4
| | | | | | | | | | | | | | | 2007-05-05 Richard Hult <richard@imendio.com> Bug 434160 - [atsui] Italic versions of some faces can't be created * pango/pangoatsui-fontmap.c: * pango/pangoatsui-private.h: * pango/pangocairo-atsuifont.c: Follow the other backends and create italic faces when they are not available. Apply synthetic italic in two cases, when the font manager hands out italic faces that are not in fact italic, and for the ones we've created ourselves. svn path=/trunk/; revision=2264
* Bug 419262 - Don't create coverage every time it's asked forRichard Hult2007-03-181-6/+13
| | | | | | | | | | | | | | | | | | | | | | 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
* Add checks for ATSUI.Anders Carlsson2005-11-221-0/+105
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.