Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Add a New Font?

Back in 1.4.2, you could import a new font and use it in the story.  Is there a way to do this in 2.0, specifically Harlowe (though I can switch story formats if it works in SugarCube)?  For instance, I used to upload Google Webfonts into my projects.

Comments

  • A CSS @import still works if you place it at the top of your stylesheet.

    Stylesheet:

    @import url(http://fonts.googleapis.com/css?family=Mr+Dafoe&subset=latin,latin-ext);

    .fancy {
    font-family: 'Mr Dafoe', cursive;;
    }
    Example of a passage showing both the default font and the imported font.

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    <span class="fancy">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
    </span>
Sign In or Register to comment.