Menu

#232 wrong font positioning in label

miscellaneous
open-accepted
5
2008-03-15
2008-03-13
No

I've found a very strange bug in 2.12.11, please try this:

draw label "$\langle{k}\rangle$/(eV/nm$^{2}$)" at 0 0 cm

the last parenthesis is placed as if it were a superscript.

other constructs behave correctly, for instance
draw label "$\langle$$k\rangle$/(eV/nm$^{2}$)" at 0 0 cm

best wishes

Gerald

Discussion

  • Dan Kelley

    Dan Kelley - 2008-03-13

    Logged In: YES
    user_id=31559
    Originator: NO

    Thanks, I'll have a look at that. It seems not to be leaving "math mode". Dan.

     
  • Dan Kelley

    Dan Kelley - 2008-03-15

    Logged In: YES
    user_id=31559
    Originator: NO

    Indeed, as Gerald points out, the problem is with the {} in the string. The problem exists up to the latest official version, 2.12.16. I am working on the solution right now. Dan.

     
  • Dan Kelley

    Dan Kelley - 2008-03-15

    Logged In: YES
    user_id=31559
    Originator: NO

    It would help, in fixing this bug, if you could compile a test version of Gri.

    1) do you have the ability to compile Gri? (That means, do you have a C++
    compiler, and related tools?)

    2) do you have the ability to download the CVS sources?

    It's OK to answer "no" and "no" to these questions, but it does mean that you may
    have to wait until the next official release of Gri. The delay for that may be
    significant, since I like to solve about 3 to 5 bugs per release.

    Thanks!

    Dan Kelley

     
  • Dan Kelley

    Dan Kelley - 2008-03-15
    • status: open --> open-accepted
     
  • Dan Kelley

    Dan Kelley - 2008-03-15

    Logged In: YES
    user_id=31559
    Originator: NO

    Thanks for the bug report.

    The version of Gri at the CVS site has been changed and,
    according to my tests, it no longer suffers from the bug
    that you have kindly reported.

    Please note that the version number of Gri has NOT been updated;
    that is, no new release has been made. However, you may get the
    most recent copy using the CVS system, at the URL

    http://sourceforge.net/cvs/?group_id=5511

    A full explanation of the procedure for acquiring the CVS version
    is at the above-named site.

    Please try to build a copy of Gri and re-test your bug, and post
    your findings as a reply on the present discussion thread. That
    way, I'll know that the code changes will eliminate the bug on your
    machine, not just on my machine.

    This bug is still listed in the OPEN category; only when a new
    release has been made will the bug be put into the CLOSED category.

    Thanks again for helping in Gri development!

    Dan Kelley

     
  • Dan Kelley

    Dan Kelley - 2008-03-15

    Logged In: YES
    user_id=31559
    Originator: NO

    File Added: bug1913577.gri

     
  • Dan Kelley

    Dan Kelley - 2008-03-15

    test file

     

Log in to post a comment.

MongoDB Logo MongoDB