Recent

Author Topic: OpenGL smooth text/fonts  (Read 14034 times)

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: OpenGL smooth text/fonts
« Reply #15 on: January 04, 2016, 11:51:37 am »
Very good  ;D

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: OpenGL smooth text/fonts
« Reply #16 on: April 05, 2016, 09:41:14 am »
Hello folks,

It is now possible to render and display fonts within BGRABitmap+OpenGL. See latest release:
http://forum.lazarus.freepascal.org/index.php/topic,24239.msg206957.html#msg206957

You can use the LCL renderer, FreeType renderer or if using BGRABitmap+ZenGL, use ZenGL fonts. Basically you can instantiate a font with BGLFont function, and then draw it directly on OpenGL surface. It internally makes and caches bitmaps for each glyph, so that it is fast enough for real-time.

Regards
Conscience is the debugger of the mind

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: OpenGL smooth text/fonts
« Reply #17 on: April 05, 2016, 10:46:24 am »
Very good, I will test it soon.
Thank you very much.

 

TinyPortal © 2005-2018