Merge pull request #392 from satoren/crash_on_32bit_platform

Fix example crash on 32bit platform
This commit is contained in:
Mikko Mononen 2018-09-02 11:36:06 +03:00 • committed by GitHub
commit cfa175a0b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -312,7 +312,7 @@ int fons__tt_getGlyphKernAdvance(FONSttFontImpl *font, int glyph1, int glyph2)
#endif
#ifndef FONS_SCRATCH_BUF_SIZE
# define FONS_SCRATCH_BUF_SIZE 64000
# define FONS_SCRATCH_BUF_SIZE 96000
#endif
#ifndef FONS_HASH_LUT_SIZE
# define FONS_HASH_LUT_SIZE 256