adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-commits] CVS: adonthell/src/gui ttf.cc,1.1.2.3,1.1.2.4


From: Alexandre Courbot <address@hidden>
Subject: [Adonthell-commits] CVS: adonthell/src/gui ttf.cc,1.1.2.3,1.1.2.4
Date: Tue, 11 Mar 2003 08:36:00 -0500

Update of /cvsroot/adonthell/adonthell/src/gui
In directory subversions:/tmp/cvs-serv17859/src/gui

Modified Files:
      Tag: Branch_road_to_0-4
        ttf.cc 
Log Message:
Small update to help finding the last bugs in ttf handling


Index: ttf.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/gui/Attic/ttf.cc,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -r1.1.2.3 -r1.1.2.4
*** ttf.cc      5 Mar 2003 10:33:44 -0000       1.1.2.3
--- ttf.cc      11 Mar 2003 13:35:58 -0000      1.1.2.4
***************
*** 189,193 ****
      for (int i = 0; i < dest->length () ; i++)
        {
!       if (*pbmp > 128)  dest->put_pix (dx + i, dy +j, pixelcol); 
        else dest->put_pix (dx + i, dy + j, gfx::screen::trans_col ()); 
        pbmp++; 
--- 189,193 ----
      for (int i = 0; i < dest->length () ; i++)
        {
!       if (*pbmp > 50)  dest->put_pix (dx + i, dy +j, pixelcol); 
        else dest->put_pix (dx + i, dy + j, gfx::screen::trans_col ()); 
        pbmp++; 
***************
*** 275,279 ****
    
    my_glyph = new gfx::image (glyph->bitmap.width, glyph->bitmap.rows);
!   //  my_glyph->set_mask (true);
    ft.copy_bitmap_to_image ( glyph->bitmap.buffer, my_glyph);
  }
--- 275,279 ----
    
    my_glyph = new gfx::image (glyph->bitmap.width, glyph->bitmap.rows);
!   my_glyph->set_mask (true);
    ft.copy_bitmap_to_image ( glyph->bitmap.buffer, my_glyph);
  }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]