Giter Site home page Giter Site logo

kerning.js's People

Contributors

cjgammon avatar endtwist avatar jacobq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kerning.js's Issues

slow to initialise

Hi

I am doing some svg animations which were loading quick
but since adding this plugin the scripts are being blocked by the kerning module initialising it work but is slow

Can I disable the auto initialisation and manually apply it to an element ?

Thanks
Mark

Support for non-webkit browsers?

On which browsers will kerning.js work?
I just now realized that IE8 does not appear to support it.
Including the https://github.com/kriskowal/es5-shim to support Array.prototype.reduce method seems to resolve the script error that it generates, but kerning.js still does not work (page doesn't display "This is Kerning.js" like it does in Chrome and Safari).
image

Firefox (tested version 25) does not appear to be supported either -- same output
image

kerning.js breaks kerning pairs

Thanks for providing this library!

I was wondering if there was a way to only insert span elements where actually needed. E.g.

p {
  -letter-kern: -letter-pairs('AV': -0.02em);
}

should only insert span elements for the defined kerning pair.

Currently each letter gets wrapped by a span – which effectively breaks all the native kerning pairs defined by the font file itself (as kerning only happens for adjacent letters).

Toggle Demo

Would love to be able to toggle the demonstrated effects on and off to easily see the difference.

when parseAttributes = True the script actually reloads the page

this is a killer on dynamic sites. I discovered this only because this was actually causing a session toggle function to toggle twice back to its original state.

simply change

$(document).parsecss(self._parse, true);

to

$(document).parsecss(self._parse, false);

script works fine, doesn't reload page

Using in scss

How are kerning.js css statements meant to be written in .scss files? I'm getting an error output of invalid scss when I compile. Even with --quiet, the file written is still an error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.