Results 1 to 5 of 5

Thread: my fonts are really grainy

  1. #1
    Squire
    Join Date
    Jun 2008
    Posts
    23

    Default my fonts are really grainy

    Hi,

    im creating a font like this...

    CL_Font font("Arial",24,24,1,0,0,0);

    but it's horrible and grainy when I draw with it.

    anyone know how to do really nice smooth fonts?

    Many thanks

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    I do not know about ClanLib 0.8, but ClanLib 0.9, the fonts look very nice

  3. #3
    Peasant
    Join Date
    May 2007
    Posts
    7

    Default

    I have (may be) the same issue:





    some idea ?

  4. #4
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    I assume that you changed the background color on your screen

    Attached is Linux 0.8 Examples/Font1 screen
    Also attached in Linux 0.9 Tests/Display/Font1 screen

    Maybe a Microsoft windows only problem?
    Attached Images Attached Images   

  5. #5
    Peasant
    Join Date
    May 2007
    Posts
    7

    Default

    Actualy it was an issue with my other code using opengl, so i do manualy a glEnable(GL_BLEND); and now it works.

    For babyvegas, I think you are loading the font directly from the OS with this code, noway to have smooth font. The only way in 0.8.1 for making "smooth" font is to handle this with photoshop, look in the font overview documentation.

Similar Threads

  1. ClanLib gui and fonts
    By LonelyStar in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 04-28-2008, 07:52 AM
  2. Fonts & Graphics
    By AllenJB in forum Game development
    Replies: 1
    Last Post: 09-16-2006, 12:00 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •