Jump to content

Recommended Posts

Posted

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') +
      '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    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

Erich

 

 

 

 

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

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

 

Thanks for suggestions 

 

 

Join the conversation

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

Guest
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...