NGClient and CSS Web Fonts

Forum to discuss the new web client version of Servoy.

NGClient and CSS Web Fonts

Postby kwpsd » Thu Dec 24, 2020 9:20 pm

Merry Christmas to all!

Has anyone had success using CSS web fonts in the NG client? Reference: https://www.w3schools.com/css/css3_fonts.asp

We copy our fonts to the following folder:

C:\Servoy\application_server\server\webapps\ROOT


and reference them per W3School's example:

Code: Select all
@font-face {
  font-family: myFirstFont;
  src: url(sansation_light.woff);
}

div {
  font-family: myFirstFont;
}


but, the font does not change. It shows whatever the default font is. Are CSS web fonts allowed in the NG client?

Thanks!
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 5 guests