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
b4dc4e25
Commit
b4dc4e25
authored
Oct 21, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Remove unused parameter.
parent
4f18c053
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
dwrite_private.h
dlls/dwrite/dwrite_private.h
+1
-1
font.c
dlls/dwrite/font.c
+2
-2
main.c
dlls/dwrite/main.c
+1
-1
No files found.
dlls/dwrite/dwrite_private.h
View file @
b4dc4e25
...
...
@@ -105,7 +105,7 @@ extern HRESULT get_system_fontcollection(IDWriteFontCollection**) DECLSPEC_HIDDE
extern
HRESULT
get_textanalyzer
(
IDWriteTextAnalyzer
**
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_font_file
(
IDWriteFontFileLoader
*
loader
,
const
void
*
reference_key
,
UINT32
key_size
,
IDWriteFontFile
**
font_file
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_localfontfileloader
(
IDWriteLocalFontFileLoader
**
iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
font_create_fontface
(
IDWriteFactory
*
,
DWRITE_FONT_FACE_TYPE
,
UINT32
,
IDWriteFontFile
*
const
*
,
UINT32
,
DWRITE_FONT_SIMULATIONS
,
IDWriteFontFace2
**
)
DECLSPEC_HIDDEN
;
extern
HRESULT
font_create_fontface
(
DWRITE_FONT_FACE_TYPE
,
UINT32
,
IDWriteFontFile
*
const
*
,
UINT32
,
DWRITE_FONT_SIMULATIONS
,
IDWriteFontFace2
**
)
DECLSPEC_HIDDEN
;
/* Opentype font table functions */
extern
HRESULT
opentype_analyze_font
(
IDWriteFontFileStream
*
,
UINT32
*
,
DWRITE_FONT_FILE_TYPE
*
,
DWRITE_FONT_FACE_TYPE
*
,
BOOL
*
)
DECLSPEC_HIDDEN
;
...
...
dlls/dwrite/font.c
View file @
b4dc4e25
...
...
@@ -747,7 +747,7 @@ static HRESULT get_fontface_from_font(struct dwrite_font *font, IDWriteFontFace2
if
(
!
font
->
face
)
{
HRESULT
hr
=
font
->
is_system
?
create_system_fontface
(
font
,
&
font
->
face
)
:
font_create_fontface
(
NULL
,
font
->
data
->
face_data
->
type
,
font
->
data
->
face_data
->
file_count
,
font
->
data
->
face_data
->
files
,
font_create_fontface
(
font
->
data
->
face_data
->
type
,
font
->
data
->
face_data
->
file_count
,
font
->
data
->
face_data
->
files
,
font
->
data
->
face_data
->
index
,
font
->
data
->
face_data
->
simulations
,
&
font
->
face
);
if
(
FAILED
(
hr
))
return
hr
;
}
...
...
@@ -1676,7 +1676,7 @@ HRESULT create_font_file(IDWriteFontFileLoader *loader, const void *reference_ke
return
S_OK
;
}
HRESULT
font_create_fontface
(
IDWriteFactory
*
iface
,
DWRITE_FONT_FACE_TYPE
facetype
,
UINT32
files_number
,
IDWriteFontFile
*
const
*
font_files
,
UINT32
index
,
DWRITE_FONT_SIMULATIONS
sim_flags
,
IDWriteFontFace2
**
font_face
)
HRESULT
font_create_fontface
(
DWRITE_FONT_FACE_TYPE
facetype
,
UINT32
files_number
,
IDWriteFontFile
*
const
*
font_files
,
UINT32
index
,
DWRITE_FONT_SIMULATIONS
sim_flags
,
IDWriteFontFace2
**
font_face
)
{
int
i
;
struct
dwrite_fontface
*
This
;
...
...
dlls/dwrite/main.c
View file @
b4dc4e25
...
...
@@ -629,7 +629,7 @@ static HRESULT WINAPI dwritefactory_CreateFontFace(IDWriteFactory *iface,
{
struct
dwritefactory
*
This
=
impl_from_IDWriteFactory
(
iface
);
TRACE
(
"(%p)->(%d %u %p %u 0x%x %p)
\n
"
,
This
,
facetype
,
files_number
,
font_files
,
index
,
sim_flags
,
font_face
);
return
font_create_fontface
(
iface
,
facetype
,
files_number
,
font_files
,
index
,
sim_flags
,
(
IDWriteFontFace2
**
)
font_face
);
return
font_create_fontface
(
facetype
,
files_number
,
font_files
,
index
,
sim_flags
,
(
IDWriteFontFace2
**
)
font_face
);
}
static
HRESULT
WINAPI
dwritefactory_CreateRenderingParams
(
IDWriteFactory
*
iface
,
IDWriteRenderingParams
**
params
)
...
...
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