Page 1 of 1
RP Font
Posted: Tue Oct 18, 2016 6:51 pm
by nazirul_fitri
Does anyone know how to integrate google font into RP? Based on example 'xDemoWebGoogleFonts' IDE will have a tab call integration to use the google fonts into the webpage. But in RP, I dont see the tab call 'integration'. So i wonder how can i manage to do that.
Re: RP Font
Posted: Tue Oct 18, 2016 9:05 pm
by Stewart Marshall
When a WebPage is compiled, the style sheets included in the the Integration tab result in a <Link> being added to the HTML. This effectively makes the font available throughout the application.
All you need do is specify the name of the font you want to use in your Theme or locally defined style. You won't be able to see the effect when designing, but at run time the browser will find the font and the controls will render correctly.