public static final class ImGuiFreeType.RasterizerFlags
extends java.lang.Object
You can set those flags on a per font basis in ImFontConfig::RasterizerFlags. Use the 'extra_flags' parameter of BuildFontAtlas() to force a flag on all your fonts.
Modifier and Type | Field and Description |
---|---|
static int |
Bold
Styling: Should we artificially embolden the font?
|
static int |
ForceAutoHint
Indicates that the auto-hinter is preferred over the font's native hinter.
|
static int |
LightHinting
A lighter hinting algorithm for gray-level modes.
|
static int |
Monochrome
Disable anti-aliasing.
|
static int |
MonoHinting
Strong hinting algorithm that should only be used for monochrome output.
|
static int |
NoAutoHint
Disable auto-hinter.
|
static int |
NoHinting
By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
|
static int |
Oblique
Styling: Should we slant the font, emulating italic style?
|
Constructor and Description |
---|
RasterizerFlags() |
public static final int NoHinting
public static final int NoAutoHint
public static final int ForceAutoHint
public static final int LightHinting
public static final int MonoHinting
public static final int Bold
public static final int Oblique
public static final int Monochrome