View previous topic :: View next topic |
Author |
Message |
Phr00t
Joined: 03 Mar 2006 Posts: 203
|
Posted: Wed Jul 26, 2006 5:13 pm Post subject: Disable Anti-Aliasing |
|
|
How can I disable anti-aliasing? At least for fonts? My fonts in FreeUniverse are rather small, and anti-aliasing (I believe) is making them more difficult to read... :-\ |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Wed Jul 26, 2006 10:42 pm Post subject: |
|
|
I'd suggest try a better font. I can't find any option to disable anti-aliasing, however you can try some of these render modes...
Code: |
typedef enum FT_Render_Mode_
{
FT_RENDER_MODE_NORMAL = 0,
FT_RENDER_MODE_LIGHT,
FT_RENDER_MODE_MONO,
FT_RENDER_MODE_LCD,
FT_RENDER_MODE_LCD_V,
FT_RENDER_MODE_MAX
} FT_Render_Mode;
|
http://freetype.sourceforge.net/freetype2/docs/reference/ft2-base_interface.html
Judging from the docs I don't think these modes will get you where you want to go.
Another option would be to try enabling this bytecode interpreter thingy... http://www.freetype.org/patents.html |
|
Back to top |
|
|
Phr00t
Joined: 03 Mar 2006 Posts: 203
|
Posted: Thu Jul 27, 2006 9:36 pm Post subject: |
|
|
Hrm... I did some playing around with the fonts (thats why it was renamed to best.ttf) because that was the best I could find I might have to do some more deep searching at some point...
how do I use these modes? |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Fri Jul 28, 2006 8:18 pm Post subject: |
|
|
To mess around with modes, edit this line in arc.gfx.font.d
FT_Glyph_To_Bitmap( &glyph, FT_Render_Mode.FT_RENDER_MODE_NORMAL, cast(FT_Vector*)0, 1 );
Maybe I can talk to Trevor or h3r3tic and see what they know about the issue, or when I find a solution I will post it here. I will add it to my 'limitations' until I can figure it out.
~ Clay |
|
Back to top |
|
|
Phr00t
Joined: 03 Mar 2006 Posts: 203
|
Posted: Fri Jul 28, 2006 8:58 pm Post subject: |
|
|
Hrm... changing those modes results in some funky effects, none of which are useful
Yeah, let us know if you come up with something!
thanks,
jeremy |
|
Back to top |
|
|
|