{% extends "base.html" %} {% load glyphtable %} {% block meta_title %}Glyphviewer{% endblock %} {% block 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.

Choose a font to analyse.

{% if ourerror == 0 %}

General information

This shows information for the font file {{ displayfont }} derived from its header.

{% showheader ourheader %}

Return to the top

Testbed

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!
Enter some text to try out the font.

Return to the top

{% if shtables %}

Supported characters

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 %}

Return to the top

{% endif %} {% else %} {% if not is_remote and localfontempty %}

Warning

There is no local font resource to analyse. You can only analyse remote font files.

{% else %}

Error

Glyphviewer was unable to deal with the resource "{{ displayfont }}". {{ ermsg }}

{% endif %} {% endif %} {% endblock %}