summaryrefslogtreecommitdiff
path: root/pcr/ttf-free-comic-font/makefont.pe
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-06-07 16:33:11 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-06-07 16:33:47 -0300
commit20173e6537ca9ffc53dac5bea0d1d4706208df62 (patch)
tree6cdd7fd3675c806f363a2f4f4508149b32454e9d /pcr/ttf-free-comic-font/makefont.pe
parentbf896ab0b0fd662455dc522c3ba033f62cfd197f (diff)
add ttf-free-comic-font to pcr
Diffstat (limited to 'pcr/ttf-free-comic-font/makefont.pe')
-rwxr-xr-xpcr/ttf-free-comic-font/makefont.pe24
1 files changed, 24 insertions, 0 deletions
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 <coadde@parabola.nu>
+#
+# 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 <http://www.gnu.org/licenses/>.
+
+i=1
+while ( i<$argc )
+ Open($argv[i])
+ Generate($argv[i]:r + ".ttf")
+ i = i+1
+endloop