Menu

#20 Text positioning fix [svn]

open
None
3
2007-10-31
2007-10-31
Darren Salt
No

Text is positioned too high such that in-game messages are displayed off the top of the screen/window; also, various symbols & punctuation is misplaced within the text line (currently at the bottom, such that "-" looks like "_").

This patch fixes both problems.

Discussion

  • Darren Salt

    Darren Salt - 2007-10-31
     
  • Andrew Apted

    Andrew Apted - 2007-10-31
    • priority: 5 --> 3
    • assigned_to: nobody --> ajapted
    • status: open --> open-fixed
     
  • Andrew Apted

    Andrew Apted - 2007-10-31

    Logged In: YES
    user_id=11869
    Originator: NO

    Your patch wasn't quite right.
    It fixed the overall offset problem, but some
    characters (like '.' and ',') were way off.

    Turns out that the Y-offset needed to be added
    instead of subtracted.
    Works fine for me now, thanks.

    (Sooner or later the text drawing code is going
    to get the big overhaul that it needs).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.