[gnumeric] typo
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] typo
- Date: Fri, 11 May 2012 20:38:06 +0000 (UTC)
commit 9cf8e18e2374130fbdfc3a35cfc58858ec96bc66
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Fri May 11 14:37:48 2012 -0600
typo
plugins/openoffice/openoffice-read.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index ab5961e..9c991a4 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -551,7 +551,7 @@ odf_pango_attr_as_markup_string (PangoAttribute *a, GString *gstr)
case PANGO_ATTR_VARIANT :
spans += 1;
if (((PangoAttrInt *)a)->value == PANGO_VARIANT_NORMAL)
- g_string_append (gstr, "<span font_variant=\"mormal\">");
+ g_string_append (gstr, "<span font_variant=\"normal\">");
else
g_string_append (gstr, "<span font_variant=\"smallcaps\">");
break;
@@ -560,6 +560,13 @@ odf_pango_attr_as_markup_string (PangoAttribute *a, GString *gstr)
g_string_append_printf (gstr, "<span letter_spacing=\"%i\">",
((PangoAttrInt *)a)->value);
break;
+ case PANGO_ATTR_FALLBACK :
+ spans += 1;
+ if (((PangoAttrInt *)a)->value)
+ g_string_append (gstr, "<span fallback=\"true\">");
+ else
+ g_string_append (gstr, "<span fallback=\"false\">");
+ break;
case PANGO_ATTR_FOREGROUND :
@@ -569,7 +576,6 @@ odf_pango_attr_as_markup_string (PangoAttribute *a, GString *gstr)
case PANGO_ATTR_STRETCH :
case PANGO_ATTR_SCALE :
- case PANGO_ATTR_FALLBACK :
case PANGO_ATTR_GRAVITY :
case PANGO_ATTR_GRAVITY_HINT:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]