Re: [PATCH] Faster glyph lookup by BMP index

2009-12-04 Thread Robert Millan
On Sun, Nov 29, 2009 at 03:29:18PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Hello. Basic Multilingual Plane is range of Unicode characters in 0-65535 and it contains most of the characters needed by most of the languages of the world. By keeping an array with pointers to such

[PATCH] Faster glyph lookup by BMP index

2009-11-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello. Basic Multilingual Plane is range of Unicode characters in 0-65535 and it contains most of the characters needed by most of the languages of the world. By keeping an array with pointers to such characters at the cost of 128KiB per font we can almost instantenously lookup characters which

Re: [PATCH] Faster glyph lookup by BMP index

2009-11-29 Thread richardvo...@gmail.com
Is this table stored in the file or built during font load? 128KiB in memory is no issue at all on modern systems, 128KiB in a file is somewhat more troublesome since it won't fit in a boot sector, is a big chunk of a rescue diskette, and the I/O cost is noticeable. These glyphs are stored in

Re: [PATCH] Faster glyph lookup by BMP index

2009-11-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
richardvo...@gmail.com wrote: Is this table stored in the file or built during font load? This table is generated on file load 2009/11/29 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com: Hello. Basic Multilingual Plane is range of Unicode characters in 0-65535 and it contains