Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
mhosken committed Aug 20, 2019
1 parent 6b209dd commit 64df798
Show file tree
Hide file tree
Showing 7 changed files with 178 additions and 8 deletions.
70 changes: 70 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# .gitattributes template for an open font design workflow
# Designed to tell git how to best deal with certain file formats
# The goal for eols is to have LF in the repo and
# LF in the working copy on all platforms.
# To tweak to your particular needs,
# see http://git-scm.com/book/en/Customizing-Git-Git-Attributes

# Windows users should use consider setting "core.autocrlf" to "input" and
# "core.eol" to "lf"
# to catch files that are not explicitly declared below.
# See http://git-scm.com/docs/git-config

# This causes git to auto detect text files
# which will have eol conversion applied according to core.autocrlf and core.eol
* text=auto

# Explicitly declare the below matches to be text files, to keep LF eols when
# writing to the working copy, and to convert CRLF to LF eols when adding to the repo.
# TODO: consider uncommenting the below line starting with [attr] and
# removing "eol=lf" from the below lines
#[attr]text text eol=lf

*.cfg text eol=lf
*.css text eol=lf
*.fea text eol=lf
*.feax text eol=lf
*.ftml text eol=lf
*.gdl text eol=lf
*.gdh text eol=lf
*.html text eol=lf
*.htxt text eol=lf
*.md text eol=lf
*.sil text eol=lf
*.srctext text eol=lf
*.tex text eol=lf
*.txt text eol=lf
*.TXT text eol=lf
*.vtp text eol=lf
*.xdvtxt text eol=lf
*.xsl text eol=lf
*.xml text eol=lf

preflight text eol=lf
preflightg text eol=lf
preglyphs text eol=lf
wscript text eol=lf

# Declare text files that will stay in LF (i.e. not expected to be used on Windows)
*.sh text eol=lf
*.sfd text eol=lf

# Keep these as LF because vfb2ufo generates LF, even on Windows:
*.glif text eol=lf
*.plist text eol=lf

# Declare all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.vfb binary
*.ttf binary
*.pdf binary
*.PDF binary

# other document formats
*.pdf diff=astextplain
*.PDF diff=astextplain
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
105 changes: 105 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# .gitignore template for an open font design workflow
# Designed to tell git to ignore some intermediary and generated files and to keep your public git repository clean
# To tweak to your particular needs, see http://git-scm.com/docs/gitignore and http://help.github.com/articles/ignoring-files

# smith
.waf-*
.smithpickle-*
.lock-*
results/**
buildlinux2/**
bin/**
source/temp/*
source/backups/*

# general backup files
*~
*.swp
*.autosave
*(Autosaved)*


# OS X
*.DS_STORE
*__MACOSX
.Spotlight-V100
._.Trashes
.Trashes
.fseventsd
.VolumeIcon.icns
.AppleDouble
.LSOverride
Icon?
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows
Thumbs.db
Desktop.ini
$RECYCLE.BIN/
Thumbs.db
ehthumbs.db
*.lnk


# AFDKO
current.fpr

# Editors
*.bak
*.vfbak
*.~tt
+.idea/*


# Shares
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
$RECYCLE.BIN/
.Spotlight-V100
.Trashes

# Fontforge temporary backups
*.sfd-*

# Opaque formats to keep out of git
*.fog
*.vfc

# generated releases
*.zip
*.tar.gz
*.tar.bz2
*.tar.xz
*.tgz
*.tgx

# installers
*.exe
*.deb
*.pkg
*.cab
*.msi
*.msm
*.msp

# VM helpers
.vagrant/
.docker/
*.log

# Other
.sass-cache/
.jekyll-metadata

# Byte-compiled / optimized files
*.py[co]
*$py.class
__pycache__/

Binary file added source/Karenni-Bold.ttf
Binary file not shown.
Binary file added source/Karenni-Regular.ttf
Binary file not shown.
Binary file removed source/karenni_bold_uni.ttf
Binary file not shown.
Binary file removed source/karenni_uni_dh0.1.ttf
Binary file not shown.
11 changes: 3 additions & 8 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@
APPNAME="karenni"
VERSION="1.3"
COPYRIGHT = "Copyright (c) 2008-2019, Khu Oo Reh"
fmap = {
'regular' : 'uni_dh0.1.ttf',
'bold' : 'bold_uni.ttf'
}
BUILDVERSION=''

for s in fmap.keys() :
for s in ('regular', 'bold'):
f = font(target = process('Karenni-' + s.title() + '.ttf',
name('Karenni'),
cmd('hackos2 -u 100000000000000000000080000000 ${DEP} ${TGT}'),
cmd('../tools/ttfaddemptyot -t gpos ${DEP} ${TGT}'),
name("Version 1.3", string=5)),
source = 'source/karenni_' + fmap[s],
cmd('../tools/ttfaddemptyot -t gpos ${DEP} ${TGT}')),
source = 'source/Karenni-' + s.title() + '.ttf',
version = 1.3,
license = ofl(),
copyright = COPYRIGHT)

0 comments on commit 64df798

Please sign in to comment.