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
29d5887b
Commit
29d5887b
authored
Mar 03, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Mar 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t2embed: Add stub for TTEmbedFont.
parent
09dd285d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
2 deletions
+23
-2
main.c
dlls/t2embed/main.c
+13
-0
t2embed.spec
dlls/t2embed/t2embed.spec
+2
-2
t2embapi.h
include/t2embapi.h
+8
-0
No files found.
dlls/t2embed/main.c
View file @
29d5887b
...
@@ -60,6 +60,19 @@ LONG WINAPI TTLoadEmbeddedFont(HANDLE *phFontReference, ULONG ulFlags,
...
@@ -60,6 +60,19 @@ LONG WINAPI TTLoadEmbeddedFont(HANDLE *phFontReference, ULONG ulFlags,
return
E_API_NOTIMPL
;
return
E_API_NOTIMPL
;
}
}
LONG
WINAPI
TTEmbedFont
(
HDC
hDC
,
ULONG
ulFlags
,
ULONG
ulCharSet
,
ULONG
*
pulPrivStatus
,
ULONG
*
pulStatus
,
WRITEEMBEDPROC
lpfnWriteToStream
,
LPVOID
lpvWriteStream
,
USHORT
*
pusCharCodeSet
,
USHORT
usCharCodeCount
,
USHORT
usLanguage
,
TTEMBEDINFO
*
pTTEmbedInfo
)
{
FIXME
(
"(%p 0x%08x 0x%08x %p %p %p %p %p %u %u %p) stub
\n
"
,
hDC
,
ulFlags
,
ulCharSet
,
pulPrivStatus
,
pulStatus
,
lpfnWriteToStream
,
lpvWriteStream
,
pusCharCodeSet
,
usCharCodeCount
,
usLanguage
,
pTTEmbedInfo
);
return
E_API_NOTIMPL
;
}
LONG
WINAPI
TTGetEmbeddingType
(
HDC
hDC
,
ULONG
*
status
)
LONG
WINAPI
TTGetEmbeddingType
(
HDC
hDC
,
ULONG
*
status
)
{
{
FIXME
(
"(%p %p) stub
\n
"
,
hDC
,
status
);
FIXME
(
"(%p %p) stub
\n
"
,
hDC
,
status
);
...
...
dlls/t2embed/t2embed.spec
View file @
29d5887b
@ stub TTCharToUnicode
@ stub TTCharToUnicode
@ stub TTDeleteEmbeddedFont
@ stub TTDeleteEmbeddedFont
@ st
ub TTEmbedFont
@ st
dcall TTEmbedFont(ptr long long ptr ptr ptr ptr ptr long long ptr)
@ stub TTEmbedFontFromFileA
@ stub TTEmbedFontFromFileA
@ stub TTEnableEmbeddingForFacename
@ stub TTEnableEmbeddingForFacename
@ stub TTGetEmbeddedFontInfo
@ stub TTGetEmbeddedFontInfo
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
@ stub TTRunValidationTests
@ stub TTRunValidationTests
@ stub _TTCharToUnicode@24
@ stub _TTCharToUnicode@24
@ stub _TTDeleteEmbeddedFont@12
@ stub _TTDeleteEmbeddedFont@12
@ st
ub _TTEmbedFont@44
@ st
dcall _TTEmbedFont@44(ptr long long ptr ptr ptr ptr ptr long long ptr) TTEmbedFont
@ stub _TTEmbedFontFromFileA@52
@ stub _TTEmbedFontFromFileA@52
@ stub _TTEnableEmbeddingForFacename@8
@ stub _TTEnableEmbeddingForFacename@8
@ stub _TTGetEmbeddedFontInfo@28
@ stub _TTGetEmbeddedFontInfo@28
...
...
include/t2embapi.h
View file @
29d5887b
...
@@ -28,6 +28,7 @@ extern "C" {
...
@@ -28,6 +28,7 @@ extern "C" {
#define E_API_NOTIMPL 0x0001L
#define E_API_NOTIMPL 0x0001L
typedef
ULONG
(
WINAPIV
*
READEMBEDPROC
)(
void
*
,
void
*
,
ULONG
);
typedef
ULONG
(
WINAPIV
*
READEMBEDPROC
)(
void
*
,
void
*
,
ULONG
);
typedef
ULONG
(
WINAPIV
*
WRITEEMBEDPROC
)(
void
*
,
void
*
,
ULONG
);
typedef
struct
typedef
struct
{
{
...
@@ -36,6 +37,13 @@ typedef struct
...
@@ -36,6 +37,13 @@ typedef struct
unsigned
short
*
pusRefStr
;
unsigned
short
*
pusRefStr
;
}
TTLOADINFO
;
}
TTLOADINFO
;
typedef
struct
{
unsigned
short
usStructSize
;
unsigned
short
usRootStrSize
;
unsigned
short
*
pusRootStr
;
}
TTEMBEDINFO
;
LONG
WINAPI
TTLoadEmbeddedFont
(
HANDLE
*
,
ULONG
,
ULONG
*
,
ULONG
,
ULONG
*
,
READEMBEDPROC
,
LONG
WINAPI
TTLoadEmbeddedFont
(
HANDLE
*
,
ULONG
,
ULONG
*
,
ULONG
,
ULONG
*
,
READEMBEDPROC
,
LPVOID
,
LPWSTR
,
LPSTR
,
TTLOADINFO
*
);
LPVOID
,
LPWSTR
,
LPSTR
,
TTLOADINFO
*
);
...
...
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