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 robofab.world import AllFonts | |
from robofab.pens.digestPen import DigestPointPen | |
fonts = AllFonts() | |
def getDigest(glyph): | |
pen = DigestPointPen() | |
glyph.drawPoints(pen) | |
return pen.getDigest() |
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 robofab.world import AllFonts | |
fonts = AllFonts() | |
for font in fonts: | |
print font.info.postscriptFullName | |
for glyph in font: | |
if len(glyph.components) != 0: | |
for c in glyph.components: | |
if c.baseGlyph == 'uni0361': |
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 mojo.tools import IntersectGlyphWithLine | |
font = CurrentFont() | |
glyphs = { 'e':['eacute', 'egrave', 'ediresis'], | |
'i':['iacute', 'igrave'] | |
} | |
for base, accented in glyphs.items(): | |
if base in font.keys(): | |
base = font[base] |
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
Cicero / De oratore / Spec PA6296 .D6 1569 | |
http://catalog.wustl.edu:80/record=b1913504~S2 | |
Cicero. De oratore. Manuscripts: Meissner Collection. #80 | |
[Book of Hours] / Horae beatae Mariae virginis / France, late 15th century / Spec BX2080 .C25 1450 | |
http://catalog.wustl.edu:80/record=b2783064~S2 | |
[Printed Book of Hours] / Hore in laude gloriosissime virginis Maries / Spec BX2080 .R59 1532 | |
http://catalog.wustl.edu:80/record=b1944669~S2 |
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
fonts = AllFonts() | |
for font in fonts: | |
keys = font.keys() | |
for f in fonts: | |
compare_keys = f.keys() | |
for v in compare_keys: | |
if v not in keys: | |
print v |
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
fonts = AllFonts() | |
for font in fonts: | |
for g in font: | |
if len(g.components) != 0: | |
for c in g.components: | |
b = font[c.baseGlyph] | |
if len(b.components) != 0: | |
e = b.components[0] | |
eb = e.baseGlyph |
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 __future__ import division | |
morseAlphabet ={ | |
"A" : [1,2,], | |
"B" : [2,1,1,1,], | |
"C" : [2,1,2,1,], | |
"D" : [2,1,1,], | |
"E" : [1,], | |
"F" : [1,1,2,1,], | |
"G" : [2,2,1,], |
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
# jackson # ok@yty.pe | |
# version 0.3 - conditional status icons | |
import os | |
from AppKit import NSFilenamesPboardType, NSDragOperationCopy | |
from vanilla import Window, List, Button | |
action = 'Do Thing' | |
class doThing(): |
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 https://tylerxhobbs.com/essays/2020/flow-fields | |
import math | |
import random | |
# You need to pip install this in Drawbot | |
# (i.e., go to Python > Install Python Packages and copy in perlin_noise and select install) | |
from perlin_noise import PerlinNoise | |
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
https://unifiedfontobject.org | |
https://github.com/unified-font-object | |
https://graphics.pixar.com/usd/ | |
https://www.midi.org | |
https://instagram.com/noahjodice | |
https://www.noahjodice.com | |
https://github.com/fonttools/fonttools |
OlderNewer