add fonts to font style dropdown

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

add fonts to font style dropdown

#1

Postby Segi » Fri Jun 10, 2016 9:01 pm

As the title says, when you go into any control and want to modify the text appearance, there's a font dropdown with 13 different fonts. Is there a way to add additional fonts ?
0 x

Steve
Moderator
Moderator
Posts: 419
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#2

Postby Steve » Mon Jun 13, 2016 10:32 am

Hi Segi,

You can add additional fonts by modifying the installation_preferences.xml file inside:

/Ebase_Install_Dir/UfsClient/preferences/installation_preferences.xml

Inside here you can see the XML for

Code: Select all

<fonts>
      <font>Arial, Helvetica, sans-serif</font>
        <font>"Arial Black", sans-serif</font>
        <font>cursive</font>
        <font>"Courier New", Courier, monospace</font>
        <font>fantasy</font>
        <font>Geneva, Arial, Helvetica, sans-serif</font>
        <font>Georgia, "Times New Roman", Times, serif</font>
        <font>monospace</font>
        <font>serif</font>
        <font>sans-serif</font>
        <font>Tahoma, sans-serif</font>
        <font>"Times New Roman", Times, serif</font>
        <font>Verdana, Arial, Helvetica, sans-serif</font>
    </fonts>
You can add your additional fonts to this list. Just add a new <font> element inside <fonts>.

Kind regards

Steve
0 x


Who is online

Users browsing this forum: No registered users and 3 guests