nanogui: NanoX version 0.3 released
Subject:
Re: NanoX version 0.3 released
From:
Vidar Hokstad ####@####.####
Date:
12 May 1999 11:50:56 -0000
Message-Id: <Pine.LNX.4.10.9905121339420.2715-100000@a.ncg.net>
On Wed, 12 May 1999, Alan Cox wrote:
> > Consider supporting more than one font pr. file, and mmap()'ing the file
> > instead of allocating memory for it, and reading it in. For those of us
>
> But the font is in the server.
Now it is, but Greg mentioned that Ben is adding support for loading extra
fonts.
> > most other things too: the more cases where mmap() can be used over
> > malloc()'ing some memory and reading in a file, the better it will
> > generally be for the minimum required memory footprint.
>
> The only thing to watch there is that mmap isnt available on all platforms
> (eg Linux 8086)
I know, but in that case we could just malloc() a memory section, and read
the file into it. Of course neither would be good alternatives if you
store fonts in a format that require processing when you read it in, but
the format BOGL uses now is easy to modify so that isn't necessary.
Regards,
Vidar