This file contains hidden or 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.ttFont import TTFont | |
from fontTools.varLib.instancer.names import ( | |
ELIDABLE_AXIS_VALUE_NAME, | |
) | |
from typing import Any, Dict, List, Tuple | |
from font_collector.font_parser import FontParser | |
from font_collector import NameNotFoundException | |
DEFAULT_WEIGHT = 400 |
This file contains hidden or 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 os | |
import sys | |
import time | |
import winreg | |
from win32com.shell import shell, shellcon | |
from find_system_fonts_filename import get_system_fonts_filename | |
def get_win32_system_font(): |
This file contains hidden or 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 bisect | |
import json | |
import math | |
import os | |
import pathlib | |
import shutil | |
import pysubs2 | |
import pytest | |
import subprocess | |
import sys |
This file contains hidden or 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 sys | |
from dataclasses import dataclass | |
from fontTools import ttLib | |
from fontTools.ttLib import ttFont | |
from fontTools.ttLib.tables._f_v_a_r import NamedInstance | |
from fontTools.ttLib.tables._n_a_m_e import NameRecord | |
from typing import Dict, List | |
@dataclass |