chiark / gitweb /
Fix the Java front end's vertical text positioning when
authorSimon Tatham <anakin@pobox.com>
Sun, 22 Feb 2009 12:02:40 +0000 (12:02 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 22 Feb 2009 12:02:40 +0000 (12:02 +0000)
commit9249f096192b0a50e607024bf04736ef0506b5ea
treeb9d14f4e9a7f1e4e6c80fd7f5e72571ee86fa736
parent5027095ce2a6dd844ce10489c91dc08bbc174a19
Fix the Java front end's vertical text positioning when
ALIGN_VNORMAL is in use: ALIGN_VNORMAL indicates that the supplied
y-coordinate denotes the _baseline_ of the text, not its top, so
adding on 'asc' to convert to the baseline is wrong.

This only affects Tents, at present.

[originally from svn r8452]
PuzzleApplet.java