Commit Graph

6 Commits

Author SHA1 Message Date
Francesco Abbate 103336945e Add pixel format to render font in bitmap format
The purpose it to add later subpixel by storing the bitmap with RGB
channels to have subpixel LCD coverage information.

The colorization and gamma blending will be done when blitting the glyph
on the destination surface.
2020-05-30 18:07:31 +02:00
Francesco Abbate 010966d60d Add correct font's height calculation using AGG
Compute the height like in renderer.c
2020-05-30 16:26:10 +02:00
Francesco Abbate 155e76df5f Add font vmetrics in AGG font renderer test 2020-05-30 15:19:12 +02:00
Francesco Abbate f77261afa4 Initial working version of agg font rendering test 2020-05-29 18:41:55 +02:00
Francesco Abbate 0e713f7692 WIP: to use AGG font renderer to create a coverage bitmap 2020-05-29 16:00:29 +02:00
Francesco Abbate 20626ab911 Add small test program for stb_truetype 2020-05-29 12:54:36 +02:00