This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Lib/ufo2ft/__init__.py b/Lib/ufo2ft/__init__.py | |
index 4295caa..a98528a 100644 | |
--- a/Lib/ufo2ft/__init__.py | |
+++ b/Lib/ufo2ft/__init__.py | |
@@ -1,12 +1,15 @@ | |
import logging | |
import os | |
from enum import IntEnum | |
+import tempfile | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"format": "designspace", | |
"glyphs": 3304, | |
"instances": 2, | |
"masters": 2, | |
"name": "arimo", | |
"real": 19.89, | |
"succeeded": true, | |
"sys": 0.82, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import urllib.request | |
import subprocess | |
import psutil | |
import tempfile | |
import os | |
import glob | |
import yaml | |
import re | |
from fontTools import designspaceLib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"arimo": { | |
"format": "designspace", | |
"glyphs": 3304, | |
"masters": 2, | |
"name": "arimo", | |
"real": 1.6, | |
"succeeded": false, | |
"sys": 0.23, | |
"user": 1.28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ninja_syntax import Writer | |
import glyphsLib | |
import argparse | |
import ufoLib2 | |
import os | |
from fontTools import designspaceLib | |
parser = argparse.ArgumentParser(description='Create a ninja file to build a font') | |
parser.add_argument('input', metavar='INPUT') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fontTools.ttLib import TTFont | |
import fontTools.ttLib.tables.otTables as ot | |
def coverage_for(lookup): | |
coverage = set() | |
for st in lookup.SubTable: | |
coverage |= coverage_for_subtable(st) | |
return coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from dateutil.relativedelta import relativedelta, FR | |
from datetime import datetime | |
lastweek = datetime.utcnow().replace(hour=0,microsecond=0) + relativedelta(weekday=FR(-1)) | |
headers = {"Authorization": "bearer "+GITHUB_TOKEN} | |
def run_query(query): | |
request = requests.post('https://api.github.com/graphql', json={'query': query}, headers=headers) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"font_total": 3833, | |
"kern": 3162, | |
"liga": 2586, | |
"frac": 2579, | |
"sups": 2541, | |
"mark": 2531, | |
"aalt": 2518, | |
"ordn": 2494, | |
"locl": 2463, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include "hb.hh" | |
uint64_t const _hb_NullPool[(HB_NULL_POOL_SIZE + sizeof (uint64_t) - 1) / sizeof (uint64_t)] = { 0,0,0,0,0}; | |
uint64_t _hb_CrapPool[(HB_NULL_POOL_SIZE + sizeof (uint64_t) - 1) / sizeof (uint64_t)]; | |
#include "main-font-text.hh" | |
#include "hb-open-type.hh" | |
#define HB_DEBUG 100 |