Convert TTX to WOFF2
Turn TTX fonts into WOFF2. The XML compiled back into a font with glyph bounding boxes recalculated, keeping its outlines as they are, compressed for the web.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TTX files on the dialor turn it to pick what to do
A web font built from your TTX file.The XML is compiled back into a font and saved as WOFF2.
What you get
One WOFF2 file, compiled from the TTX dump. WOFF2 is a web font format that uses Brotli compression and is about 30% smaller than WOFF.
The glyph outlines are kept as they are. The glyph bounding boxes are recalculated during compilation, so edits you made to the outlines in the XML are reflected in the boxes.
What changes
The text becomes a binary font. TTX is readable and editable as text, and WOFF2 is not, so make your edits before you convert.
To get the XML back from a web font, use WOFF2 to TTX.
When it fails
If the file cannot be parsed, the conversion stops with
input_corrupted. This happens when the XML is not a valid TTX dump.
TTX and WOFF2.What each format is.
The formats
TTX Font XML
fontTools' XML dump of a font. Every table readable and editable as text.
- Extensions
- .ttx
- MIME type
- application
/x -font -ttx - Kind
- Fonts
Web Open Font Format 2
WOFF 2.0, Brotli-compressed web fonts, about 30% smaller than WOFF.
- Extensions
- .woff2
- MIME type
- font
/woff2 - Kind
- Fonts
In your code.The same TTX to WOFF2 conversion through the API, for your app or your agent.
$ cv convert font.ttx font.woff2$ cv convert font.ttx font.woff2Questions.What people ask about TTX to WOFF2.
Not as text. WOFF2 is a compressed binary format, so edit the TTX first and convert again. WOFF2 to TTX turns a WOFF2 file back into XML.
No. The outlines are kept as they are. Only the glyph bounding boxes are recalculated.
The TTX file could not be parsed. The conversion stops with this code when the XML cannot be read as a font dump.
No. This conversion has no options and gives you one file.