Dragonflight UI Classic

Dragonflight UI Classic

117k Downloads

Cyrillic font is missing

RustamTastimullin opened this issue · 4 comments

commented

Cyrillic font is missing.
There should be "K".
image

commented

Hey,
please test something for me:

go to "UnitFrame.lua" line 2810, and insert the following code:

 if GetLocale() == "ruRU" then newFont = "Fonts\\FRIZQT___CYR.TTF" end

so it will look like that:

function Module.ChangeFonts()
    local newFont = 'Fonts\\FRIZQT__.ttf'

    if GetLocale() == "ruRU" then newFont = "Fonts\\FRIZQT___CYR.TTF" end
    
    local changeFont = function(f, newsize)
        local path, size, flags = f:GetFont()
        f:SetFont(newFont, newsize, flags)
    end

    local std = 11

    changeFont(PlayerFrameHealthBarText, std)
... ... ...

end

Maybe this will fix it. The "K" etc comes from a blizzard function to breakup large numbers; if this doesn't work, I would need to dig deeper.

commented

x2

commented

Yes! This line fixes up the problem!
Thank you for the fix!
image

commented

Nice, and thanks for reporting!
Will be in the next version as fix.