26
25
"""Guess where the Ghostscript executable is
27
26
and return its absolute path name."""
31
29
for dir in path.split(os.pathsep):
32
30
for name in ("gs", "gs.exe", "gswin32c.exe"):
33
31
g = os.path.join(dir, name)
39
41
def __write_contents(self, fp):
40
42
fp.write(pscanvas.preamble_text)
41
43
for name, id in self.__font_ids.items():