AshitaXI / Ashita

Issue tracker and wiki for the Ashita project.
https://ashitaxi.com/
6 stars 1 forks source link

[BUG] font target with addon tparty #59

Open gilles007- opened 6 months ago

gilles007- commented 6 months ago

Ashita Version (Type /ashita in-game to get this.) 4.2.0.3

FFXI Version (Type /version in-game to get this.) /version did nothing but /ver report version 30240327_1

Windows Version (ie. Start > About Your PC) Windows 10 Pro 22H2 19045.4291 Windows Feature Experience Pack 1000.19056.1000.0

Describe The Bug when you change game resolution, font target is too big or too small it seems that font height is fixed in first launch of the addon and never calculated again

Steps To Reproduce start with 1600x900 as game resolution then switch to 800x450

Screenshots i don't have screenshots at this moment

Additional Information to resolve, add this to function update_settings :

    -- Prepare the font defaults..
    tparty.font_target.font_height = scaling.scale_f(10);
    for x = 1, 18 do
    ...