summaryrefslogtreecommitdiff
path: root/src/font_node.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-24 01:06:04 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-24 01:06:04 +0100
commit9e523d8a4062ad52330dff6c2ba50e54184c9bb2 (patch)
treecc10da19d90f9ad1d17066e152602c3f88e5bf2b /src/font_node.cc
parent242d42f32a1fbcf9fb1fe64d8c98e907e407703d (diff)
No-op: whitespace.
Diffstat (limited to 'src/font_node.cc')
-rw-r--r--src/font_node.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font_node.cc b/src/font_node.cc
index 963eb0d8..c3141d86 100644
--- a/src/font_node.cc
+++ b/src/font_node.cc
@@ -34,7 +34,7 @@ using namespace dcp;
FontNode::FontNode (cxml::ConstNodePtr node, int tcr)
{
text = node->content ();
-
+
id = node->optional_string_attribute ("Id");
size = node->optional_number_attribute<int64_t> ("Size").get_value_or (0);
aspect_adjust = node->optional_number_attribute<float> ("AspectAdjust");
@@ -61,7 +61,7 @@ FontNode::FontNode (cxml::ConstNodePtr node, int tcr)
BOOST_FOREACH (cxml::NodePtr& i, f) {
font_nodes.push_back (shared_ptr<FontNode> (new FontNode (i, tcr)));
}
-
+
list<cxml::NodePtr> t = node->node_children ("Text");
BOOST_FOREACH (cxml::NodePtr& i, t) {
text_nodes.push_back (shared_ptr<TextNode> (new TextNode (i, tcr)));