Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Async Font Compiler

An asynchronous font compiler based on FontGoggles for RoboFont.

Read more about FontGoggles here on the website FontGoggles — Interactive Previewing and Comparing .

How?

You can use the following example to comiple a font to a byte string without interrupting RoboFont.

import asyncio
from asyncFontCompiler.compile.compilerPool import compileUFOToBytes
from mojo.UI import Message

f = CurrentFont()

async def getFontData():
    fontData = await compileUFOToBytes(f.path, None)
    print(fontData)
    Message("Done")

asyncio.create_task(getFontData())

About

An asynchronous font compiler

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages