[ease/inspector: 1/4] Properly support font weight in HTML export.
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease/inspector: 1/4] Properly support font weight in HTML export.
- Date: Thu, 3 Jun 2010 06:34:45 +0000 (UTC)
commit 6e8396cc6bb9f5574be7c402dd0753f6e340c6b5
Author: Nate Stedman <natesm gmail com>
Date: Wed Jun 2 21:19:50 2010 -0400
Properly support font weight in HTML export.
src/Element.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/Element.vala b/src/Element.vala
index eb10810..fed40a1 100644
--- a/src/Element.vala
+++ b/src/Element.vala
@@ -117,8 +117,7 @@ public class Ease.Element : GLib.Object
html += " font-size:" + data.get("font_size") + "pt;";
- html += " font-weight:" + data.get("font_name").to_int().to_string() +
- ";";
+ html += " font-weight:" + data.get("font_weight") + ";";
html += " font-style:" + data.get("font_style").down() +
";";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]