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
7486c406
Commit
7486c406
authored
Oct 21, 2022
by
Ziqing Hui
Committed by
Alexandre Julliard
Oct 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Add font links for MS Mincho.
parent
fa411158
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
font.c
dlls/win32u/font.c
+26
-0
No files found.
dlls/win32u/font.c
View file @
7486c406
...
...
@@ -1552,6 +1552,10 @@ static const WCHAR meiryo_uiW[] =
{
'M'
,
'e'
,
'i'
,
'r'
,
'y'
,
'o'
,
' '
,
'U'
,
'I'
,
0
};
static
const
WCHAR
meiryo_ui_boldW
[]
=
{
'M'
,
'e'
,
'i'
,
'r'
,
'y'
,
'o'
,
' '
,
'U'
,
'I'
,
' '
,
'B'
,
'o'
,
'l'
,
'd'
,
0
};
static
const
WCHAR
ms_minchoW
[]
=
{
'M'
,
'S'
,
' '
,
'M'
,
'i'
,
'n'
,
'c'
,
'h'
,
'o'
,
0
};
static
const
WCHAR
ms_p_minchoW
[]
=
{
'M'
,
'S'
,
' '
,
'P'
,
'M'
,
'i'
,
'n'
,
'c'
,
'h'
,
'o'
,
0
};
static
const
WCHAR
*
const
font_links_list
[]
=
{
...
...
@@ -1866,6 +1870,26 @@ static const char system_link_meiryo_ui_bold[] =
"MALGUNBD.TTF,Malgun Gothic Bold
\0
"
"SEGUISYM.TTF,Segoe UI Symbol
\0
"
;
static
const
char
system_link_ms_mincho
[]
=
"MINGLIU.TTC,MingLiU
\0
"
"SIMSUN.TTC,SimSun
\0
"
"BATANG.TTC,Batang
\0
"
"YUGOTHM.TTC,Yu Gothic UI
\0
"
"MSJH.TTC,Microsoft JhengHei UI
\0
"
"MSYH.TTC,Microsoft YaHei UI
\0
"
"MALGUN.TTF,Malgun Gothic
\0
"
"SEGUISYM.TTF,Segoe UI Symbol
\0
"
;
static
const
char
system_link_ms_p_mincho
[]
=
"MINGLIU.TTC,PMingLiU
\0
"
"SIMSUN.TTC,SimSun
\0
"
"BATANG.TTC,Batang
\0
"
"YUGOTHM.TTC,Yu Gothic UI
\0
"
"MSJH.TTC,Microsoft JhengHei UI
\0
"
"MSYH.TTC,Microsoft YaHei UI
\0
"
"MALGUN.TTF,Malgun Gothic
\0
"
"SEGUISYM.TTF,Segoe UI Symbol
\0
"
;
static
const
struct
system_link_reg
{
const
WCHAR
*
font_name
;
...
...
@@ -1930,6 +1954,8 @@ default_system_link[] =
{
meiryo_boldW
,
FALSE
,
system_link_meiryo_bold
,
sizeof
(
system_link_meiryo_bold
)
},
{
meiryo_uiW
,
FALSE
,
system_link_meiryo_ui
,
sizeof
(
system_link_meiryo_ui
)
},
{
meiryo_ui_boldW
,
FALSE
,
system_link_meiryo_ui_bold
,
sizeof
(
system_link_meiryo_ui_bold
)
},
{
ms_minchoW
,
FALSE
,
system_link_ms_mincho
,
sizeof
(
system_link_ms_mincho
)
},
{
ms_p_minchoW
,
FALSE
,
system_link_ms_p_mincho
,
sizeof
(
system_link_ms_p_mincho
)
},
};
static
void
populate_system_links
(
const
WCHAR
*
name
,
const
WCHAR
*
const
*
values
)
...
...
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