Fix format strings in T42_download_header() and T42_download_glyph().

This commit is contained in:
Gerald Pfeifer 2003-11-11 20:40:27 +00:00 committed by Alexandre Julliard
parent 39f604b04f
commit 149bb9e625
1 changed files with 3 additions and 3 deletions

View File

@ -158,7 +158,7 @@ TYPE42 *T42_download_header(PSDRV_PDEVICE *physDev, LPOUTLINETEXTMETRICA potm,
const char storage[] ="]\nhavetype42gdir{pop}{{string} forall}ifelse\n";
const char end[] = "] def\n"
"havetype42gdir{/GlyphDirectory 256 dict def\n"
" sfnts 0 get dup %d (x) putinterval %d (x) putinterval}if\n"
" sfnts 0 get dup %ld (x) putinterval %ld (x) putinterval}if\n"
"currentdict end dup /FontName get exch definefont pop\n";
@ -287,12 +287,12 @@ BOOL T42_download_glyph(PSDRV_PDEVICE *physDev, DOWNLOAD *pdl, DWORD index,
const char glyph_def[] =
"/%s findfont exch 1 index\n"
"havetype42gdir\n"
"{/GlyphDirectory get begin %d exch def end}\n"
"{/GlyphDirectory get begin %ld exch def end}\n"
"{/sfnts get 4 index get 3 index 2 index putinterval pop}\n"
"ifelse\n"
"/CharStrings get\n"
"begin\n"
" /%s %d def\n"
" /%s %ld def\n"
"end\n"
"pop pop\n";