blob: 7b9a343e9126cbe08ec85b7d57112bb647ca384a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- f-engrave-151.py 2015-09-07 23:11:36.000000000 +0100
+++ f-engrave-151.py.new 2015-09-15 14:18:05.078678057 +0100
@@ -1617,7 +1617,7 @@
stdout, stderr = p.communicate()
if VERSION == 3:
stdout = bytes.decode(stdout)
- if str.find(stdout.upper(),'TTF2CXF') != -1:
+ if str.find(stdout.upper(),'TTF FILE') != -1:
self.TTF_AVAIL = TRUE
else:
self.TTF_AVAIL = FALSE
@@ -1801,7 +1801,7 @@
self.H_CALC.set("max_use")
self.plotbox.set("no_box")
self.boxgap.set("0.25")
- self.fontdir.set("fonts")
+ self.fontdir.set("/usr/share/fonts/TTF")
self.cut_type.set("engrave") # Options are "engrave" and "v-carve"
self.input_type.set("text") # Options are "text" and "image"
|