Here's how HarfBuzz does it: https://github.com/harfbuzz/harfbuzz/blob/master/src/hb-blob.cc
On Sat, Aug 29, 2020, 10:33 AM Vincent Torri <[email protected]> wrote: > On Sat, Aug 29, 2020 at 11:52 AM Werner LEMBERG <[email protected]> wrote: > > > > > > >> If this really makes a difference on Windows, and if you want to > > >> contribute such code, you are welcome to do so! > > > > > > I guess that mmap is useful with a font with a large size, right ? > > > if so, do you have a font to test with ? > > > > You want a very large font to play around? I suggest to try > > `NotoSansCJK.ttc`, which is a 100MByte font: > > > > > https://github.com/googlefonts/noto-cjk/blob/master/NotoSansCJK.ttc.zip > > thank you > > should I write a builds/win32/ftsystem.c ? > > Vincent Torri > >
