diff options
author | Hans Breuer <hans@breuer.org> | 2004-08-06 18:33:23 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2004-08-06 18:33:23 +0000 |
commit | 285abaf4388ff793e1daf5d2084c69a83a9d82eb (patch) | |
tree | 01eb09fbed1fcfaf9eff3dc4e4ec969467664c7c /modules | |
parent | 35adf5a98dee743082a5b0a9467ce92ff450f4b9 (diff) | |
download | pango-285abaf4388ff793e1daf5d2084c69a83a9d82eb.tar.gz |
updated
2004-08-06 Hans Breuer <hans@breuer.org>
* pango/pango.def pango/pangoft2.def pango/pangowin32.def
pango/makefile.msc : updated
* pango/pangofc-decoder.c : static the pango_fc_decoder_*init
implementations
* pango/pangowin32.c : remove the duplicated, empty implementation
of pango_win32_font_init(), also replace parent_class variable
with pango_win32_font_parent_class as defined by G_DEFINE_TYPE
* modules/basic/basic-win32.c : implement basic_engine_covers
* pango/testfonts.c : iterate three common font names as was
intended orginally and said in the comment for years
Diffstat (limited to 'modules')
-rw-r--r-- | modules/basic/basic-win32.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/basic/basic-win32.c b/modules/basic/basic-win32.c index 4b173f0d..2863cbb4 100644 --- a/modules/basic/basic-win32.c +++ b/modules/basic/basic-win32.c @@ -1110,9 +1110,20 @@ init_uniscribe (void) #endif } +static PangoCoverageLevel +basic_engine_covers (PangoEngineShape *engine, + PangoFont *font, + PangoLanguage *lang, + gunichar wc) +{ + return PANGO_COVERAGE_EXACT; + return find_char (font, wc) ? PANGO_COVERAGE_EXACT : PANGO_COVERAGE_NONE; +} + static void basic_engine_win32_class_init (PangoEngineShapeClass *class) { + class->covers = basic_engine_covers; class->script_shape = basic_engine_shape; } |