Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added generate.pe and Makefile to remove depedency on python related …

…stuff

for building the font
  • Loading branch information...
commit a53a4a9fdc7ce9f9ee923bf9d52ea5f45c3e8160 1 parent 16706a8
Vasudev Kamath copyninja authored

Showing 3 changed files with 26 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  .gitignore
  2. +5 0 Makefile
  3. +19 0 generate.pe
3  .gitignore
... ... @@ -1 +1,2 @@
1   -*.sfd~
  1 +*.sfd~
  2 +OTFFiles/
5 Makefile
... ... @@ -0,0 +1,5 @@
  1 +default:
  2 + mkdir -p OTFFile
  3 + ./generate.pe Navilu.sfd
  4 +clean:
  5 + rm -rf OTFFile
19 generate.pe
... ... @@ -0,0 +1,19 @@
  1 +#!/usr/bin/env fontforge
  2 +
  3 +# script file for FontForge for TTF generation
  4 +# usage:
  5 +# mkdir TTFfiles
  6 +# chmod +x generate.pe
  7 +# ./generate.pe *.sfd
  8 +
  9 +if ($version < "20061220")
  10 + Error("Your version of FontForge is too old - 20061220 or newer is required");
  11 +endif
  12 +i = 1
  13 +while ( i < $argc )
  14 + Open($argv[i], 1)
  15 + #Use gen_flags=Defualt fmflags value as -1
  16 + gen_flags = -1
  17 + Generate("OTFFiles/" + $fontname + ".otf", "", gen_flags)
  18 + i++
  19 +endloop

0 comments on commit a53a4a9

Please sign in to comment.
Something went wrong with that request. Please try again.