From 2f99776336c2ca26519fecf439dc20481044bcbc Mon Sep 17 00:00:00 2001 From: Chris Speciale Date: Wed, 30 Oct 2024 12:56:16 -0400 Subject: [PATCH] Font: Set 72 as default dpi for backwards compatibility --- src/lime/text/Font.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);