Save work.

This commit is contained in:
Michael R Sweet
2023-11-13 16:18:02 -05:00
parent 858cc101b6
commit 688810f143
5 changed files with 329 additions and 18 deletions

View File

@@ -1466,8 +1466,8 @@ pdfioFileCreateFontObjFromFile(
else
{
// Map to specified glyph...
*bufptr++ = (unsigned char)((cmap[i] + 1) >> 8);
*bufptr++ = (unsigned char)((cmap[i] + 1) & 255);
*bufptr++ = (unsigned char)(cmap[i] >> 8);
*bufptr++ = (unsigned char)(cmap[i] & 255);
}
if (bufptr >= bufend)