Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

jQuery based Webfonts library

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 libs
Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 .jshintrc
Octocat-spinner-32 GPL-LICENSE
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.md
README.md

jquery.webfonts

jQuery based webfonts extension

Introduction

jQuery WebFonts extension adds font embedding capability to jquery using the WebFonts technology. The extension provides a flexible way to choose font from a font repository and apply on html elements.

Features

  • Flexible font repository. The extension can work with any font repository file system. See more..
  • Provides many APIs to customize and extend. See more...
  • Applies font based on the html lang attribute of the elements
  • Make sure the font defined using font-family style for any elements, either using inline css or external css' available for the reader. - without any extra code. See Examples

For examples, API, and usage information, please visit wiki

Test

Before you can run the tests, make sure the submodules are updated:

git submodule update --init

Then open up ./test/index.html in your browser.

Some browsers will not be able to load JSON using AJAX if you run the tests as local files (file://), so you should run them from a web server (http://).

License

You may use jquery.webfonts under the terms of either the MIT License or the GNU General Public License (GPL) Version 2 or later.

See GPL-LICENSE and MIT-LICENSE for details.

Developers

This project is part of Wikimedia Foundation's Project Milkshake. See https://www.mediawiki.org/wiki/Project_Milkshake

Something went wrong with that request. Please try again.