freetype
[Top][All Lists]
Advanced

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

[Freetype] Use of mmap considered harmful


From: Juliusz Chroboczek
Subject: [Freetype] Use of mmap considered harmful
Date: 04 Apr 2002 23:58:32 +0200

Current stable Linux releases do not support mmap from NTFS.

As the default Linux build of FreeType uses mmap for accessing font
files, this means that it is impossible to use font files in place
from an NTFS partition.  As Windows XP gets deployed on desktop
machines, this is going to become ever more of an issue.

Ideally, the mmap streams library in FreeType should fallback to stdio
when mmap fails (currently with ENODEV (!), but don't trust the Linux
kernel people to remain consistent).  Failing that, I would like to
suggest that the default Linux build of FreeType should not use mmap.

Regards,

                                        Juliusz



reply via email to

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