Recent

Author Topic: BGRABitmap.TextRect Line Spacing  (Read 5008 times)

evoshroom

  • Full Member
  • ***
  • Posts: 157
BGRABitmap.TextRect Line Spacing
« on: June 14, 2012, 03:41:44 am »
How can I change the line spacing for output by BGRABitmap.TextRect()?  If there isn't currently a way, this should definitely be added!  If there is currently a way, please let me know.  :D

circular

  • Hero Member
  • *****
  • Posts: 4221
    • Personal webpage
Re: BGRABitmap.TextRect Line Spacing
« Reply #1 on: June 14, 2012, 10:06:20 am »
No. It just uses the standard TextRect from TCanvas. But I hear you clearly. I've been thinking about adding a typewriter class, that provides better text functions and why not real TTF rendering when it's ready.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4221
    • Personal webpage
Re: BGRABitmap.TextRect Line Spacing
« Reply #2 on: November 01, 2012, 06:48:07 pm »
Ok, so finally there is a typewriter. It's used in TBGRAVectorizedFont :
http://www.lazarus.freepascal.org/index.php/topic,12390.msg106188.html#msg106188

How would linespacing be defined ?
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018