Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Drag and drop font testing
JavaScript CSS
tree: 9f83a7c706

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
build/tools
node_modules
public
views
.gitignore
Makefile
MakefileSourcemap
app.js
readme.md

readme.md

font dragr

Introduction

Font dragr is a @font-face testing web app that allows your to test fonts right in the browser. Whether it's from your file system or from the font dragr gallery you can easily test in multiple browsers how a font will look.

In supporting browsers1 you can simply drag and drop a font file right into the browser and it will render for you to test away.

Bookmarklet

The font dragr bookmarklet2 allows you to test custom fonts on any website either from the font dragr gallery or by dropping a font from your file system1 into a page with the bookmarklet loaded.

1. Works in FF3.6+, Chrome 6+ and IE10 PP2.
2. Github doesn't like bookmarklets so go to the font dragr homepage and get it off there.

Run it locally

You can get a copy of font dragr running on your local environment following these steps:

  1. Install Node.js and Express with Jade follow the instructions on each project page.
  2. Run make clean install to build the project. This will create a deploy folder
  3. Run `node app.js' inside the deploy folder
  4. View 127.0.0.1:45995 on your machine to see it working.

This project doesnt include the gallery files found on font dragr live site but dropping font files from your file system will work fine in supporting browsers.

Build with Source Map support

Source maps allow you to map your combined files back to their original state. Using the MakefileSourcemap make file this will do a build using Closure Compiler which can generate source maps. See dev.fontdragr.com in Chrome Canary or WebKit Nightly with Source Maps enabled.

Run make -f MakefileSourcemap clean install and it'll do some extra stuff to get source map support added in.

Contribute

See something that can be improved, want a feature added or you've found a bug?

Feature or bug fix

  1. Fork the project and make your changes or write a fix for that bug you found.
  2. Create a pull request and smile :)

Found a bug or want to request a feature?

  1. File an issue with as much information as possible in the issue section of the project

License

Font dragr is licensed under MIT so you can pretty much do as you please with it. See license file.

Something went wrong with that request. Please try again.