Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
149bb9e6
Commit
149bb9e6
authored
Nov 11, 2003
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Nov 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix format strings in T42_download_header() and T42_download_glyph().
parent
39f604b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
type42.c
dlls/wineps/type42.c
+3
-3
No files found.
dlls/wineps/type42.c
View file @
149bb9e6
...
@@ -158,7 +158,7 @@ TYPE42 *T42_download_header(PSDRV_PDEVICE *physDev, LPOUTLINETEXTMETRICA potm,
...
@@ -158,7 +158,7 @@ TYPE42 *T42_download_header(PSDRV_PDEVICE *physDev, LPOUTLINETEXTMETRICA potm,
const
char
storage
[]
=
"]
\n
havetype42gdir{pop}{{string} forall}ifelse
\n
"
;
const
char
storage
[]
=
"]
\n
havetype42gdir{pop}{{string} forall}ifelse
\n
"
;
const
char
end
[]
=
"] def
\n
"
const
char
end
[]
=
"] def
\n
"
"havetype42gdir{/GlyphDirectory 256 dict 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 %l
d (x) putinterval}if
\n
"
"currentdict end dup /FontName get exch definefont pop
\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,
...
@@ -287,12 +287,12 @@ BOOL T42_download_glyph(PSDRV_PDEVICE *physDev, DOWNLOAD *pdl, DWORD index,
const
char
glyph_def
[]
=
const
char
glyph_def
[]
=
"/%s findfont exch 1 index
\n
"
"/%s findfont exch 1 index
\n
"
"havetype42gdir
\n
"
"havetype42gdir
\n
"
"{/GlyphDirectory get begin %d exch def end}
\n
"
"{/GlyphDirectory get begin %
l
d exch def end}
\n
"
"{/sfnts get 4 index get 3 index 2 index putinterval pop}
\n
"
"{/sfnts get 4 index get 3 index 2 index putinterval pop}
\n
"
"ifelse
\n
"
"ifelse
\n
"
"/CharStrings get
\n
"
"/CharStrings get
\n
"
"begin
\n
"
"begin
\n
"
" /%s %d def
\n
"
" /%s %
l
d def
\n
"
"end
\n
"
"end
\n
"
"pop pop
\n
"
;
"pop pop
\n
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment