diff --git a/src/lime/text/Font.hx b/src/lime/text/Font.hx index 4fa2655362..a46b3a8ebd 100644 --- a/src/lime/text/Font.hx +++ b/src/lime/text/Font.hx @@ -714,7 +714,7 @@ class Font } #end - @:noCompletion private function __setSize(size:Int, dpi:Int):Void + @:noCompletion private function __setSize(size:Int, dpi:Int = 72):Void { #if (lime_cffi && !macro) NativeCFFI.lime_font_set_size(src, size);