Forum

> > CS2D > Scripts > New fonts
Forums overviewCS2D overview Scripts overviewLog in to reply

English New fonts

3 replies
To the start Previous 1 Next To the start

old New fonts

hyesosivixd
User Off Offline

Quote
Have any ideas how render new font? Use image function is very long

old Re: New fonts

Mami Tomoe
User Off Offline

Quote
Actually, using images isn't "too long" if you create a good API for that.

Of course, you probably mean it's too complicated, which I understand.

Currently, as far as I know, it's not possible to override the client font, and for a good reason, because it can corrupt different language users.

I would suggest using predefined images, if possible, and if you need to generate characters that aren't predefined, you'd need to create an image API.

old Re: New fonts

hyesosivixd
User Off Offline

Quote
The fact of the matter is that loading a huge amount of images will cause a lags. Example a the table with players and game statistics is 200 characters long, and every time you open the table, a lot of images will be loaded, which will cause lags

old Re: New fonts

Mami Tomoe
User Off Offline

Quote
You shouldn't display too much data to begin with...

But if you must, using images won't work, but there's no other option.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview