Patrik Svestka <patrik.svestka@gmail.com> [Wed, 11 Jul 2018 16:58:29 +0200] rev 8426
Issue #126: Removing hack, correctly calculating masDisplayBuffer and having fallback maxDisplayBuffer is set to 107 characters.
On windows (7 and up) there is undocumented, you can't find this information anywhere, limit for raster size when using TextOutA or TextOutW.
Experimentally, I have come to the conclusion that the limit is most likely set to 16384 points of the raster.
To correctly calculate the maximum display buffer (maxDisplayBuffer) I have come to a formula:
maxDisplayBuffer = 16384 / (maxWidth + tmet.tmOverhang);
maxWidth is the maximum selected font width
tmet.tmOverhang is the "extra width per string that may be added to some synthesized fonts." -> If you want to get the actual width you have to add it to maxWidth. You will get the whole extent then. (For most fonts tmOverhang will be 0.)
The whole definition of tmOverhang from MSND - https://msdn.microsoft.com/en-us/library/windows/desktop/dd145132(v=vs.85).aspx
convert-repo [Fri, 06 Jul 2018 03:32:20 +0000] rev 8425
update tags
lukas [Thu, 05 Jul 2018 12:55:17 +0200] rev 8424
*** empty log message ***
Claus Gittinger <cg@exept.de> [Thu, 05 Jul 2018 08:31:08 +0200] rev 8423
#BUGFIX by cg
class: SimpleView
changed: #relativeCorner
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 02 Jul 2018 08:46:01 +0200] rev 8422
Tagged Smalltalk/X 8.0.0
Claus Gittinger <cg@exept.de> [Thu, 28 Jun 2018 15:17:11 +0200] rev 8421
#REFACTORING by cg
class: WindowGroup
class definition
renamed: controlInterruptHandler to haltInterruptHandler:
changed: #eventLoopWhile:onLeave:
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 11 Jun 2018 10:50:04 +0100] rev 8420
Copyright updates
Claus Gittinger <cg@exept.de> [Wed, 27 Jun 2018 17:18:08 +0200] rev 8419
#FEATURE by cg
class: WindowGroup
class definition
added: #controlInterruptHandler:
changed: #eventLoopWhile:onLeave:
hook to allow halt/breakpoit filtering
Stefan Vogel <sv@exept.de> [Fri, 22 Jun 2018 12:02:40 +0200] rev 8418
#BUGFIX by stefan
class: stx_libview class
changed: #classNamesAndAttributes
add missing X11GraphicsContext
Stefan Vogel <sv@exept.de> [Fri, 22 Jun 2018 12:01:21 +0200] rev 8417
X11GraphicsContext was missing in ProjectDefinition and then in Makefiles