Update CairoBindings to use a default of 72 dpi for fonts
We use a default of 72 for now to ensure text is formatted correctly. Not entirely sure why we are stuck on 72 but that is an investigation for the future.
This commit is contained in:
@@ -1824,7 +1824,7 @@ namespace lime {
|
||||
if (fontReference) {
|
||||
|
||||
Font* font = (Font*)val_data ((value)fontReference->Get ());
|
||||
font->SetSize (size);
|
||||
font->SetSize (size, 72);
|
||||
|
||||
}
|
||||
|
||||
@@ -1852,7 +1852,7 @@ namespace lime {
|
||||
if (fontReference) {
|
||||
|
||||
Font* font = (Font*)((HL_CFFIPointer*)fontReference->Get ())->ptr;
|
||||
font->SetSize (size);
|
||||
font->SetSize (size, 72);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user