diff options
author | Christopher Blizzard <blizzard@redhat.com> | 2004-06-09 22:03:18 +0000 |
---|---|---|
committer | Christopher Blizzard <blizzard@src.gnome.org> | 2004-06-09 22:03:18 +0000 |
commit | 5ca931f88a431fa7158a8e406d3bf92a1bdafd07 (patch) | |
tree | ef7933a8755cd870fa96267cab67ce9d0f4d280f /pango/Makefile.am | |
parent | d2f58271eab023e452d84a8dd855ad06151d0eb6 (diff) | |
download | pango-5ca931f88a431fa7158a8e406d3bf92a1bdafd07.tar.gz |
Add export of pangofc-decoder.h. Build pangofc-decoder.c.
Wed Jun 9 17:32:59 2004 Christopher Blizzard <blizzard@redhat.com>
* pango/Makefile.am: Add export of pangofc-decoder.h. Build
pangofc-decoder.c.
* pango/pangofc-decoder.h pango/pangofc-decoder.c: New files.
Virtual base class for any custom font decoders.
* pango/pangofc-font.c: Add new PangoFcFontPrivate structure.
* pango/pangofc-font.c (pango_fc_font_class_init): Attach new
private structure using g_type_class_add_private().
* pango/pangofc-font.c (pango_fc_font_finalize): Make sure to
unset any decoders that are attached to the font.
* pango/pangofc-font.c (pango_fc_font_get_coverage): When
determining coverage, use a custom decoder if available.
* pango/pangofc-font.c (pango_fc_font_has_char): When determining
if a font has a character, use a custom decoder if available.
* pango/pangofc-font.c (pango_fc_font_get_glyph): When doing
single character to glyph convertions, use a custom decoder if
available.
* pango/pangofc-font.c (_pango_fc_font_get_decoder): New
function. Get the custom decoder for the given font.
* pango/pangofc-font.c (_pango_fc_font_set_decoder): New
function. Set a custom decoder for the given font.
* pango/pangofc-fontmap.c: Add structure PangoFcFindFuncInfo to
keep track of callbacks to create custom decoders. Modify
PangoFcFontMapPrivate by adding a list of PangoFcFontFuncInfo
callbacks that have been registered.
* pango/pangofc-fontmap.c (pango_fc_font_map_add_find_func): New
function. Add callbacks to the fontmap that will create custom
decoders when pango creates new fonts.
* pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Clear out
any findfuncs that have been registered and notify them about
destruction.
* pango/pangofc-fontmap.c (pango_fc_font_map_new_font): When
creating new fonts, call back to any registered find functions so
they can create custom decoders for those fonts. Attach those
custom decoders to the newly created fonts.
* pango/pangofc-fontmap.c (_pango_fc_font_map_get_coverage):
Change the argument to take a PangoFcFont instead of an FcPattern.
Call _pango_fc_font_map_fc_to_coverage instead of doing the
conversion inline.
* pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage): New
function. Convert an FcCharSet to a PangoCoverage object.
* pango/pangofc-fontmap.h: New declarations for
pango_fc_font_map_add_decoder_find_func and
PangoFcDecoderFindFunc.
* pango/pangofc-private.h: New declarations for
_pango_fc_font_map_fc_to_coverage, _pango_fc_font_get_decoder and
_pango_fc_font_set_decoder.
Diffstat (limited to 'pango/Makefile.am')
-rw-r--r-- | pango/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pango/Makefile.am b/pango/Makefile.am index 14b3e039..f226bfc0 100644 --- a/pango/Makefile.am +++ b/pango/Makefile.am @@ -173,7 +173,10 @@ libpangoxft_1_0_la_SOURCES = \ # ------------------- libpangoft2 ------------------- if HAVE_FREETYPE -pangoinclude_HEADERS += pangoft2.h pango-ot.h +pangoinclude_HEADERS += \ + pangoft2.h \ + pango-ot.h \ + pangofc-decoder.h lib_LTLIBRARIES += libpangoft2-1.0.la endif @@ -184,6 +187,7 @@ libpangoft2_1_0_la_DEPENDENCIES = opentype/libpango-ot.la libpango-$(PANGO_API_V libpangoft2_1_0_la_SOURCES = \ pangofc-font.c \ pangofc-fontmap.c \ + pangofc-decoder.c \ pangofc-private.h \ pangoft2.h \ pangoft2.c \ |