summaryrefslogtreecommitdiff
path: root/src/font_node.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-24 14:13:37 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-24 14:13:37 +0100
commit2ae92dcc97765deb2845dd07a338858aeb375cb3 (patch)
tree6f0f8dec0b81a0a7d56e8dbc3a87f0986dae6748 /src/font_node.cc
parent13db82c73af330ffbc7a813cd38c5bef36d5b54c (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)));