Skip to content

Instantly share code, notes, and snippets.

@vernnobile
vernnobile / fontforge-features-gui.txt
Created August 7, 2012 08:41
FontForge GUI / UI proposals
meaurement tool - (a) clear snapping to points and guidelines. (b) clearly displayed info of measurements (c) display info on horizontal distance, vertical distance and direct distance between 2 points.
neighbours & groups - character edit view - (a) ability to toggle on/off view of neighbour charcters & similar character groups.
Metrics Window - Ability to view character string as a waterfall in Metrics window - waterfall mode allows a very usefull overview of the effects of sidebearing & kerning values across several font sizes at once. The effects on several sizes can be viewed simultaneously - highly helpfull visually.
Metrics classes - same as kerning classes but for metrics, e.g. class 'metrics_H_left' = all chars that share same Left side bearing as the 'H' char. e.g. 'B', 'D', 'E', 'F', 'K', 'L', 'M', 'N', 'P', 'R'.
Metrics Window - ability to view in inverse colors, eg; white text on black bagkground.
@vernnobile
vernnobile / gist:3980863
Created October 30, 2012 15:16
brew install -v fontforge
MacBook-Pro:~ vern$ brew install -v fontforge
==> Downloading http://downloads.sourceforge.net/project/fontforge/fontforge-source/fontforge_full-20120731-b.tar.bz2
Already downloaded: /Library/Caches/Homebrew/fontforge-20120731.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/fontforge-20120731.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/fontforge/20120731 --enable-double --without-freetype-bytecode --with-python-headers=/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 --with-python-lib=-lpython2.7 --enable-pyextension --without-cairo --without-pango
./configure --prefix=/usr/local/Cellar/fontforge/20120731 --enable-double --without-freetype-bytecode --with-python-headers=/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 --with-python-lib=-lpython2.7 --enable-pyextension --without-cairo --without-pango
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for s
@vernnobile
vernnobile / FontForge --debug
Created January 15, 2013 15:38
$ /Applications/FontForge.app/Contents/MacOS/FontForge --debug
$ /Applications/FontForge.app/Contents/MacOS/FontForge --debug
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3 01:19:56 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...unable to read unknown load command 0x24
unable to read unknown load command 0x26
unable to read unknown load command 0x24
@vernnobile
vernnobile / gdb r
Created January 15, 2013 15:41
gdb r output after running $ /Applications/FontForge.app/Contents/MacOS/FontForge --debug
(gdb) r
Starting program: /Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge
unable to read unknown load command 0x24
unable to read unknown load command 0x26
unable to read unknown load command 0x24
unable to read unknown load command 0x26
unable to read unknown load command 0x24
unable to read unknown load command 0x26
unable to read unknown load command 0x24
unable to read unknown load command 0x26
@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
@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
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 / 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
@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 / 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"/>