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
10b843bb
Commit
10b843bb
authored
Jan 24, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Update line breaking logic with Unicode 8.0.0 modifications.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
68c45de6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
analyzer.c
dlls/dwrite/analyzer.c
+6
-1
No files found.
dlls/dwrite/analyzer.c
View file @
10b843bb
...
...
@@ -522,8 +522,9 @@ static HRESULT analyze_linebreaks(const WCHAR *text, UINT32 count, DWRITE_LINE_B
case
b_BB
:
set_break_condition
(
i
,
BreakConditionAfter
,
DWRITE_BREAK_CONDITION_MAY_NOT_BREAK
,
&
state
);
break
;
/* LB21a */
/* LB21a
, LB21b
*/
case
b_HL
:
/* LB21a */
if
(
i
<
count
-
1
)
switch
(
break_class
[
i
+
1
])
{
...
...
@@ -531,6 +532,9 @@ static HRESULT analyze_linebreaks(const WCHAR *text, UINT32 count, DWRITE_LINE_B
case
b_BA
:
set_break_condition
(
i
+
1
,
BreakConditionAfter
,
DWRITE_BREAK_CONDITION_MAY_NOT_BREAK
,
&
state
);
}
/* LB21b */
if
(
i
>
0
&&
break_class
[
i
-
1
]
==
b_SY
)
set_break_condition
(
i
,
BreakConditionBefore
,
DWRITE_BREAK_CONDITION_MAY_NOT_BREAK
,
&
state
);
break
;
/* LB22 */
case
b_IN
:
...
...
@@ -540,6 +544,7 @@ static HRESULT analyze_linebreaks(const WCHAR *text, UINT32 count, DWRITE_LINE_B
{
case
b_AL
:
case
b_HL
:
case
b_EX
:
case
b_ID
:
case
b_IN
:
case
b_NU
:
...
...
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