However, a lot of fonts are not listed in the dropdown menu, so I modified BlenderGenerator.py:
--- BlenderGenerator.orig.py 2011-01-29 13:51:18.185888999 +0900
+++ BlenderGenerator.py 2011-01-29 13:53:47.655888999 +0900
@@ -78,7 +78,7 @@
""" Get a list of font files on the computer as FAST as possible. """
Wow, nice feature! It seems to work fine. Thanks.
However, a lot of fonts are not listed in the dropdown menu, so I modified BlenderGenerato r.py:
--- BlenderGenerato r.orig. py 2011-01-29 13:51:18.185888999 +0900
+++ BlenderGenerator.py 2011-01-29 13:53:47.655888999 +0900
@@ -78,7 +78,7 @@
""" Get a list of font files on the computer as FAST as possible. """
# melt -query
- command = ["locate", "*.ttf"]
+ command = ["locate", "*.tt[fc]"]
output = ''
ttf_raw={} Popen(args= command, stdout= subprocess. PIPE, subprocess. PIPE,stderr= subprocess. STDOUT) stdout. read(20000) ) stdout. read(200000) )
@@ -86,7 +86,7 @@
try:
process = subprocess.
stdin=
- output = str(process.
+ output = str(process.
# wait for process to finish, and then close stdin.close( )
process.