10 May 2009 jbrefort   » (Journeyer)

GChemPaint canvas progress

The current stable GChemPaint version would display:

This is not consistent with usual chemist's habits, but was easy to implement using pango.

There are two issues: the minus sign should be the unicode minus sign instead of the more usual ascii character and, more importantly, it should stay above the stoichiometry coefficient. This is not possible using a single PangoLayout. I needed to split the text between several layout objects and now get:

Just if you are not a chemist, this string represents the phenylsulfonate anion.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!