#109 Renderer2D should scale atom symbols

closed
5
2012-10-08
2003-09-22
No

In some cases, a rather large structure needs to be
rendered in a rather small area. Currently, such a
process produced a drawing so crowded with oversized
atom symbols that you cannot see the structrure
anymore. Thus, atom symbols should be scaled relative
to the bond length.
For an example of a badly rendered structure, see
attached file.

Discussion

  • Christoph Steinbeck

    A chemical structure with just atom symbols :-)

     
  • Christoph Steinbeck

    Logged In: YES
    user_id=54358

    Have attached the sample file now.

     
  • Egon Willighagen

    Logged In: YES
    user_id=25678

    Shouln't the zoom factor be adjusted instead?

     
  • Christoph Steinbeck

    Logged In: YES
    user_id=54358

    > Shouln't the zoom factor be adjusted instead?

    Sure, but this is already the case. The structure is zoomed
    such that it fits into the window. That means that bond
    length, for example, is adjusted to fit this need. The only
    thing which is not scaled accordingly is the font size. So,
    the font size should be adjusted according to the zoom
    factor, like it is done with the bond length.

     
  • Egon Willighagen

    Logged In: YES
    user_id=25678

    I think atom symbols are properly zoomed with the zoom factor...
    there is a scaling and a zoom... the molecule is scaled to
    fit the window, but the zoom is by default set to 100% (aka
    1.0)...
    Try the zoom 2x... atoms are scaled too then. (at least,
    last time I checked...)

     
  • Christoph Steinbeck

    Logged In: YES
    user_id=54358

    Ok, whatever you say might be right - all I'm saying is
    that the drawing which is appended is neither nice nor
    readable and that we should change whatever it takes to
    circumvent this. I'm assigning the bug to myself.

     
  • Egon Willighagen

    Logged In: YES
    user_id=25678

    Replaced by bug #834515.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks