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
7ae3426e
Commit
7ae3426e
authored
Nov 22, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Forward more font methods to fontface.
parent
2b3c5d61
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
7 deletions
+31
-7
font.c
dlls/dwrite/font.c
+31
-7
No files found.
dlls/dwrite/font.c
View file @
7ae3426e
...
...
@@ -782,8 +782,16 @@ static DWRITE_FONT_STYLE WINAPI dwritefont_GetStyle(IDWriteFont2 *iface)
static
BOOL
WINAPI
dwritefont_IsSymbolFont
(
IDWriteFont2
*
iface
)
{
struct
dwrite_font
*
This
=
impl_from_IDWriteFont2
(
iface
);
FIXME
(
"(%p): stub
\n
"
,
This
);
return
FALSE
;
IDWriteFontFace2
*
fontface
;
HRESULT
hr
;
TRACE
(
"(%p)
\n
"
,
This
);
hr
=
get_fontface_from_font
(
This
,
&
fontface
);
if
(
FAILED
(
hr
))
return
hr
;
return
IDWriteFontFace2_IsSymbolFont
(
fontface
);
}
static
HRESULT
WINAPI
dwritefont_GetFaceNames
(
IDWriteFont2
*
iface
,
IDWriteLocalizedStrings
**
names
)
...
...
@@ -965,18 +973,34 @@ static HRESULT WINAPI dwritefont1_GetUnicodeRanges(IDWriteFont2 *iface, UINT32 m
return
IDWriteFontFace2_GetUnicodeRanges
(
fontface
,
max_count
,
ranges
,
count
);
}
static
HRESULT
WINAPI
dwritefont1_IsMonospacedFont
(
IDWriteFont2
*
iface
)
static
BOOL
WINAPI
dwritefont1_IsMonospacedFont
(
IDWriteFont2
*
iface
)
{
struct
dwrite_font
*
This
=
impl_from_IDWriteFont2
(
iface
);
FIXME
(
"(%p): stub
\n
"
,
This
);
return
FALSE
;
IDWriteFontFace2
*
fontface
;
HRESULT
hr
;
TRACE
(
"(%p)
\n
"
,
This
);
hr
=
get_fontface_from_font
(
This
,
&
fontface
);
if
(
FAILED
(
hr
))
return
hr
;
return
IDWriteFontFace2_IsMonospacedFont
(
fontface
);
}
static
HRESULT
WINAPI
dwritefont2_IsColorFont
(
IDWriteFont2
*
iface
)
{
struct
dwrite_font
*
This
=
impl_from_IDWriteFont2
(
iface
);
FIXME
(
"(%p): stub
\n
"
,
This
);
return
FALSE
;
IDWriteFontFace2
*
fontface
;
HRESULT
hr
;
TRACE
(
"(%p)
\n
"
,
This
);
hr
=
get_fontface_from_font
(
This
,
&
fontface
);
if
(
FAILED
(
hr
))
return
hr
;
return
IDWriteFontFace2_IsColorFont
(
fontface
);
}
static
const
IDWriteFont2Vtbl
dwritefontvtbl
=
{
...
...
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