rxi
1db1f0bceb
Version 1.08
2020-06-14 13:33:23 +01:00
Francesco Abbate
3c3662b3ba
Add option to disable X axis font's pre-scaling
...
If used pre-scaling along X null the effect of the font's hinting.
2020-06-12 16:06:39 +02:00
Francesco Abbate
4d3693479d
Merge remote-tracking branch 'rxi/master' into agg-font-renderer
2020-06-11 23:22:49 +02:00
Francesco Abbate
9e996a2d87
Rename FontRenderer to FR_Renderer
2020-06-11 23:19:08 +02:00
Francesco Abbate
93a36617f9
Bring back simple grayscale rendering option
2020-06-11 23:11:40 +02:00
Francesco Abbate
00c3983da6
Rename FontRenderer* symbols as FR_*
2020-06-11 18:12:47 +02:00
Francesco Abbate
117714390a
Make the FontRenderer's Bitmap struct opaque outside the library
2020-06-11 17:52:00 +02:00
Francesco Abbate
ce664f85b1
Move rendering buffers pointers computations inside FontRendererBlendGammaSubpixel
...
The logic is to disentangle the code between renderer.c and FontRenderer
so that this latter has a simple, logical interface.
2020-06-11 17:33:57 +02:00
rxi
95b70b1b16
Revert "Removed __APPLE__ #ifdef from main.c"
...
This reverts commit 6a7e214d1c .
2020-06-11 15:05:39 +01:00
Francesco Abbate
18865fd32f
Remove font renderer debug code
2020-06-09 16:55:26 +02:00
rxi
db471c0554
Version 1.07
2020-06-07 14:02:45 +01:00
rxi
6a7e214d1c
Removed __APPLE__ #ifdef from main.c
2020-06-07 08:57:57 +01:00
Francesco Abbate
fc148d7a51
Merge remote-tracking branch 'rxi/master' into font-rendering-tests
2020-06-07 00:19:03 +02:00
Francesco Abbate
e82d766c2b
Add more debug information in font's bitmap images
2020-06-07 00:15:38 +02:00
Francesco Abbate
81289d651e
Move font resize in a separate function
2020-06-06 19:11:14 +02:00
Francesco Abbate
dcf6b06629
Cleanup debug code
2020-06-06 13:08:39 +02:00
Francesco Abbate
d17fde1b13
WIP: debugging stuff
2020-06-06 10:52:50 +02:00
Francesco Abbate
c5575de058
Move font renderer in a separate folder as a library
2020-06-04 18:52:01 +02:00
Francesco Abbate
2171ea17fb
Add correct copyright information
2020-06-04 18:14:02 +02:00
Francesco Abbate
ac36cfc59c
Remove unused code files
2020-06-04 18:13:28 +02:00
Francesco Abbate
a2a4668887
Add some comments and remove unused code
2020-06-04 17:23:39 +02:00
Francesco Abbate
67124de130
Add some explanatory comments
2020-06-04 17:17:10 +02:00
Francesco Abbate
dc5b668389
Fix resize of bounding rectangle in BakeFontBitmap function
2020-06-04 17:08:55 +02:00
Francesco Abbate
c433017d75
Fix remove unnecessary function templating
2020-06-04 16:46:37 +02:00
Francesco Abbate
a0e7d16167
Implement subpixel LCD font rendering
2020-06-04 16:29:28 +02:00
Daniele Laudani and GitHub
95ee03fb37
move BYPASS_COMPOSITOR near other SetHint
2020-06-03 15:05:55 +02:00
Daniele Laudani and GitHub
7aa462e43d
Don't tell the system to disable compositing under X11
...
Fixes #123
2020-06-03 14:38:44 +02:00
U-ST\francesco abbate
f61ffc4710
Add missing resource file on windows
2020-06-03 12:22:17 +02:00
Francesco Abbate
9bd4a8b9de
Merge remote-tracking branch 'rxi/master' into font-rendering-tests
2020-06-02 23:28:52 +02:00
Francesco Abbate
01a4981210
Use static libgcc and libstdc++ when doing release build
2020-06-02 23:20:22 +02:00
Francesco Abbate
e01ba599ba
Optimize glyph set bitmap rectangles by trimming empty regions
2020-06-02 18:46:44 +02:00
Francesco Abbate
d46cf80226
Adjust xadvance computation to use rounding instead of truncate
2020-06-02 17:52:02 +02:00
Francesco Abbate
39d7d49586
Reduce y padding in BakeFontBitmap
2020-06-02 17:51:26 +02:00
Francesco Abbate
ae032cd185
Ember blender with gamma correction into FontRenderer
2020-06-02 17:18:52 +02:00
Francesco Abbate
bc74b2860d
Add gamma correct pixel blender
2020-06-02 14:47:06 +02:00
Francesco Abbate
c41d6a82e1
Adjust BakeFontBitmap issues
2020-06-01 17:23:18 +02:00
Francesco Abbate
c2949edcd7
Check for errors when loading fonts
2020-06-01 17:01:42 +02:00
Francesco Abbate
b734390388
Use font_renderer in aGG font testing program
2020-06-01 16:57:33 +02:00
Francesco Abbate
e291e7269a
Hack to fix font size rendering to align with STB original rendering
2020-06-01 15:33:14 +02:00
Francesco Abbate
c333425770
Remove stb from Meson dependencies for Lite
2020-06-01 15:28:07 +02:00
Francesco Abbate
98f5c16932
Remove unused variable
2020-06-01 15:16:07 +02:00
Francesco Abbate
5ca7471fc7
Cosmetic code's cleanup
2020-06-01 14:45:07 +02:00
Francesco Abbate
fa06862177
Completely remove usage of stb_truetype
2020-06-01 14:43:45 +02:00
Francesco Abbate
91a82d8ae4
Add missing function to free FontRenderer
2020-06-01 14:42:57 +02:00
Francesco Abbate
0389bd000a
Fix y offset in BakeFontBitmap
...
Compute Y offset more accurately and the way it is required in
renderer.c.
Instead of returning y offset wrt the baseline position returns it
wrt the top position (the baseline plus the font's ascent).
2020-06-01 14:33:46 +02:00
Francesco Abbate
4c6e15b66c
Rename GlyphSetA to GlyphSet
2020-06-01 14:08:50 +02:00
Francesco Abbate
3a8cb05ea6
Replace stb's BakeBitmapFont with AGG based font's renderer
2020-06-01 12:56:23 +02:00
Francesco Abbate
edb103716a
Add function to render a single unicode codepoint
2020-06-01 11:25:22 +02:00
rxi
f00d5d55df
Version 1.06
2020-05-31 16:53:53 +01:00
Francesco Abbate
4ec521dd37
Add correct glyphs bitmap location rects with AGG
2020-05-31 13:53:27 +02:00