Le Ven 7 juillet 2006 12:55, dragoran a écrit :
> since I am using the dejaVu fonts I get this when I start gedit from the
> sys:1: PangoWarning: Error loading GPOS table 4097
> what does this mean? (gedit works fine thought)
> is something wrong with the fonts?
with the fonts, fontforge or pango. Seems it's harmless but will open a bug
This probably happens when using Mono: it happens because the GPOS table is
empty, and Pango gives a warning about that.
FontForge creates this empty table instead of just not including the table
because of Windows: IIRC it requires the GPOS table because it wouldn't read
the GSUB table if it wasn't in the font.
Pango doesn't like the empty table and gives a warning every time. Note though
that the empty table is not an error, it can be empty.
Perhaps this warning should be removed from pango, or at least removed from
non-debug builds? Seems like it isn't helpful in most cases.
If an empty GPOS is allowed in the OpenType spec (or even if it's not, but empty
GPOS is needed for Windows compatibility), just file a bug against Pango or
HarfBuzz (here at fd.o), and point to the font files and standard pages, such
that someone can come up with a patch. I typically don't scan bugzillas for
possible Pango defects filed against other products :).
Pango fixed to not warn on empty tables. Closing.