diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-06-07 16:33:11 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-06-07 16:33:47 -0300 |
commit | 20173e6537ca9ffc53dac5bea0d1d4706208df62 (patch) | |
tree | 6cdd7fd3675c806f363a2f4f4508149b32454e9d /pcr/ttf-free-comic-font/makefont.pe | |
parent | bf896ab0b0fd662455dc522c3ba033f62cfd197f (diff) | |
download | abslibre-20173e6537ca9ffc53dac5bea0d1d4706208df62.tar.gz abslibre-20173e6537ca9ffc53dac5bea0d1d4706208df62.tar.bz2 abslibre-20173e6537ca9ffc53dac5bea0d1d4706208df62.zip |
add ttf-free-comic-font to pcr
Diffstat (limited to 'pcr/ttf-free-comic-font/makefont.pe')
-rwxr-xr-x | pcr/ttf-free-comic-font/makefont.pe | 24 |
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 |