• Problem with fonts and languages
    11 replies, posted
When I create a font using [CODE] surface.CreateFont( "eChat_18", { font = "Roboto Lt", size = 18, weight = 500, antialias = true, } )[/CODE] the font doesn't working with languages that are not english. Why?
My guess is that some of that font's characters are missing. If you want to see what characters that font actually contains, you could do this: [B]1. [/B]Press the windows key and R [B]2. [/B]Type 'charmap.exe' into the window that comes up [B]3. [/B]In the character map window that gets opened once you type that, change the font to your font [B]4. [/B]If you scroll down, you can see all the available characters in the font
[QUOTE=MPan1;49864930]My guess is that some of that font's characters are missing (I'll check)[/QUOTE] Roboto Light is the default GMOD font. And russian symbols are in there.
[QUOTE=uRandomAlex;49864952]Roboto Light is the default GMOD font. And russian symbols are in there.[/QUOTE] Oh yeah, you're right. That's odd... what are you using to write stuff with that font?
[QUOTE=MPan1;49864956]Oh yeah, you're right. That's odd... what are you using to write stuff with that font?[/QUOTE] I'm using Exho's Chatbox. [url]https://github.com/Exho1/eChat[/url] [editline]4th March 2016[/editline] [QUOTE=MPan1;49864956]Oh yeah, you're right. That's odd... what are you using to write stuff with that font?[/QUOTE] Is there any solution to this problem?
Up. Please, help me!
For me it works, just to use the default "Roboto" instead of "Roboto Lt". Here is a list of all languages that are supported by that font. [url]https://www.google.com/design/spec/style/typography.html#typography-language-categories-reference[/url].
[QUOTE=Lolle;49872288]For me it works, just to use the default "Roboto" instead of "Roboto Lt". Here is a list of all languages that are supported by that font. [url]https://www.google.com/design/spec/style/typography.html#typography-language-categories-reference[/url].[/QUOTE] No, don't work even using simple "Roboto". May be problem is in eChat?
Willox made some changes to font rendering recently, they should be on the dev branch currently. You should check if it works there.
[QUOTE=Ducky3426;49878251]Willox made some changes to font rendering recently, they should be on the dev branch currently. You should check if it works there.[/QUOTE] Can users with not-dev GMOD join my server? If I change steam.inf to match current version of GMOD? I mean, is there any big changes that can break compatability with non-dev clients?
[QUOTE=uRandomAlex;49881740]Can users with not-dev GMOD join my server? If I change steam.inf to match current version of GMOD? I mean, is there any big changes that can break compatability with non-dev clients?[/QUOTE] We only increase the contents of steam.inf when necessary
[QUOTE=Willox;49881746]We only increase the contents of steam.inf when necessary[/QUOTE] Unfortunately, I can't connect to my server with dev client, even with steam.inf modification. Waiting for a new update
Sorry, you need to Log In to post a reply to this thread.