Jump to content

How to use google webfonts with uniGUI ?


Recommended Posts

Google deliveres a lot of webfonts to developers : http://www.google.com/fonts/


and Google creates Javascript code to use the selected font: 

<script type="text/javascript">
  WebFontConfig = {
    google: { families: [ 'Roboto+Slab::latin' ] }
  (function() {
    var wf = document.createElement('script');
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(wf, s);
  })(); </script>

How can i use different webfonts with DelphiXE3 and uniGUI 


Thanks for helping






P.S.:  ...and another logistic-question:

  • what is the best way to create a multilanguage project  ... 


Thanks for suggestions 



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...