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
1f8d7489
Commit
1f8d7489
authored
Mar 11, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Use properly capitalized weight names for constructed face names.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
118b080a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
font.c
dlls/dwrite/font.c
+4
-0
No files found.
dlls/dwrite/font.c
View file @
1f8d7489
...
...
@@ -3653,6 +3653,10 @@ static BOOL is_known_weight_value(DWRITE_FONT_WEIGHT weight, WCHAR *nameW)
static
const
WCHAR
extrablackW
[]
=
{
'E'
,
'x'
,
't'
,
'r'
,
'a'
,
' '
,
'B'
,
'l'
,
'a'
,
'c'
,
'k'
,
0
};
static
const
WCHAR
extraboldW
[]
=
{
'E'
,
'x'
,
't'
,
'r'
,
'a'
,
' '
,
'B'
,
'o'
,
'l'
,
'd'
,
0
};
static
const
WCHAR
demiboldW
[]
=
{
'D'
,
'e'
,
'm'
,
'i'
,
' '
,
'B'
,
'o'
,
'l'
,
'd'
,
0
};
static
const
WCHAR
thinW
[]
=
{
'T'
,
'h'
,
'i'
,
'n'
,
0
};
static
const
WCHAR
lightW
[]
=
{
'L'
,
'i'
,
'g'
,
'h'
,
't'
,
0
};
static
const
WCHAR
mediumW
[]
=
{
'M'
,
'e'
,
'd'
,
'i'
,
'u'
,
'm'
,
0
};
static
const
WCHAR
blackW
[]
=
{
'B'
,
'l'
,
'a'
,
'c'
,
'k'
,
0
};
const
struct
knownweight_entry
*
ptr
;
static
const
struct
knownweight_entry
knownweights
[]
=
{
...
...
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