Skip to content

Instantly share code, notes, and snippets.

View davelab6's full-sized avatar
🤓
Obsessed with variable fonts

Dave Crossland davelab6

🤓
Obsessed with variable fonts
View GitHub Profile
@davelab6
davelab6 / daedalus-cointracking.ipynb
Last active September 7, 2021 05:48 — forked from LukeL99/daedalus-cointracking.ipynb
daedalus-cointracking.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/ruby
=begin
Usage: rtftomarkdown.rb FILENAME.rtf
Uses textutil, available on Mac only (installed by default)
Outputs to STDOUT
Notes:
Links are replaced with Markdown references (duplicate links combined).
@davelab6
davelab6 / angleRatioTool.py
Created March 1, 2019 07:04 — forked from LettError/angleRatioTool.py
EditTool script for RoboFont 3. Show the ratio between the length of incoming and outgoing sections of bcps and tangents.
import AppKit
from mojo.events import installTool, EditingTool, BaseEventTool, setActiveEventTool
from mojo.drawingTools import *
from mojo.UI import UpdateCurrentGlyphView
from defconAppKit.windows.baseWindow import BaseWindowController
import math
#
#
# A visualisation for RoboFont
GLYPH DATA
==========
- Glyph flag
- Metric data
- Outline data
- Extra data segments
OUTLINE DATA
============
@davelab6
davelab6 / list-all-repos.py
Created June 28, 2018 14:00 — forked from ralphbean/list-all-repos.py
Script to list all repos for a github organization
#!/usr/bin/env python
""" Print all of the clone-urls for a GitHub organization.
It requires the pygithub3 module, which you can install like this::
$ sudo yum -y install python-virtualenv
$ mkdir scratch
$ cd scratch
$ virtualenv my-virtualenv
@davelab6
davelab6 / timm_ulrichs.py
Created May 8, 2018 17:59 — forked from frankrolf/timm_ulrichs.py
DrawBot script to create an animated version of “Anthologie zur Visuellen Poesie” by Timm Ulrichs
# DrawBot script to create an animated version of
# "Anthologie zur Visuellen Poesie" by Timm Ulrichs (1968),
# as requested by Nick Sherman here: https://www.instagram.com/p/BiAjODfHwCO/
# Thanks to Letterform Archive for sharing.
def e_square(x, y, side, rotation):
'''
Draw letter e in a square defined by its center
and the length of the sides.
We couldn’t find that file to show.
@davelab6
davelab6 / index.html
Created August 3, 2017 16:13
Proxima Nova External // source https://jsbin.com/tudimev
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Proxima Nova External</title>
<style id="jsbin-css">
@import url(https://fonts.googleapis.com/css?family=Proxima+Nova)
h1 {font-family: "Proxima Nova"}
@davelab6
davelab6 / INSTALL-ttfautohint.md
Last active July 26, 2017 05:33
How to install TTFAutohint 0.92

With HomeBrew

If you have Homebrew and are comfortable with it, you can run

brew edit ttfautohint;

and then replace the file with this one

require 'formula'