Skip to content

FontLocaleResolutions

Uncategorized - no domain claims this class yet. Categorize

Class Documentation

Edit documentation

The sizes of a FontResolutionData for one locale. The FontResolutionData page describes how the client picks an entry, and how it picks a value from resolutions.

Properties

localeName

String = "en_us"
Edit documentation

The locale the entry applies to, compared with the client's locale ignoring case. An entry that does not set it counts as en_us, which makes it the fallback for every locale that has no entry of its own.

resolutions

List<FontResolution> = []
Edit documentation

The values for this locale, as FontResolution entries. With FontResolutionData.autoScale set, only the first entry is read. Without it, the client picks the entry whose screenHeight is closest to the window height.

Most shipped entries have one item. The ones that list several screen heights have between 7 and 13.

Referenced by 1 class · 1 property