mavzermete 1
mavzermete
Fethi Polat 1
Fethi Polat
Hikaye Ekle

Cevaplanmadı Font dots problem

  • Konuyu başlatan Konuyu başlatan EnZiiiiK
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 10
  • Görüntüleme Görüntüleme 2K
Problem is in your font settings.

Change the font settings it will be o'right.

Which settings do you mean?

it needs some tweaks over client source.

Yeah, but where? I wasted so much time to find something what fix this..
like what? I also have the same problem with arial font.

you can consider changing your font since newer clients aren’t supposed to run arial font they’re optimized for tahoma font

open your locale directory and open locale_game.txt search for localeInfo.UI_DEF_FONT and change Arial to Tahoma

I have same problem with Tahoma too..
 
Son düzenleme:
lol try 11 or 10 font sizes might help also can you please let us know how did you removed the dots ?

With 11 few words still have a dot.. Only on 12 its without dot but with deformation in few sentances.. With 14 its not deformed but font is so big :/ Im still looking for some fix..

In GrpFontTexture.cpp and TextBar.cpp under LOGFONT I added
Kod:
    HDC hDC = m_dib.GetDCHandle();
    if (hDC)
    {
        auto px = fontSize * 72 / 96;
        fontSize = -MulDiv(px, GetDeviceCaps(hDC, LOGPIXELSY), 72);
    }

In both files I changed this too
Kod:
        logFont.lfOutPrecision        = OUT_TT_ONLY_PRECIS;
        logFont.lfClipPrecision        = CLIP_DEFAULT_PRECIS;
        logFont.lfQuality            = NONANTIALIASED_QUALITY;
        logFont.lfPitchAndFamily = VARIABLE_PITCH;

as last I added this under SetBkColor(hDC, 0);
Kod:
    SetGraphicsMode(hDC, GM_ADVANCED);
    SetMapMode(hDC, MM_TEXT);

Autor of this code is "Vanilla"
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Benzer konular

Cevaplar
1
Görüntüleme
93
  • Soru Soru
Cevaplanmadı Owsap Itemshop
  • 5.00 yıldız(lar) 1 Değerlendirme
Cevaplar
0
Görüntüleme
125
Geri
Üst