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
baee27c6
Commit
baee27c6
authored
Sep 13, 2007
by
Mikolaj Zalewski
Committed by
Alexandre Julliard
Sep 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Implement AddFontMemResourceEx (based on a patch of Byeong-Sik Jeon).
parent
66cf4f7d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
2 deletions
+3
-2
font.c
dlls/gdi32/font.c
+1
-2
freetype.c
dlls/gdi32/freetype.c
+0
-0
gdi_private.h
dlls/gdi32/gdi_private.h
+1
-0
wingdi.h
include/wingdi.h
+1
-0
No files found.
dlls/gdi32/font.c
View file @
baee27c6
...
...
@@ -3214,8 +3214,7 @@ BOOL WINAPI RemoveFontResourceW( LPCWSTR str )
*/
HANDLE
WINAPI
AddFontMemResourceEx
(
PVOID
pbFont
,
DWORD
cbFont
,
PVOID
pdv
,
DWORD
*
pcFonts
)
{
FIXME
(
"(%p,%08x,%p,%p): stub
\n
"
,
pbFont
,
cbFont
,
pdv
,
pcFonts
);
return
NULL
;
return
WineEngAddFontMemResourceEx
(
pbFont
,
cbFont
,
pdv
,
pcFonts
);
}
/***********************************************************************
...
...
dlls/gdi32/freetype.c
View file @
baee27c6
This diff is collapsed.
Click to expand it.
dlls/gdi32/gdi_private.h
View file @
baee27c6
...
...
@@ -421,6 +421,7 @@ extern HENHMETAFILE EMF_Create_HENHMETAFILE(ENHMETAHEADER *emh, BOOL on_disk );
/* freetype.c */
extern
INT
WineEngAddFontResourceEx
(
LPCWSTR
,
DWORD
,
PVOID
);
extern
HANDLE
WineEngAddFontMemResourceEx
(
PVOID
,
DWORD
,
PVOID
,
LPDWORD
);
extern
GdiFont
*
WineEngCreateFontInstance
(
DC
*
,
HFONT
);
extern
BOOL
WineEngDestroyFontInstance
(
HFONT
handle
);
extern
DWORD
WineEngEnumFonts
(
LPLOGFONTW
,
FONTENUMPROCW
,
LPARAM
);
...
...
include/wingdi.h
View file @
baee27c6
...
...
@@ -3274,6 +3274,7 @@ INT WINAPI AddFontResourceW(LPCWSTR);
INT
WINAPI
AddFontResourceExA
(
LPCSTR
,
DWORD
,
PVOID
);
INT
WINAPI
AddFontResourceExW
(
LPCWSTR
,
DWORD
,
PVOID
);
#define AddFontResourceEx WINELIB_NAME_AW(AddFontResourceEx)
HANDLE
WINAPI
AddFontMemResourceEx
(
PVOID
,
DWORD
,
PVOID
,
DWORD
*
);
BOOL
WINAPI
AlphaBlend
(
HDC
,
int
,
int
,
int
,
int
,
HDC
,
int
,
int
,
int
,
int
,
BLENDFUNCTION
);
BOOL
WINAPI
AngleArc
(
HDC
,
INT
,
INT
,
DWORD
,
FLOAT
,
FLOAT
);
BOOL
WINAPI
AnimatePalette
(
HPALETTE
,
UINT
,
UINT
,
const
PALETTEENTRY
*
);
...
...
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