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
86b99de8
Commit
86b99de8
authored
May 01, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
May 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps.drv: Remove unused code.
parent
bee29a6c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
text.c
dlls/wineps.drv/text.c
+0
-11
type42.c
dlls/wineps.drv/type42.c
+0
-5
No files found.
dlls/wineps.drv/text.c
View file @
86b99de8
...
...
@@ -95,21 +95,10 @@ static BOOL PSDRV_Text(PSDRV_PDEVICE *physDev, INT x, INT y, UINT flags, LPCWSTR
UINT
count
,
BOOL
bDrawBackground
,
const
INT
*
lpDx
)
{
WORD
*
glyphs
=
NULL
;
double
cosEsc
,
sinEsc
;
LOGFONTW
lf
;
if
(
!
count
)
return
TRUE
;
GetObjectW
(
GetCurrentObject
(
physDev
->
hdc
,
OBJ_FONT
),
sizeof
(
lf
),
&
lf
);
if
(
lf
.
lfEscapement
!=
0
)
{
cosEsc
=
cos
(
lf
.
lfEscapement
*
M_PI
/
1800
);
sinEsc
=
sin
(
lf
.
lfEscapement
*
M_PI
/
1800
);
}
else
{
cosEsc
=
1
;
sinEsc
=
0
;
}
if
(
physDev
->
font
.
fontloc
==
Download
)
glyphs
=
(
LPWORD
)
str
;
...
...
dlls/wineps.drv/type42.c
View file @
86b99de8
...
...
@@ -285,8 +285,6 @@ BOOL T42_download_glyph(PSDRV_PDEVICE *physDev, DOWNLOAD *pdl, DWORD index,
DWORD
start
,
end
,
i
;
char
*
buf
;
TYPE42
*
t42
;
WORD
awidth
;
short
lsb
;
const
char
glyph_def
[]
=
"/%s findfont exch 1 index
\n
"
...
...
@@ -317,9 +315,6 @@ BOOL T42_download_glyph(PSDRV_PDEVICE *physDev, DOWNLOAD *pdl, DWORD index,
if
(
!
get_glyf_pos
(
t42
,
index
,
&
start
,
&
end
))
return
FALSE
;
TRACE
(
"start = %x end = %x
\n
"
,
start
,
end
);
awidth
=
GET_BE_WORD
(
t42
->
tables
[
t42
->
hmtx_tab
].
data
+
index
*
4
);
lsb
=
GET_BE_WORD
(
t42
->
tables
[
t42
->
hmtx_tab
].
data
+
index
*
4
+
2
);
if
(
GET_BE_WORD
(
t42
->
tables
[
t42
->
glyf_tab
].
data
+
start
)
==
0xffff
)
{
/* Composite glyph */
BYTE
*
sg_start
=
t42
->
tables
[
t42
->
glyf_tab
].
data
+
start
+
10
;
...
...
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