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
e9a8e6a4
Commit
e9a8e6a4
authored
Feb 18, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Move EnumFonts16 and EnumFontFamilies16 to gdi16.c.
parent
3055239f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
30 deletions
+32
-30
font.c
dlls/gdi32/font.c
+0
-30
gdi16.c
dlls/gdi32/gdi16.c
+32
-0
No files found.
dlls/gdi32/font.c
View file @
e9a8e6a4
...
...
@@ -861,27 +861,6 @@ INT WINAPI EnumFontFamiliesExA( HDC hDC, LPLOGFONTA plf,
}
/***********************************************************************
* EnumFontFamilies (GDI.330)
*/
INT16
WINAPI
EnumFontFamilies16
(
HDC16
hDC
,
LPCSTR
lpFamily
,
FONTENUMPROC16
efproc
,
LPARAM
lpData
)
{
LOGFONT16
lf
,
*
plf
;
if
(
lpFamily
)
{
if
(
!*
lpFamily
)
return
1
;
lstrcpynA
(
lf
.
lfFaceName
,
lpFamily
,
LF_FACESIZE
);
lf
.
lfCharSet
=
DEFAULT_CHARSET
;
lf
.
lfPitchAndFamily
=
0
;
plf
=
&
lf
;
}
else
plf
=
NULL
;
return
EnumFontFamiliesEx16
(
hDC
,
plf
,
efproc
,
lpData
,
0
);
}
/***********************************************************************
* EnumFontFamiliesA (GDI32.@)
*/
INT
WINAPI
EnumFontFamiliesA
(
HDC
hDC
,
LPCSTR
lpFamily
,
...
...
@@ -924,15 +903,6 @@ INT WINAPI EnumFontFamiliesW( HDC hDC, LPCWSTR lpFamily,
}
/***********************************************************************
* EnumFonts (GDI.70)
*/
INT16
WINAPI
EnumFonts16
(
HDC16
hDC
,
LPCSTR
lpName
,
FONTENUMPROC16
efproc
,
LPARAM
lpData
)
{
return
EnumFontFamilies16
(
hDC
,
lpName
,
efproc
,
lpData
);
}
/***********************************************************************
* EnumFontsA (GDI32.@)
*/
INT
WINAPI
EnumFontsA
(
HDC
hDC
,
LPCSTR
lpName
,
FONTENUMPROCA
efproc
,
...
...
dlls/gdi32/gdi16.c
View file @
e9a8e6a4
...
...
@@ -1046,6 +1046,16 @@ BOOL16 WINAPI DeleteObject16( HGDIOBJ16 obj )
/***********************************************************************
* EnumFonts (GDI.70)
*/
INT16
WINAPI
EnumFonts16
(
HDC16
hDC
,
LPCSTR
lpName
,
FONTENUMPROC16
efproc
,
LPARAM
lpData
)
{
return
EnumFontFamilies16
(
hDC
,
lpName
,
efproc
,
lpData
);
}
/***********************************************************************
* EnumObjects (GDI.71)
*/
INT16
WINAPI
EnumObjects16
(
HDC16
hdc
,
INT16
obj
,
GOBJENUMPROC16
proc
,
LPARAM
lParam
)
...
...
@@ -1928,6 +1938,28 @@ BOOL16 WINAPI GetRasterizerCaps16( LPRASTERIZER_STATUS lprs, UINT16 cbNumBytes )
}
/***********************************************************************
* EnumFontFamilies (GDI.330)
*/
INT16
WINAPI
EnumFontFamilies16
(
HDC16
hDC
,
LPCSTR
lpFamily
,
FONTENUMPROC16
efproc
,
LPARAM
lpData
)
{
LOGFONT16
lf
,
*
plf
;
if
(
lpFamily
)
{
if
(
!*
lpFamily
)
return
1
;
lstrcpynA
(
lf
.
lfFaceName
,
lpFamily
,
LF_FACESIZE
);
lf
.
lfCharSet
=
DEFAULT_CHARSET
;
lf
.
lfPitchAndFamily
=
0
;
plf
=
&
lf
;
}
else
plf
=
NULL
;
return
EnumFontFamiliesEx16
(
hDC
,
plf
,
efproc
,
lpData
,
0
);
}
/*************************************************************************
* GetKerningPairs (GDI.332)
*
...
...
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