From 20173e6537ca9ffc53dac5bea0d1d4706208df62 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Tue, 7 Jun 2016 16:33:11 -0300 Subject: add ttf-free-comic-font to pcr --- pcr/ttf-free-comic-font/makefont.pe | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 pcr/ttf-free-comic-font/makefont.pe (limited to 'pcr/ttf-free-comic-font/makefont.pe') diff --git a/pcr/ttf-free-comic-font/makefont.pe b/pcr/ttf-free-comic-font/makefont.pe new file mode 100755 index 000000000..b36b11603 --- /dev/null +++ b/pcr/ttf-free-comic-font/makefont.pe @@ -0,0 +1,24 @@ +#!/usr/bin/fontforge + +# Generate font script. +# Copyright (C) 2015 Márcio Alexandre Silva Delgado +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +i=1 +while ( i<$argc ) + Open($argv[i]) + Generate($argv[i]:r + ".ttf") + i = i+1 +endloop -- cgit v1.2.3