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
5a33f86e
Commit
5a33f86e
authored
Jul 02, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Remove unused functions.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
86c7f17f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
analyzer.c
dlls/dwrite/analyzer.c
+0
-8
font.c
dlls/dwrite/font.c
+0
-5
No files found.
dlls/dwrite/analyzer.c
View file @
5a33f86e
...
@@ -1394,14 +1394,6 @@ static HRESULT WINAPI dwritetextanalyzer_GetGdiCompatibleGlyphPlacements(IDWrite
...
@@ -1394,14 +1394,6 @@ static HRESULT WINAPI dwritetextanalyzer_GetGdiCompatibleGlyphPlacements(IDWrite
return
hr
;
return
hr
;
}
}
static
inline
FLOAT
get_cluster_advance
(
const
FLOAT
*
advances
,
UINT32
start
,
UINT32
end
)
{
FLOAT
advance
=
0
.
0
f
;
for
(;
start
<
end
;
start
++
)
advance
+=
advances
[
start
];
return
advance
;
}
static
HRESULT
apply_cluster_spacing
(
float
leading_spacing
,
float
trailing_spacing
,
float
min_advance_width
,
static
HRESULT
apply_cluster_spacing
(
float
leading_spacing
,
float
trailing_spacing
,
float
min_advance_width
,
unsigned
int
start
,
unsigned
int
end
,
float
const
*
advances
,
DWRITE_GLYPH_OFFSET
const
*
offsets
,
unsigned
int
start
,
unsigned
int
end
,
float
const
*
advances
,
DWRITE_GLYPH_OFFSET
const
*
offsets
,
DWRITE_SHAPING_GLYPH_PROPERTIES
const
*
glyph_props
,
float
*
modified_advances
,
DWRITE_SHAPING_GLYPH_PROPERTIES
const
*
glyph_props
,
float
*
modified_advances
,
...
...
dlls/dwrite/font.c
View file @
5a33f86e
...
@@ -5123,11 +5123,6 @@ static HRESULT WINAPI glyphrunanalysis_GetAlphaTextureBounds(IDWriteGlyphRunAnal
...
@@ -5123,11 +5123,6 @@ static HRESULT WINAPI glyphrunanalysis_GetAlphaTextureBounds(IDWriteGlyphRunAnal
return
S_OK
;
return
S_OK
;
}
}
static
inline
int
get_dib_stride
(
int
width
,
int
bpp
)
{
return
((
width
*
bpp
+
31
)
>>
3
)
&
~
3
;
}
static
inline
BYTE
*
get_pixel_ptr
(
BYTE
*
ptr
,
DWRITE_TEXTURE_TYPE
type
,
const
RECT
*
runbounds
,
const
RECT
*
bounds
)
static
inline
BYTE
*
get_pixel_ptr
(
BYTE
*
ptr
,
DWRITE_TEXTURE_TYPE
type
,
const
RECT
*
runbounds
,
const
RECT
*
bounds
)
{
{
if
(
type
==
DWRITE_TEXTURE_CLEARTYPE_3x1
)
if
(
type
==
DWRITE_TEXTURE_CLEARTYPE_3x1
)
...
...
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