Skip to content

Commit

Permalink
Font: Make sure we pass dpi value
Browse files Browse the repository at this point in the history
  • Loading branch information
dimensionscape committed Oct 30, 2024
1 parent 2f99776 commit fa77a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lime/text/Font.hx
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ class Font
@:noCompletion private function __setSize(size:Int, dpi:Int = 72):Void
{
#if (lime_cffi && !macro)
NativeCFFI.lime_font_set_size(src, size);
NativeCFFI.lime_font_set_size(src, size, dpi);
#end
}
}
Expand Down

0 comments on commit fa77a6b

Please sign in to comment.