From 2a9779860e0536a856d329143d5d74a240efcea3 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Thu, 9 Sep 2004 00:26:03 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 3 +++ lily/pangofc-afm-decoder.cc | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 48a4029013..dd0bfa26d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,9 @@ 2004-09-09 Jan Nieuwenhuizen + * lily/pangofc-afm-decoder.cc (pango_fc_afm_get_glyph): Increment + character position. Huh? + * scm/output-gnome.scm (placebox): Shield affine-relative. * buildscripts/guile-gnome.sh: Update. Do not use GUILE CVS, diff --git a/lily/pangofc-afm-decoder.cc b/lily/pangofc-afm-decoder.cc index 4f569d2939..5d0fca87a9 100644 --- a/lily/pangofc-afm-decoder.cc +++ b/lily/pangofc-afm-decoder.cc @@ -176,13 +176,16 @@ pango_fc_afm_get_glyph (PangoFcDecoder *decoder, PangoFcFont *fcfont, PangoGlyph g = XftCharIndex (0, xft_font, wc); dprintf ("get glyph! 0x%x --> 0x%x\n", wc, (unsigned)g); #else + (void) fcfont; /* TODO: - PUA mapping? Shortcut PUA mapping/AFM reading: The Feta charsets are encoded - without any gaps, starting at 0x21. *grin* */ - (void) fcfont; - return wc - 0x21; + without any gaps, starting at 0x21. *grin* + + FIXME: +1 what has changed? -- jcn + */ + return wc - 0x21 + 1; #endif } -- 2.39.5