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 /ChangeLog.pre-1-6 | |
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 'ChangeLog.pre-1-6')
-rw-r--r-- | ChangeLog.pre-1-6 | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 34c4ea93..3df0d798 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,69 @@ +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. + Mon Jun 7 2004 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/Makefile.am modules/thai/thai-shaper.c |