Skip to main content

A Django app for examining web fonts and the characters they contain.

Project description

About

Glyphviewer is a web application that analyses web font files. This app will parse any web font file provided as input, and will display its general information (such as name and copyright details) to the user. Glyphviewer also provides a testbed where users can enter text, and have it displayed using the font. Finally, this application can display the characters supported by the font along with their Unicode codepoints. A demonstration is available here.

Installation

Glyphviewer and its dependencies can be installed via the command:

pip install glyphviewer

The next stage is to add “glyphviewer” to your INSTALLED_APPS list in settings.py, and add the desired URL in one of the urls.py files.

The final stage is to populate the directory with fonts where you display your chosen font or fonts. The Glyphviewer application comes with its own set of fonts adapted from the Free UCS Outline Fonts; they have been converted to WOFF form for quicker download. These can be moved into the correct directory via the following shell command:

python manage.py collectstatic

The font files wil then be moved into the {STATIC_ROOT}/glyphviewer/fonts/ directory, and the browser will read the files from the {STATIC_URL}/glyphviewer/fonts/ folder.

The HTML template files in this application have been redesigned to work with the Mezzanine CMS. The redesign removed any explicit references to particular stylesheets found with earlier versions. The app (and the fonts) are released under a GNU general public license. If you wish to do any changes, pop over to the GitHub repository for the app.

Versions

  • 0.1 (June 11th 2011) - Initial release.

  • 0.2 (June 28th 2013) - Added setup script to create a PyPI package. Removed bugs.

  • 0.3 (February 15th 2014) - Made compatible with Mezzanine and Bootstrap, changed styles for errors, now handles empty local directories.

  • 0.4 (January 16th 2016) - Now handles cases where remote fonts are inaccessible using CORS; removed the limitation that restricted characters to the BMP; added documentation for above.

  • 0.5 (March 31st 2017) - Updated to be compatible with Django 1.10. Now automatically install dependencies using pip.

  • 0.6 (March 18th 2018) - Add WOFF2 compatibility.

  • 0.7 (December 6th 2020) - Updated for Python 3 compatibility.

  • 0.8 (December 10th 2020) - Better representation of font header information as text; better use of urllib for Python 3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glyphviewer-0.8.1.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

glyphviewer-0.8.1-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file glyphviewer-0.8.1.tar.gz.

File metadata

  • Download URL: glyphviewer-0.8.1.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for glyphviewer-0.8.1.tar.gz
Algorithm Hash digest
SHA256 caacf6318d13b99c942ad6bfb02fd2db10ffbd3b51fd107f31a9f7456f9d96c5
MD5 235c8be1edb100b6cae546abf091ff1f
BLAKE2b-256 a5d3c98c733d01e3fd50f4cd31d693dbfc7c06246368aaeaca3588dea4535ca8

See more details on using hashes here.

File details

Details for the file glyphviewer-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: glyphviewer-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for glyphviewer-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5da1bf4da2e8517d661fab45d8f9e761bb03bde93d70d095113339a981126ccd
MD5 906fed862586f3164a320d19977db7cc
BLAKE2b-256 770075d0865861e92d6c3f73a46ea7c4a4d17769db67249df5bbe9e862525efb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page