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

Star Wars opening crawl from 1977

I freaking love Star Wars, but could not find a web version of the original opening crawl from 1977. So I created this one.

I wrote an article where I explain how this works. Watch the Start Wars opening crawl on YouTube.

Stuff I used:

  • CSS (animation, transform)
  • HTML audio (the opening theme)
Moved to https://gist.github.com/davelab6/6380365
@davelab6
davelab6 / fontforge.rb
Last active December 21, 2015 23:09
This formula is now upstream.
Merged inline:
https://github.com/mxcl/homebrew/commit/f5d735f591d5a53a9f63745c4edb868192d5a163
https://github.com/mxcl/homebrew/commit/d07838f37a185ffc7e5f9af31decb191d0ad7636
Script started on Wed Aug 28 12:12:44 2013
(lldb) error: Aborting reading of commands after command #5: 'run' continued the target.
Executing commands in '/Applications/FontForge.app/Contents/MacOS/debug-script'.
(lldb) version
LLDB-179.5
(lldb) settings set frame-format "frame #${frame.index}: ${frame.pc}{ ${module.file.basename}`${function.name-with-args}{${function.pc-offset}}}{ at ${line.file.basename}:${line.number}}\n"
(lldb) target create /Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge
Current executable set to '/Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge' (x86_64).
(lldb) target select 0
Current targets:
Script started on Wed Aug 28 12:02:06 2013
(lldb) error: Aborting reading of commands after command #5: 'run' continued the target.
Executing commands in '/Applications/FontForge.app/Contents/MacOS/debug-script'.
(lldb) version
LLDB-179.5
(lldb) settings set frame-format "frame #${frame.index}: ${frame.pc}{ ${module.file.basename}`${function.name-with-args}{${function.pc-offset}}}{ at ${line.file.basename}:${line.number}}\n"
(lldb) target create /Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge
Current executable set to '/Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge' (x86_64).
(lldb) target select 0
Current targets:
Moved to https://github.com/davelab6/fontforge-ufo-depot
@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'
@davelab6
davelab6 / gist:3735807
Created September 17, 2012 06:12
FontForge build output
FF wont build with python, so Ive disable it, and 'make' completes, but 'make install' does not. Running the built fontforge executable segfaults immediately on pango errors:
bash-3.2$ ./configure --prefix=/usr/local/Cellar/fontforge-dc/HEAD --disable-freetype-debugger --disable-gb12345 --without-libspiro --disable-python-scripting --disable-python-extension
checking build system type... x86_64-apple-darwin12.1.0
checking host system type... x86_64-apple-darwin12.1.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
@davelab6
davelab6 / gist:3505931
Created August 29, 2012 01:37
crash ff
SplineFontDB: 3.0
FontName: Untitled1
FullName: Untitled1
FamilyName: Untitled1
Weight: Medium
Copyright: Created by crafting with FontForge 2.0 (http://fontforge.sf.net)
UComments: "2012-8-28: Created."
Version: 001.000
ItalicAngle: 0
UnderlinePosition: -100
@davelab6
davelab6 / Groups.txt
Created August 26, 2012 14:36
FontLab neighbouring glyphs and glyph groups defaults
%%FONTLAB GROUPS
A Z
B P D R
C O Q U G
E F
H K L N
I J
S T
V W
X Y