Francesco Abbate
01a4981210
Use static libgcc and libstdc++ when doing release build
2020-06-02 23:20:22 +02:00
Francesco Abbate
ae032cd185
Ember blender with gamma correction into FontRenderer
2020-06-02 17:18:52 +02:00
Francesco Abbate
c41d6a82e1
Adjust BakeFontBitmap issues
2020-06-01 17:23:18 +02:00
Francesco Abbate
b734390388
Use font_renderer in aGG font testing program
2020-06-01 16:57:33 +02:00
Francesco Abbate
ca6b7bc902
Render correctly codepoints in agg font render test and fix bounding box
2020-06-01 11:26:25 +02:00
Francesco Abbate
4ec521dd37
Add correct glyphs bitmap location rects with AGG
2020-05-31 13:53:27 +02:00
Francesco Abbate
7c57b1d6ca
Adjust the font's height when creating the bitmap
...
Now the font's height to compute the bitmap is computed correcty but:
- STB truetype takes the pixel height as a float
- AGG takes an integer
2020-05-30 20:01:37 +02:00
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