Jump to content
Search Community

Monops

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Monops

  1. Ok, I think I won over the machine with webfont loader using the custom tag:

    WebFont.load({
    custom: {
    families: ['TypeWriter'],
    urls: ['../GenericInclude/css/dpLib.css']
    },
     
    That preloads the font like a boss :)
  2. Thanks!

     

    I tried your fix and works, but it's a little arbitrary :) I cannot use the google font library as it works for the web fonts, while in my case I only deal with local fonts.

    $(window).on("load", handler) does not work as well. do you have a better solution? :)

  3. Hello!

     

    No, it's not that: I've done a full example for you, showing the problem. Just check the "SmallTest.html" file, the rest is just includes :)

    It gives me this outcome on chrome:

    7y9L3C.jpg

     

    For my work, I only need this to work on chrome.

  4. Hello!

     

    I noticed that if I use SplitText on a div containing text, and that div has a class defining a font, than Splittext will fail in creating the lines array, making an array of lines that is pretty much wrong: the lines are always too long or too short, never correct.

     

    I've made a small example in codepen up there: can you tell me if I'm doing something wrong?

     

    Cheers!

    Alex

    See the Pen QwyYNL by anon (@anon) on CodePen

×
×
  • Create New...