- Messages
- 10
- Country
Hi, i'm trying to use a custom font in my in-game panel but i'm having issues with it.
I'm using font face in a css file to load but the application doesn't pick it up. I know it is not a problem in the code or the url since i've done enough tests with other fonts. Some fonts get picked up but others don't.
Also I need to use some symbols so i added them in a unicode-range property but this does not work either, they still look like empty rectangles in the game.
Any ideas what could be the problem?
@font-face {
font-family: "Segoe UI";
src: url("/Fonts/seguisym.ttf") format("truetype");
unicode-range: U+0000-007F,
U+0080-00FF,
U+0100-017F,
U+2501, U+25B6;
}
I'm using font face in a css file to load but the application doesn't pick it up. I know it is not a problem in the code or the url since i've done enough tests with other fonts. Some fonts get picked up but others don't.
Also I need to use some symbols so i added them in a unicode-range property but this does not work either, they still look like empty rectangles in the game.
Any ideas what could be the problem?
@font-face {
font-family: "Segoe UI";
src: url("/Fonts/seguisym.ttf") format("truetype");
unicode-range: U+0000-007F,
U+0080-00FF,
U+0100-017F,
U+2501, U+25B6;
}