mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-14 03:47:43 +01:00
Fix GameFontHandle.Text position not counting in scrolls, and add support for font gamma changing
This commit is contained in:
parent
940fbb0a2f
commit
b72bfa9d19
6 changed files with 108 additions and 17 deletions
|
|
@ -134,6 +134,15 @@ namespace Dalamud.Configuration.Internal
|
|||
/// </summary>
|
||||
public bool UseAxisFontsFromGame { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the gamma value to apply for Dalamud fonts. Effects text thickness.
|
||||
///
|
||||
/// Before gamma is applied...
|
||||
/// * ...TTF fonts loaded with stb or FreeType are in linear space.
|
||||
/// * ...the game's prebaked AXIS fonts are in gamma space with gamma value of 1.4.
|
||||
/// </summary>
|
||||
public float FontGamma { get; set; } = 1.0f;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether or not plugin UI should be hidden.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue