Page 1 of 2

My Special Font

Posted: Wed Dec 12, 2018 9:42 am
by sands
i want use my special font i don't like default font how can i put my font? this option is available in the my app (mavens 6.06)?

Re: My Special Font

Posted: Wed Dec 12, 2018 10:57 am
by Kent Briggs
System tab -> Client Media -> Font family

Note however that fonts are rendered in a browser based on what the player already has installed on their computer. So any font name not recognized will just revert back to a default system font. The way to get around that is to use Google's web fonts, which you can embed with this setting:

System tab -> Web Settings -> Head section HTML

For example, if I visit fonts.google.com and select "Roboto Condensed" by clicking the red + next to it and then clicking the Family Selected bar at the bottom, it shows me this code to enter into the Head section HTML setting:

Code: Select all

<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed" rel="stylesheet">
And this CSS to enter into the Font Family setting:

Code: Select all

'Roboto Condensed', sans-serif;
Note: do not include the semi-colon on the end like they show. Doing that will prevent it from working.

Re: My Special Font

Posted: Wed Dec 19, 2018 7:45 pm
by sands
Hi,Kent
thanks for reply my post
i have different problem by font family!
i want to use different font for language 1 and use another one font for language 2 , 3 , . . .
how can i resolve this?

Re: My Special Font

Posted: Wed Dec 19, 2018 8:03 pm
by Kent Briggs
sands wrote: i have different problem by font family!
i want to use different font for language 1 and use another one font for language 2 , 3 , . . .
how can i resolve this?
Sorry, it's not currently setup for that. Do you want to do this because some fonts don't have the characters you need for a particular language or is it just for style reasons? If it's the former, I wonder if you could use a font editor and build your own "super font" that combined multiple fonts into one?

Re: My Special Font

Posted: Wed Dec 19, 2018 8:13 pm
by sands
i have different language (Arabic,Persian,English,Turkish) Arabic and Persian have special font Not Good by Arial or English sans

Re: My Special Font

Posted: Wed Dec 19, 2018 8:50 pm
by Kent Briggs
sands wrote:i have different language (Arabic,Persian,English,Turkish) Arabic and Persian have special font Not Good by Arial or English sans
Supposedly Google's "Noto" font family is good for multiple languages but I'm not sure if that works for a single file or requires different files. You can specify multiple fonts (separated by commas) in the Font Family setting but I doubt the browser will attempt to match the right one with the language used.

Re: My Special Font

Posted: Mon Jan 07, 2019 4:42 pm
by Kent Briggs
You can now set a different font family for each active language in version 6.07.

Re: My Special Font

Posted: Tue Jan 08, 2019 1:59 pm
by sands
hi Kent
thanks for 6.07 update
i have one file font SansIMT.TFF and i upload this file in the my host this address mydomain.com/fonts/SansIMT.TFF how can i set this font to language 2
please learn me step by step if possible

**i want use default mavens font for language 1

Re: My Special Font

Posted: Tue Jan 08, 2019 3:03 pm
by Kent Briggs
sands wrote:i have one file font SansIMT.TFF and i upload this file in the my host this address mydomain.com/fonts/SansIMT.TFF how can i set this font to language 2
please learn me step by step if possible
In the Client Media group on the Poker Mavens System tab, edit the "Font family 2" setting and enter your font name:

Code: Select all

SansIMT
In the Web Settings group, edit the "Head section HTML" setting and enter your link:

Code: Select all

<link href="http://www.mydomain.com/fonts/SansIMT.css" rel="stylesheet">
Then create that .css file and put it with your .ttf file. The contents should look something like this:

Code: Select all

@font-face {
  font-family: 'SansIMT';
  font-style: normal;
  font-weight: 400;
  src: local('SansIMT'), url(http://www.mydomain.com/fonts/SansIMT.TTF) format('truetype');
}

Re: My Special Font

Posted: Wed Jan 09, 2019 5:42 am
by sands
Thank you, very good and full and useful :P