Re: [fpc-pascal] dot within unit file name
Marco van de Voort schrieb: As far as I can see this is no real advantage, except allowing dots in unitnames. That is what I want. :-) Ok, the better way are child units, but the dots would be a nice feature. g Micha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.
Anthony W.Henry wrote: I really don't have to worry about the few Kilobytes it will add to the program file :). Anyone know any good GPL'd or Public Domain bit fonts ? Remember that you can easily preprocess it with RLL. I'd expect a bitmap fount to be very compressible. Google for "Programmer's fonts" etc., there's plenty around; otherwise look to see what's bundled with things like FreeDOS. If you like I'll send you my favourite as a .fon file- I might have it in other formats but have limited time to look for things. Please mail me direct (see below) if you want a copy. One thing I'd add is that using Delphi it's possible (although not trivial) to embed a .fon as a resource in an executable. I don't know the extent to which this can be done using (in particular) Lazarus on Windows or on Linux. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.
On Sat, 2008-01-19 at 13:19 +, Mark Morgan Lloyd wrote: > Anthony W.Henry wrote: > > > I really don't have to worry about the few Kilobytes > > it will add to the program file :). Anyone know any good > > GPL'd or Public Domain bit fonts ? > > Remember that you can easily preprocess it with RLL. I'd expect a bitmap > fount > to be very compressible. > [snip] > One thing I'd add is that using Delphi it's possible (although not trivial) > to > embed a .fon as a resource in an executable. I don't know the extent to which > this can be done using (in particular) Lazarus on Windows or on Linux. > I imagine the easiest way is bin2obj and just make it a constant array in the program. :)That is a useful trick and much easier then resources. (I most recently used it to make a bitmap CGI hit counter. the Digit jpg's where all stored as Const arrays of byte and the CGI recursively called itself. Anthony ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Read UTF8 Files
Hi ! I would like to read UTF8 files. There is TFileStream, and it seems to make the job. However, I need read _big_ files (with long string) so I would like to read block by block instead of a big string in memory with ReadAnsiString. How should I do ? Thanks ! -- Damien Gerard [EMAIL PROTECTED] Le temps n'a pas d'importance. Seul le code est important -- (f00ty) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal