mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2025-12-24 23:30:04 +01:00
This commit fixes the changes from 2018-07-21, which broke charmap iteration. We now add the default character as a new glyph with index 0, thus increasing the number of glyphs by one (as before). * src/pcf/pcfread.c (pcf_get_metrics): Adjust to new artificial glyph with index 0. Limit number of elements to 65534. (pcf_get_bitmaps): Ditto. Unify two loops into one; this avoids allocation of an intermediate array. (pcf_get_encodings): Don't flip indices but copy glyph metrics of default character to index 0. Also handle invalid default character. * docs/CHANGES: Updated. |
||
|---|---|---|
| .. | ||
| reference | ||
| CHANGES | ||
| CMAKE | ||
| CUSTOMIZE | ||
| DEBUG | ||
| DOCGUIDE | ||
| formats.txt | ||
| freetype-config.1 | ||
| FTL.TXT | ||
| GPLv2.TXT | ||
| INSTALL | ||
| INSTALL.ANY | ||
| INSTALL.CROSS | ||
| INSTALL.GNU | ||
| INSTALL.MAC | ||
| INSTALL.UNIX | ||
| INSTALL.VMS | ||
| LICENSE.TXT | ||
| MAKEPP | ||
| PROBLEMS | ||
| raster.txt | ||
| release | ||
| TODO | ||
| VERSIONS.TXT | ||