*/
+#include <libcxml/cxml.h>
#include <boost/optional.hpp>
#include <boost/filesystem.hpp>
#include <string>
{
public:
Font () {}
+
Font (std::string id_)
: id (id_) {}
+
+ Font (cxml::NodePtr node);
+
+ void as_xml (xmlpp::Node* node);
/** Font ID, or empty for the default font */
boost::optional<std::string> id;
boost::optional<boost::filesystem::path> file;
};
+
+bool
+operator!= (Font const & a, Font const & b);