Make size_in_pixels() more accurate.
[libdcp.git] / src / subtitle_string.h
index f6d0974b97b0cc0bdaef44a4f26b845189ffc784..f6c398361a7adaa1ebf30b4bf5664ef215c89fa0 100644 (file)
@@ -142,7 +142,7 @@ public:
                return _size;
        }
 
-       int size_in_pixels (int screen_height) const;
+       float size_in_pixels (int screen_height) const;
 
        float space_before () const {
                return _space_before;