GNOME Bugzilla – Bug 744632
Graph import loses fonts: ods, xls, xlsx
Last modified: 2015-02-17 16:05:55 UTC
I activated font theming for GOStyle in graphs. That has caused font to be lost on import from ods, xls, and xlsx because style->font.auto_font isn't being cleared when an explicit font is set.
xlsx fixed
xls fixed.
Hmm, regarding xlsx: static gboolean xlsx_go_style_has_font (GOStyle *style) { GOFont const *def; gboolean is_def; if (!(style->interesting_fields & GO_STYLE_FONT)) return FALSE; /* We need to fix auto_font! */ def = go_font_new_by_index (0); is_def = (style->font.font == def); go_font_unref (def); if (is_def) return FALSE; return TRUE /* !style->font.auto_font */; } There is still a claim that auto_font needs to be fixed.
ods fixed
xlsx issue fixed.