Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

GlyphOutline

Rendering outlined font in Delphi without FreeType

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

GlyphOutline

Rendering outlined font in Delphi without FreeType.

Yes, no FreeType, yay!

  1. Glyphs are rendered in red (lum) and green (alpha) channels to be used for GL_LUMINANCE_ALPHA textures. You may change it to whatever you want.
  2. I'm using QPixels instead of ScanLine - it's way more intuitive and just as fast. You can google it or write your own implementation with ScanLine.
  3. Technically, outlining code may be used for outlining just anything.

Need some more optimisation and linting.

Oh, and you may find some of the comments somewhat offensive.