-
Notifications
You must be signed in to change notification settings - Fork 124
Custom Font starting 2.5.0
Mark Kevin Baldemor edited this page Jan 9, 2021
·
1 revision
Starting version 2.5.0 , we have reworked then Font Installation. Roboto font resources were extracted out from gwt-material project and let the developers apply there designated font resources on the app level - this feature will be comming on 2.5.0 .The benefit for this is gwt-material now removed the font resources (Which becomes lightweight) and developers can use any font resources instead of roboto.
- Prepare any Font Resources Files (.ttf, .woff etc) and place it to your webapp/font directory.
-
Create your font.css (i.e roboto.css) and create a reference to your Font Resources Files using
@font-face
. -
Include the css file on either using
<link href="font/roboto.css" />
into your index.html or using ClientBundle for dynamic injection.