[fpc-pascal] Accessing ROM BIOS Font in Linux.

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Sun Jan 20 10:27:24 CET 2008


Anthony W.Henry wrote:

>> 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.

That's true (and interesting), but I was thinking about the bigger picture 
where a program was running under Windows or X and you wanted to pass a custom 
fount to the overall graphical environment rather than having to plot 
individual pixels.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list