bkchem-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bkchem-user] Error when exporting PDF


From: Bernd Heinze
Subject: [Bkchem-user] Error when exporting PDF
Date: Mon, 22 Sep 2008 22:11:26 +0000 (GMT)

Hello,

I noticed that when you change the font of an atom to a different font (for 
example Verdana or Tahoma) and then export to PDF the attached error message 
pops up and the PDF isn't saved. Arial, Times New Roman and Courier don't cause 
an error, but apparently all other fonts.

Would be great if you could fix this. Otherwise great software :-)

Greetings
Bernd




Error: 1
<type 'exceptions.KeyError'> Exception in Tk callback
  Function: <function <lambda> at 0x0201ED70> (type: <type 'function'>)
  Args: ()
Traceback (innermost last):
  File "bkchem/bkchem\Pmw.py", line 1788, in __call__
    None
  File "bkchem/bkchem\misc.py", line 114, in <lambda>
    None
  File "bkchem/bkchem\main.py", line 1127, in plugin_export
    None
  File "bkchem/bkchem\plugins\piddle_lowlevel.py", line 72, in write_to_file
    None
  File "bkchem/bkchem\plugins\tk2piddle.py", line 44, in export_to_piddle_canvas
    None
  File "bkchem/bkchem\plugins\tk2piddle.py", line 77, in draw_document
    None
  File "bkchem/bkchem\plugins\tk2piddle.py", line 144, in _draw_text
    None
  File "bkchem/bkchem\plugins\piddle\piddlePDF.py", line 369, in drawString
    None
  File "bkchem/bkchem\plugins\piddle\piddlePDF.py", line 229, in _updateFont
    None
  File "bkchem/bkchem\plugins\piddle\piddlePDF.py", line 243, in 
_findPostScriptFontName
    None
<type 'exceptions.KeyError'>: ('courier new', False, False)


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]