Jump to content
Sign in to follow this  
Czar

Font Demo

Recommended Posts

I am trying to find a demo that uses different fonts loaded from the internet. I cannot find a suitable sample, anyone got an idea?

ideally something basic like how to load (for example) a cursive font and then set a label to use the new font.

Share this post


Link to post
Share on other sites

in project options add a webfont (see https://jonlennartaasenden.wordpress.com/2017/10/04/webfonts-in-smart-mobile-studio/)

  W3Memo1.Font.Name := 'Tangerine'; 
  W3Memo1.Font.Style := [fsItalic];
  W3Memo1.Font.Size := 48;
  W3Memo1.Font.Weight := 'bold';

In this case I added Font 'Tangerine'  (see also https://developers.google.com/fonts/docs/getting_started)

font.JPG

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×