Google Font "Light"

  1. 7 days ago

    John M

    Aug 9 Pre-Release Testers Austin TX

    I have been using Google web fonts in a number of application. Special thanks to @Michel B for his details in this thread: https://forum.xojo.com/10243-google-fonts

    (Seems like I forget to express thanks enough to those that help me. So thanks again MB!)

    I am using Google Open Sans and I have plugged the following into my app.HTML header;

    <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
    
    <style>.OpenSans { font-family: 'Open Sans', sans-serif; } </style>

    The font comes in a number of flavors: Light, Regular, SemiBold ...etc

    My code displays the Regular. How do I get the Light?

    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet">

    300 is light
    400 is regular

  2. Alberto D

    Aug 9 Pre-Release Testers, Xojo Pro Answer
    Edited 7 days ago
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet">

    300 is light
    400 is regular

or Sign Up to reply!