Commit 149bb9e6 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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

parent 39f604b0
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment