[Gambas-user] Drawing

Ron Onstenk ronstk at ...239...
Sun Jun 18 19:56:32 CEST 2006


Just looking in the ModulePrinting.module

You have in PrintText()

  Draw.Font = TextFont
  ' Calc height of each line of text
  fontHeight = Draw.TextHeight("DEMO")  <--- use "DEMOgy"
  pagePosition = 0
  FOR EACH textLine IN Split(Text, "\n")

If .TextHeight return the real height of the _Font_ then
it does not really matters if you use "demo" or "DEMO"

If there is a check on the used height for the example text
given then the lowercase "gy" count also for height.

Just in case :0

Ron




More information about the User mailing list