Skip to content

sannorozco/responsiveLettering

 
 

Repository files navigation

responsiveLettering

Responsive Lettering

Responsive lettering: scalable, interpolating vector shapes that can make themselves fit in a range of rectangles. More examples here. An introduction of the parts is here.

The python code consists of a couple of scripts to generate the SVG needed for responsive lettering. Somehow these compile into a RoboFontExtension, but that probably needs to be fixed. All scripts are for RoboFont.

The www/ folder contains a working example. As it is loading .js and .json files it might be necessary to serve the files from a real server. When everything works it should look something like this.

The www code depends on jQuery, but probably not a very specific version, and snap.js, a very handy library for manipulating SVG data. All the vector data comes from json, so in theory it might be possible to rewrite all this without snap.js.

Ideas and code very much in debt to Jeremie Hornus, Nina Stössinger, Andrew Johnson, Onur Yazıcıgil, and Nick Sherman.

License

The Respsonve Lettering package is published under the BSD-3 license.

About

Responsive lettering in SVG, export tools for RoboFont.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.3%
  • HTML 20.7%
  • Python 8.6%
  • CSS 0.4%