Font symbols with index higher than 255 always display with Tahoma font
7 replies, posted
So, here is an illustration - the whole string was rendered with Palatino Linotype font that [B]has[/B] cyrillic letters in it.
[url=http://postimg.org/image/n4halkc8b/][img]http://s25.postimg.org/n4halkc8b/2015_03_29_00004.jpg[/img][/url]
But in Garry's Mod cyrillic letters are displayed with Tahoma despite what font has been used. The same happens with all other symbols with index higher than 255, it feels like Garry's Mod just doesn't want to read them and replaces with the symbols from the default Tahoma font. The font was created with [B]surface.CreateFont[/B]
[CODE]surface.CreateFont( "Pala24" , {
font = "Palatino Linotype",
size = 24,
weight = 500,
antialias = true,
italic = false
})[/CODE]
I need to figure out this problem, my new GUI just doesn't look fancy with annoyingly-boring Tahoma.
It's a known bug with the game, you cant fix it.
Well, will developers fix this someday?
Is there an option to create font with a texture?
[QUOTE=Phyksar;47418583]Is there an option to create font with a texture?[/QUOTE]
No, but you could theoretically do some interesting stuff with GWEN if you wanted to make your own font drawing library.
Is it some sort of advanced coding without Lua? If it's so, I think I don't have an opportunity to write any libraries, I'm running a server and I need to have all stuff download automaticaly, without any manual installation.
[QUOTE=Phyksar;47419080]Is it some sort of advanced coding without Lua? If it's so, I think I don't have an opportunity to write any libraries, I'm running a server and I need to have all stuff download automaticaly, without any manual installation.[/QUOTE]
GWEN is included in GMod and you don't need to manually install anything.
Sorry, you need to Log In to post a reply to this thread.