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
a457b5e0
Commit
a457b5e0
authored
Apr 23, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Trace text strings up to specified length.
parent
d7a40fd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
analyzer.c
dlls/dwrite/analyzer.c
+3
-4
main.c
dlls/dwrite/main.c
+1
-1
No files found.
dlls/dwrite/analyzer.c
View file @
a457b5e0
...
...
@@ -663,7 +663,6 @@ static HRESULT WINAPI dwritetextanalyzer_QueryInterface(IDWriteTextAnalyzer2 *if
*
obj
=
NULL
;
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
dwritetextanalyzer_AddRef
(
IDWriteTextAnalyzer2
*
iface
)
...
...
@@ -1032,7 +1031,7 @@ static HRESULT WINAPI dwritetextanalyzer_GetGlyphPlacements(IDWriteTextAnalyzer2
HRESULT
hr
;
UINT32
i
;
TRACE
(
"(%s %p %p %u %p %p %u %p %.2f %d %d %p %s %p %p %u %p %p)
\n
"
,
debugstr_w
(
text
),
TRACE
(
"(%s %p %p %u %p %p %u %p %.2f %d %d %p %s %p %p %u %p %p)
\n
"
,
debugstr_w
n
(
text
,
text_len
),
clustermap
,
props
,
text_len
,
glyphs
,
glyph_props
,
glyph_count
,
fontface
,
emSize
,
is_sideways
,
is_rtl
,
analysis
,
debugstr_w
(
locale
),
features
,
feature_range_len
,
feature_ranges
,
advances
,
offsets
);
...
...
@@ -1070,7 +1069,7 @@ static HRESULT WINAPI dwritetextanalyzer_GetGdiCompatibleGlyphPlacements(IDWrite
DWRITE_SCRIPT_ANALYSIS
const
*
analysis
,
WCHAR
const
*
locale
,
DWRITE_TYPOGRAPHIC_FEATURES
const
**
features
,
UINT32
const
*
feature_range_lengths
,
UINT32
feature_ranges
,
FLOAT
*
glyph_advances
,
DWRITE_GLYPH_OFFSET
*
glyph_offsets
)
{
FIXME
(
"(%s %p %p %u %p %p %u %p %f %f %p %d %d %d %p %s %p %p %u %p %p): stub
\n
"
,
debugstr_w
(
text
),
FIXME
(
"(%s %p %p %u %p %p %u %p %f %f %p %d %d %d %p %s %p %p %u %p %p): stub
\n
"
,
debugstr_w
n
(
text
,
text_len
),
clustermap
,
props
,
text_len
,
glyph_indices
,
glyph_props
,
glyph_count
,
font_face
,
fontEmSize
,
pixels_per_dip
,
transform
,
use_gdi_natural
,
is_sideways
,
is_rtl
,
analysis
,
debugstr_w
(
locale
),
features
,
feature_range_lengths
,
feature_ranges
,
glyph_advances
,
glyph_offsets
);
...
...
@@ -1184,7 +1183,7 @@ static HRESULT WINAPI dwritetextanalyzer1_GetJustificationOpportunities(IDWriteT
const
WCHAR
*
text
,
const
UINT16
*
clustermap
,
const
DWRITE_SHAPING_GLYPH_PROPERTIES
*
prop
,
DWRITE_JUSTIFICATION_OPPORTUNITY
*
jo
)
{
FIXME
(
"(%p %.2f %u %u %u %s %p %p %p): stub
\n
"
,
face
,
font_em_size
,
sa
.
script
,
length
,
glyph_count
,
debugstr_w
(
text
),
clustermap
,
prop
,
jo
);
debugstr_w
n
(
text
,
length
),
clustermap
,
prop
,
jo
);
return
E_NOTIMPL
;
}
...
...
dlls/dwrite/main.c
View file @
a457b5e0
...
...
@@ -1027,7 +1027,7 @@ static HRESULT WINAPI dwritefactory_CreateTextLayout(IDWriteFactory2 *iface, WCH
UINT32
len
,
IDWriteTextFormat
*
format
,
FLOAT
max_width
,
FLOAT
max_height
,
IDWriteTextLayout
**
layout
)
{
struct
dwritefactory
*
This
=
impl_from_IDWriteFactory2
(
iface
);
TRACE
(
"(%p)->(%s
%u %p %f %f %p)
\n
"
,
This
,
debugstr_w
(
string
),
len
,
format
,
max_width
,
max_height
,
layout
);
TRACE
(
"(%p)->(%s
:%u %p %f %f %p)
\n
"
,
This
,
debugstr_wn
(
string
,
len
),
len
,
format
,
max_width
,
max_height
,
layout
);
if
(
!
format
)
return
E_INVALIDARG
;
return
create_textlayout
(
string
,
len
,
format
,
max_width
,
max_height
,
layout
);
...
...
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