View | Details | Raw Unified | Return to bug 14519
Collapse All | Expand All

(-)skencil-0.6.17/sk2ppm.py (-2 / +3 lines)
Lines 35-41 Link Here
35
35
36
"""
36
"""
37
37
38
import sys, os
38
import sys, os, locale
39
39
40
for dir in ('Lib', 'Filter', 'Pax'):
40
for dir in ('Lib', 'Filter', 'Pax'):
41
    dir = os.path.join(sys.path[0], dir)
41
    dir = os.path.join(sys.path[0], dir)
Lines 56-62 Link Here
56
    import Sketch, Sketch.config
56
    import Sketch, Sketch.config
57
    Sketch.Issue(None, Sketch.const.INITIALIZE)
57
    Sketch.Issue(None, Sketch.const.INITIALIZE)
58
    #plugins.load_plugin_configuration(config.plugin_path)
58
    #plugins.load_plugin_configuration(config.plugin_path)
59
59
    locale.setlocale(locale.LC_NUMERIC, 'C')
60
    
60
    use_bbox = 0
61
    use_bbox = 0
61
    resolution = 72.0
62
    resolution = 72.0
62
    steps = alpha = None
63
    steps = alpha = None
(-)skencil-0.6.17/sk2ps.py (-2 / +3 lines)
Lines 28-34 Link Here
28
# This means that a lot of more or less unnecessary modules are
28
# This means that a lot of more or less unnecessary modules are
29
# loaded...
29
# loaded...
30
30
31
import sys, os
31
import sys, os, locale
32
32
33
from Sketch import load, PostScriptDevice
33
from Sketch import load, PostScriptDevice
34
from Sketch.Lib import util
34
from Sketch.Lib import util
Lines 87-93 Link Here
87
def main():
87
def main():
88
    import Sketch
88
    import Sketch
89
    Sketch.init_lib()
89
    Sketch.init_lib()
90
90
    locale.setlocale(locale.LC_NUMERIC, 'C')
91
    
91
    draw_printable = 1
92
    draw_printable = 1
92
    draw_visible = 0
93
    draw_visible = 0
93
    embed_fonts = 0
94
    embed_fonts = 0
(-)skencil-0.6.17/skconvert.py (-1 / +2 lines)
Lines 25-31 Link Here
25
by its extension.
25
by its extension.
26
"""
26
"""
27
27
28
import sys, os
28
import sys, os, locale
29
29
30
from Sketch import load, plugins
30
from Sketch import load, plugins
31
import Sketch
31
import Sketch
Lines 45-50 Link Here
45
45
46
def main():
46
def main():
47
    Sketch.init_lib()
47
    Sketch.init_lib()
48
    locale.setlocale(locale.LC_NUMERIC, 'C')
48
    if len(sys.argv) != 3:
49
    if len(sys.argv) != 3:
49
        sys.stderr.write(__doc__)
50
        sys.stderr.write(__doc__)
50
        sys.exit(1)
51
        sys.exit(1)

Return to bug 14519