Skip to content

Instantly share code, notes, and snippets.

@vernnobile
vernnobile / feature.fea
Last active August 29, 2015 14:00
UFO crash troubleshoot
### feature file generated by Glyphs. This one crashes fontforge
# Prefix: Languagesystems
# automatic
languagesystem DFLT dflt;
languagesystem grek dflt;
languagesystem latn dflt;
languagesystem latn CAT;
languagesystem latn ROM;
@vernnobile
vernnobile / gist:9982280
Created April 4, 2014 20:12
Generate UFO = crash
SplineFontDB: 3.0
FontName: Comme-Medium
FullName: Comme Medium
FamilyName: Comme
Weight: Medium
Copyright: Digitized data Copyright (c) 2011-2014, vernon adams.
Version: 2
ItalicAngle: 0
UnderlinePosition: 0
UnderlineWidth: 0
SplineFontDB: 3.0
FontName: Comme-Regular
FullName: Comme Regular
FamilyName: Comme
Weight: Regular
Copyright: Digitized data Copyright (c) 2011-2014, vernon adams.
Version: 2
ItalicAngle: 0
UnderlinePosition: 0
UnderlineWidth: 0
@vernnobile
vernnobile / Rokkitt-Thin.sfd
Created January 23, 2014 22:30
SFD for testing crash on add Standard Ligatures GSUB lookup
SplineFontDB: 3.0
FontName: Rokkitt-Thin
FullName: Rokkitt Thin
FamilyName: Rokkitt
Weight: Thin
Copyright: Digitized data Copyright (c) 2011-2013, vernon adams.
Version: 2
ItalicAngle: 0
UnderlinePosition: 0
UnderlineWidth: 0
@vernnobile
vernnobile / Fontforge Glif - lowercase 'k'
Created December 13, 2013 23:03
Fontforge UFO Anchors
<?xml version="1.0" encoding="UTF-8"?>
<glyph name="k" format="1">
<advance width="969"/>
<unicode hex="006B"/>
<outline>
<contour>
<point x="785" y="26" type="line" smooth="yes"/>
<point x="852" y="-46"/>
<point x="956" y="53"/>
<point x="892" y="120" type="curve" smooth="yes"/>
@vernnobile
vernnobile / Nobile-extra-light.sfd
Created November 29, 2013 17:32
SFD that creates a UFO that will not open in Robofont re: issue #709
SplineFontDB: 3.0
FontName: Nobile-extra-light
FullName: Nobile extra-light
FamilyName: extra-light
Weight: Extra-light
Copyright:
Version:
ItalicAngle: 0
UnderlinePosition: 0
UnderlineWidth: 0
@vernnobile
vernnobile / gist:7494632
Created November 16, 2013 01:24
Crunchbang11 - fontforge Collab building
CC libgdraw_la-gmatrixedit.lo
CC libgdraw_la-gdrawable.lo
CC libgdraw_la-gspacer.lo
CC libgdraw_la-hotkeys.lo
CCLD libgdraw.la
make[2]: Leaving directory `/home/vern/src/fontforge/gdraw'
Making all in plugins
make[2]: Entering directory `/home/vern/src/fontforge/plugins'
make[2]: Leaving directory `/home/vern/src/fontforge/plugins'
Making all in fontforge
Based on source from git with hash:90cc4c83a278f80296ab6ff43c41994fc21f2d93
PythonUI_Init()
copyUIMethodsToBaseTable()
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6ee9590 in SFD_GetFont (sfd=sfd@entry=0x812290, cidmaster=cidmaster@entry=0x0, tok=<optimized out>, tok@entry=0x7fffffffbaf0 "AnchorClass2:", fromdir=fromdir@entry=0,
dirname=dirname@entry=0x81c4d0 "/home/vern/gitHub/pipeline/Capstone/700-Bold/src/Muli-Bold.sfd", sfdversion=3) at sfd.c:8279
8279 switch ( an->subtable->lookup->lookup_type ) {
(gdb) bt
#0 0x00007ffff6ee9590 in SFD_GetFont (sfd=sfd@entry=0x812290, cidmaster=cidmaster@entry=0x0, tok=<optimized out>, tok@entry=0x7fffffffbaf0 "AnchorClass2:", fromdir=fromdir@entry=0,
@vernnobile
vernnobile / Muli-Medium.sfd
Created November 12, 2013 16:16
Bad SFD. Causing crash. Problems appears to be caused by importing kerning table via 'Merge Feature Info'
SplineFontDB: 3.0
FontName: Muli-Medium
FullName: Muli Medium
FamilyName: Muli-Medium
Weight: Regular
Copyright:
Version:
ItalicAngle: 0
UnderlinePosition: 0
UnderlineWidth: 0
@vernnobile
vernnobile / gist:6454920
Created September 5, 2013 19:27
fontbakery - browser - debian
vern@debian:~/src/fontbakery$ make run
. venv/bin/activate; python entry.py
127.0.0.1 - - [2013-09-05 11:01:15] "GET / HTTP/1.1" 200 2593 1.244479
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/bootstrap/css/bootstrap.min.css HTTP/1.1" 304 148 0.544201
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/jquery-2.0.3.min.js HTTP/1.1" 304 147 0.000197
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/bootstrap/css/bootstrap-responsive.min.css HTTP/1.1" 304 147 0.000179
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/font-awesome/css/font-awesome.min.css HTTP/1.1" 304 147 0.152929
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/main.css HTTP/1.1" 304 145 0.000186
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/bootstrap/js/bootstrap.min.js HTTP/1.1" 304 146 0.094156
127.0.0.1 - - [2013-09-05 11:01:16] "GET /static/socket.io.min.js HTTP/1.1" 304 146 0.000189