Enum FontScaleMode
Specifies how should global font scale affect a font.
Assembly: Dalamud.dll
View Source
public enum FontScaleMode
Fields
Default
Do the default handling. Dalamud will load the sufficienty large font that will accomodate the global scale, and stretch the loaded glyphs so that they look pixel-perfect after applying global scale on drawing. Note that bitmap fonts and game fonts will always look blurry if they're not in their original sizes.
View Source
Default = 0
SkipHandling
Do nothing with the font. Dalamud will load the font with the size that is exactly as specified. On drawing, the font will look blurry due to stretching. Intended for use with custom scale handling.
View Source
SkipHandling = 1
UndoGlobalScale
Stretch the glyphs of the loaded font by the inverse of the global scale. On drawing, the font will always render exactly as the requested size without blurring, as long as Dalamud.Interface.Utility.ImGuiHelpers.GlobalScale and ImGuiNET.ImGui.SetWindowFontScale(float) do not affect the scale any further. Note that bitmap fonts and game fonts will always look blurry if they're not in their original sizes.
View Source
UndoGlobalScale = 2
Extension Methods
- System.Enum.Dalamud.Utility.EnumExtensions.GetAttribute``1
- System.Enum.Dalamud.Utility.EnumExtensions.GetAttributes``1
- Dalamud.Utility.EnumExtensions.IsObsolete(System.Enum)