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
--- a/pixman/pixman-glyph.c 2014-04-24 06:34:14.000000000 +0200 | |
+++ b/pixman/pixman-glyph.c 2015-08-07 22:34:08.457721370 +0200 | |
@@ -32,4 +31,263 @@ | |
#include <stdlib.h> | |
+static unsigned char actable[65536] = { | |
+0,0,1,2,2,3,4,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,23,23,24,24,25,26,27,28,28,29,29,30,31,31,32,33,33,34,34,35,36,37,37,38,39,39,40,41,41,42,43,43,44,45,45,46,47,47,48,49,49,50,51,52,52,53,53,55,55,56,57,57,58,58,59,60,61,62,62,63,64,64,65,66,66,67,68,69,70,70,71,72,72,73,74,74,75,76,76,77,78,79,79,80,81,82,83,84,84,85,86,87,88,88,89,90,91,91,91,92,93,94,95,95,96,97,98,99,100,100,101,102,103,104,105,106,107,107,107,108,109,110,111,112,113,114,115,116,116,117,118,119,120,121,122,123,124,124,125,126,127,128,129,129,130,131,132,134,135,135,136,137,138,140,141,141,142,143,144,146,146,147,148,150,150,151,152,154,155,155,157,158,160,160,161,163,164,164,166,168,168,169,171,173,173,175,176,176,178,180,182,182,184,186,186,189,191,191,193,196,196,199,201,201,204,207,207 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<ui version="4.0"> | |
<class>TabWidget</class> | |
<widget class="QTabWidget" name="TabWidget"> | |
<property name="geometry"> | |
<rect> | |
<x>0</x> | |
<y>0</y> | |
<width>816</width> | |
<height>845</height> |
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
--- c:\\...\\development\\glyphslib\\Lib\\glyphsLib\\classes.py (original) | |
+++ c:\\...\\development\\glyphslib\\Lib\\glyphsLib\\classes.py (refactored) | |
@@ -33,6 +33,36 @@ | |
from collections import OrderedDict | |
from fontTools.misc.py23 import unicode, basestring, UnicodeIO, unichr, open | |
from glyphsLib.affine import Affine | |
+from glyphsLib.classes import GSLayer | |
+from typing import List | |
+from glyphsLib.classes import GSPath | |
+from typing import Optional |
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 collections | |
import io | |
import itertools | |
import logging | |
import os | |
import sys | |
from pathlib import Path | |
from pprint import pprint | |
from typing import Dict, List, Tuple |
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
"""Find GDEF variation tables assigned to class * to class 0 kerning, which should | |
never exist.""" | |
import argparse | |
import logging | |
from pathlib import Path | |
import fontTools.ttLib | |
logging.basicConfig(level=logging.INFO, format="%(levelname)s: %(message)s") |
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 fontTools.designspaceLib | |
import fontTools.varLib | |
import fontTools.ttLib | |
import ufo2ft | |
import ufoLib2 | |
def empty_ufo(style: str) -> ufoLib2.Font: | |
ufo = ufoLib2.Font() |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<designspace format="4.0"> | |
<axes> | |
<axis tag="wght" name="Weight" minimum="100" maximum="900" default="100"> | |
<map input="100" output="34"/> | |
<map input="200" output="45"/> | |
<map input="300" output="62"/> | |
<map input="400" output="84"/> | |
<map input="500" output="111"/> | |
<map input="600" output="141"/> |
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 pyclipper | |
_operationMap = { | |
"union": pyclipper.CT_UNION, | |
"intersection": pyclipper.CT_INTERSECTION, | |
"difference": pyclipper.CT_DIFFERENCE, | |
"xor": pyclipper.CT_XOR, | |
} | |
_fillTypeMap = { |
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
ascender: Option<f64>, | |
cap_height: Option<f64>, | |
copyright: Option<String>, | |
descender: Option<f64>, | |
family_name: Option<String>, | |
guidelines: Option<Vec<Guideline>, | |
italic_angle: Option<f64>, | |
macintosh_fond_family_id: Option<u32>, | |
macintosh_fond_name: Option<String>, | |
note: Option<String>, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Test Page</title> | |
<style type="text/css"> | |
@import url('https://fonts.googleapis.com/css?family=Noto+Sans:bold&display=swap'); | |
p { |
OlderNewer