changeset 6788:ffcac0e6a5f4

smth
author alex
date Thu, 25 Jul 2002 13:36:59 +0000
parents f6a349add30d
children 8498d2731ad2
files TOOLS/subfont-c/fontgen TOOLS/subfont-c/runme TOOLS/subfont-c/subfont.c
diffstat 3 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/subfont-c/fontgen	Thu Jul 25 13:23:44 2002 +0000
+++ b/TOOLS/subfont-c/fontgen	Thu Jul 25 13:36:59 2002 +0000
@@ -32,7 +32,7 @@
 
 if [ ! -x $subfont_exec ]; then
     echo "fontgen: 'subfont' not found or not executable!"
-    echo "fontgen: trying to make sources"
+    echo "fontgen: trying to compile"
     
     make || exit
     
--- a/TOOLS/subfont-c/runme	Thu Jul 25 13:23:44 2002 +0000
+++ b/TOOLS/subfont-c/runme	Thu Jul 25 13:36:59 2002 +0000
@@ -1,11 +1,14 @@
 #!/bin/bash
 
 #unicode="--unicode"
-font=arial.ttf
+#font=arial.ttf
+#font=mints-mild.pcf
+#font=/home/alex/artwiz-mints-mild-latin2.hex
+font=$1
 #font=verdana.ttf
 encoding=iso-8859-2
-fontsize=24
-symbolssize=35
+fontsize=$2
+symbolssize=$3
 blur=2
 outline=1.5
 
--- a/TOOLS/subfont-c/subfont.c	Thu Jul 25 13:23:44 2002 +0000
+++ b/TOOLS/subfont-c/subfont.c	Thu Jul 25 13:36:59 2002 +0000
@@ -260,7 +260,7 @@
     fprintf(f, "name 'Subtitle font for %s %s, \"%s%s%s\" face, size: %.1f pixels.'\n",
 	    encoding_name,
 	    unicode_desc ? "charset, Unicode encoding":"encoding",
-	    face->family_name,
+	    face->family_name ? face->family_name : font_path,
 	    face->style_name ? " ":"", face->style_name ? face->style_name:"",
 	    ppem);