{% extends "base.html" %} {% load glyphtable %} {% block meta_title %}Glyphviewer{% endblock %} {% block extra_css %} {% endblock %} {% block main %}
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.
For more information about this application, see the documentation.
Note: most modern fonts represents hundreds, if not thousands, of characters. When the Shows characters in fonts checkbox is checked, the app will try to display all of the them. The result will be a very long page, which may be an issue for users with bandwidth problems.
{% if ourerror == 0 %}This shows information for the font file {{ displayfont }} derived from its header.
{% showheader ourheader %}Here is a sample message. Below it lies a text area where you can enter your test text. Adjust the font size, and click "Try it" to change the message. Hit "Reset" to return all settings to their defaults.
Hello world!{% if shtables %}
The following shows the characters in the font using its glyphs. Unicode code points are displayed underneath each character.
{% for ourglyph in ourglyphs %} {{ ourglyph|glyphtable:8 }} {% endfor %} {% endif %} {% else %}Glyphviewer was unable to deal with the resource {{ displayfont }}. {{ ermsg }}