Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
238b4da3
Commit
238b4da3
authored
Aug 14, 2002
by
Huw D M Davies
Committed by
Alexandre Julliard
Aug 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct font size for non MM_TEXT modes.
parent
1dc62b7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
type1.c
dlls/wineps/type1.c
+6
-2
No files found.
dlls/wineps/type1.c
View file @
238b4da3
...
...
@@ -56,6 +56,7 @@ TYPE1 *T1_download_header(PSDRV_PDEVICE *physDev, LPOUTLINETEXTMETRICA potm,
char
*
buf
;
TYPE1
*
t1
;
LOGFONTW
lf
;
RECT
rc
;
char
dict
[]
=
/* name, emsquare, fontbbox */
"25 dict begin
\n
"
...
...
@@ -85,7 +86,10 @@ TYPE1 *T1_download_header(PSDRV_PDEVICE *physDev, LPOUTLINETEXTMETRICA potm,
t1
->
emsize
=
potm
->
otmEMSquare
;
GetObjectW
(
GetCurrentObject
(
physDev
->
hdc
,
OBJ_FONT
),
sizeof
(
lf
),
&
lf
);
lf
.
lfHeight
=
-
t1
->
emsize
;
rc
.
left
=
rc
.
right
=
rc
.
bottom
=
0
;
rc
.
top
=
t1
->
emsize
;
DPtoLP
(
physDev
->
hdc
,
(
POINT
*
)
&
rc
,
2
);
lf
.
lfHeight
=
-
abs
(
rc
.
top
-
rc
.
bottom
);
t1
->
unscaled_font
=
CreateFontIndirectW
(
&
lf
);
t1
->
glyph_sent_size
=
GLYPH_SENT_INC
;
t1
->
glyph_sent
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
...
...
@@ -191,7 +195,7 @@ BOOL T1_download_glyph(PSDRV_PDEVICE *physDev, DOWNLOAD *pdl, DWORD index,
POINT
curpos
;
TTPOLYGONHEADER
*
pph
;
TTPOLYCURVE
*
ppc
;
char
glyph_def_begin
[]
=
char
glyph_def_begin
[]
=
"/%s findfont dup
\n
"
"/Private get begin
\n
"
"/CharStrings get begin
\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