Don't fill in vertical_position.lines with an arbitrary value.
[libsub.git] / src / font_size.h
index 6439c8f7d114a44297491062ff672e56ecb00ceb..62bbd09854051c1dc91a192ed1449560fc209d80 100644 (file)
@@ -52,6 +52,8 @@ public:
        float proportional (int screen_height_in_points) const;
        int points (int screen_height_in_points) const;
 
+       static FontSize from_points (int p);
+
 private:
        /** as a proportion of screen height */
        boost::optional<float> _proportional;