FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Disable Anti-Aliasing

 
Post new topic   Reply to topic     Forum Index -> ArcLib
View previous topic :: View next topic  
Author Message
Phr00t



Joined: 03 Mar 2006
Posts: 203

PostPosted: Wed Jul 26, 2006 5:13 pm    Post subject: Disable Anti-Aliasing Reply with quote

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
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Wed Jul 26, 2006 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Phr00t



Joined: 03 Mar 2006
Posts: 203

PostPosted: Thu Jul 27, 2006 9:36 pm    Post subject: Reply with quote

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 Sad I might have to do some more deep searching at some point...

how do I use these modes?
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Fri Jul 28, 2006 8:18 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Phr00t



Joined: 03 Mar 2006
Posts: 203

PostPosted: Fri Jul 28, 2006 8:58 pm    Post subject: Reply with quote

Hrm... changing those modes results in some funky effects, none of which are useful Smile

Yeah, let us know if you come up with something!

thanks,
jeremy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> ArcLib All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group