Re: [Lazarus] How can I improve my bitmap font drawing unit (attached) ?

2008-08-28 Thread Pavel Řezníček
Peter Williams wrote: Hi All, I'd like some advice about the attached unit, named uFixedWidthFonts.pas. It is designed to read 2-colour bitmaps of font character sets of different sizes, from files which are Windowz BMP format. For example, Chars_Lower_8x8.bmp -- this is a 320 x 56

Re: [Lazarus] How can I improve my bitmap font drawing unit (attached) ?

2008-08-28 Thread Felipe Monteiro de Carvalho
On 8/13/08, Peter Williams [EMAIL PROTECTED] wrote: My main question is: would I be better off using a TImageList?!? Can someone please post sample code. Note: I tried to run the TImageList example program for Lazarus... it compiles okay... but when run it does not find some of its files

Re: [Lazarus] How can I improve my bitmap font drawing unit (attached) ?

2008-08-28 Thread Pavel Řezníček
Felipe Monteiro de Carvalho napsal(a): On 8/13/08, Peter Williams [EMAIL PROTECTED] wrote: My main question is: would I be better off using a TImageList?!? Can someone please post sample code. Note: I tried to run the TImageList example program for Lazarus... it compiles okay... but when run

Re: [Lazarus] How can I improve my bitmap font drawing unit (attached) ?

2008-08-24 Thread Dominique Louis
Hi Peter, Please check out SDLMonoFonts.pas and of course sdl_ttf.pas both or which are included in the JEDI-SDL v1.0 beta release. They also some with some demos to get you going. IHTH, Dominique. Peter Williams wrote: Hi All, I'd like some advice about the attached unit, named

Re: [Lazarus] How can I improve my bitmap font drawing unit (attached) ?

2008-08-14 Thread Peter Williams
G'day Ido All, Perhaps I didn't explain myself correctly. When I said that (in the subject) that I want to improve my unit... what I meant is that I want to optimize my unit so that the graphics are rendered faster. And also possibly stored in a more effective way. Actually your suggestion (1)

Re: [Lazarus] How can I improve my bitmap font drawing unit (attached) ?

2008-08-14 Thread Pavel Řezníček
Peter Williams wrote: Hi All, I'd like some advice about the attached unit, named uFixedWidthFonts.pas. It is designed to read 2-colour bitmaps of font character sets of different sizes, from files which are Windowz BMP format. For example, Chars_Lower_8x8.bmp -- this is a 320 x 56

[Lazarus] How can I improve my bitmap font drawing unit (attached) ?

2008-08-13 Thread Peter Williams
Hi All, I'd like some advice about the attached unit, named uFixedWidthFonts.pas. It is designed to read 2-colour bitmaps of font character sets of different sizes, from files which are Windowz BMP format. For example, Chars_Lower_8x8.bmp -- this is a 320 x 56 pixels, 1 layer BMP file, file size