B.2 Ogham 1.6.0

  1. Added a new OESVGImage class to allow depictions to be written out in Scalable Vector Graphics (.svg) file format. This provides a convenient vector graphics file format, similar to the existing Encapsulated PostScript writer, but the resulting format is easier to parse by applications.

  2. Support for the .svg file extension has been added to the Ogham application mol2img (and the mol2img.cpp example source code).

  3. Two new example source files have been added to Ogham toolkit, mol2png and mol2jpg. These demonstrate how the Ogham toolkit can be used with the open source libraries, libpng and libjpeg respectively. PNG (or Portable Network Graphics) file format is a lossless compression image file format, whilst JPEG (or Joint Photographic Experts Group) is a lossy compression image file format. The corresponding libraries are installed on most Linux machines, or can be downloaded from the following sites.
    http://www.libpng.org/pub/png/libpng.html
    http://www.ijg.org/
    

  4. Improved depiction support for reactions. Previously, reactions would be treated identically to disconnected mixtures so "A»B" would be given identical co-ordinates to "A.B". We now add extra spacing to separate the reactants from the products, to prevent the reaction arrows drawn by Ogham's renderer from overlapping any atoms.

  5. Several new ring systems have been added to the ring template dictionary, and existing entries have been updated with subsitution preferences.

  6. Fixed a minor bug in Ogham's renderer where we accidentally permuted the red, green and blue components of the background color when displaying text. This only affected depictions that used background colors other than black or white (or monochromatic grey).