Changeset 295417 in webkit
- Timestamp:
- Jun 9, 2022, 5:05:35 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/platform/graphics/gtk/SystemFontDatabaseGTK.cpp
r295410 r295417 34 34 } 35 35 36 auto SystemFontDatabase::platformSystemFontShorthandInfo(FontShorthand fontShorthand) -> SystemFontShorthandInfo36 auto SystemFontDatabase::platformSystemFontShorthandInfo(FontShorthand) -> SystemFontShorthandInfo 37 37 { 38 38 GtkSettings* settings = gtk_settings_get_default(); … … 55 55 size = size * (screenDPI() / 72.0); 56 56 57 SystemFontShorthandInfo result { AtomString::fromLatin1(pango_font_description_get_family(pangoDescription)), s ize, normalWeightValue() };57 SystemFontShorthandInfo result { AtomString::fromLatin1(pango_font_description_get_family(pangoDescription)), static_cast<float>(size), normalWeightValue() }; 58 58 pango_font_description_free(pangoDescription); 59 59 return result;
Note:
See TracChangeset
for help on using the changeset viewer.