Replace DCP parser with basic version that uses libdcp.
[libsub.git] / src / font_size.h
index 62bbd09854051c1dc91a192ed1449560fc209d80..4f49eb73505ae4ab7ef36932173bfa3af31c3b84 100644 (file)
@@ -49,10 +49,13 @@ public:
                return _points;
        }
 
+       bool specified () const;
+
        float proportional (int screen_height_in_points) const;
        int points (int screen_height_in_points) const;
 
        static FontSize from_points (int p);
+       static FontSize from_proportional (float p);
 
 private:
        /** as a proportion of screen height */