mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
Fix format strings in T42_download_header() and T42_download_glyph().
This commit is contained in:
parent
39f604b04f
commit
149bb9e625
1 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue