{% extends "base.html" %} {% load glyphtable %} {% block meta_title %}Glyphviewer{% endblock %} {% block meta_keywords %}font, ttf, otf, woff, glyph, character, Unicode{% endblock %} {% block meta_description %}An application to analyse font files.{% endblock %} {% block title %}Glyphviewer{% endblock %} {% block extra_css %} {% endblock %} {% block main %}

Glyphviewer is a web application that analyses web font files. This app will attempt to parse any web font file provided as input. If successful, it will display general "header" 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, if the user chooses Shows characters in font, this application will display the characters supported by the font along with their Unicode codepoints.

For more information about this application, see the documentation.

Note 1: 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 characters in the font (albeit at the bottom of the page). The result may be a very long page. This is why Shows characters in fonts is turned off by default.

Note 2: Glyphviewer will now only be guaranteed to work with remote fonts if Cross-origin Resource Sharing (CORS) is enabled in the remote server. Please see the documentation for more information on this.

Choose a font to analyse.

{% if ourerror == 0 or ourerror == 9 %} {% if ourerror == 9 %}

Warning

Glyphviewer has issues dealing with the resource "{{ displayfont }}". {{ ermsg }}

For more information, please see the documentation.

{% endif %}

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