Re: [ft-devel] benchmark of sfnt checksum recalculation

2011-04-30 Thread Werner LEMBERG
Here is 2nd testcases checking ca. 1900 fonts [...] Thanks. Since this is a once-per-font operation, I don't think we should think too much about timing issues. Please proceed. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] benchmark of sfnt checksum recalculation

2011-04-30 Thread suzuki toshiya
Hi all, Just I've committed to make tricky font detector to ignore the existing checksum written in the TrueType header, like this. In my benchmark, the latency in FT_New_Face() introduced by this change is less than 0.01%. However, if anybody thinks extra seek of the font file is problematic

Re: [ft-devel] benchmark of sfnt checksum recalculation

2011-04-30 Thread Werner LEMBERG
Just I've committed to make tricky font detector to ignore the existing checksum written in the TrueType header, [...] Thanks! Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

[ft-devel] configure option to disable mmap()

2011-04-30 Thread suzuki toshiya
Dear Werner, During the benchmark tests, sometimes I build FreeType2 library without mmap() on GNU/Linux, to guess the situation in legacy or embedded systems without mmap() functions that the slower standard I/O is used. At present, configure script always uses mmap() if it is found, so I added

Re: [ft-devel] configure option to disable mmap()

2011-04-30 Thread Werner LEMBERG
At present, configure script always uses mmap() if it is found, so I added an option --disable-mmap to ignore it. Although this is only for developers who want to make irregular configuration, is it meaningful to merger in official source code? If you think this is useful, please add it!