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
802c1226
Commit
802c1226
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 Yu Gothic UI.
parent
25735da0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
font.c
dlls/win32u/font.c
+50
-0
No files found.
dlls/win32u/font.c
View file @
802c1226
...
...
@@ -1534,6 +1534,16 @@ static const WCHAR microsoft_jheng_hei_ui_boldW[] =
{
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
' '
,
'J'
,
'h'
,
'e'
,
'n'
,
'g'
,
'H'
,
'e'
,
'i'
,
' '
,
'U'
,
'I'
,
' '
,
'B'
,
'o'
,
'l'
,
'd'
,
0
};
static
const
WCHAR
microsoft_jheng_hei_ui_lightW
[]
=
{
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
' '
,
'J'
,
'h'
,
'e'
,
'n'
,
'g'
,
'H'
,
'e'
,
'i'
,
' '
,
'U'
,
'I'
,
' '
,
'L'
,
'i'
,
'g'
,
'h'
,
't'
,
0
};
static
const
WCHAR
yu_gothic_uiW
[]
=
{
'Y'
,
'u'
,
' '
,
'G'
,
'o'
,
't'
,
'h'
,
'i'
,
'c'
,
' '
,
'U'
,
'I'
,
0
};
static
const
WCHAR
yu_gothic_ui_boldW
[]
=
{
'Y'
,
'u'
,
' '
,
'G'
,
'o'
,
't'
,
'h'
,
'i'
,
'c'
,
' '
,
'U'
,
'I'
,
' '
,
'B'
,
'o'
,
'l'
,
'd'
,
0
};
static
const
WCHAR
yu_gothic_ui_lightW
[]
=
{
'Y'
,
'u'
,
' '
,
'G'
,
'o'
,
't'
,
'h'
,
'i'
,
'c'
,
' '
,
'U'
,
'I'
,
' '
,
'L'
,
'i'
,
'g'
,
'h'
,
't'
,
0
};
static
const
WCHAR
yu_gothic_ui_semilightW
[]
=
{
'Y'
,
'u'
,
' '
,
'G'
,
'o'
,
't'
,
'h'
,
'i'
,
'c'
,
' '
,
'U'
,
'I'
,
' '
,
'S'
,
'e'
,
'm'
,
'i'
,
'l'
,
'i'
,
'g'
,
'h'
,
't'
,
0
};
static
const
WCHAR
yu_gothic_ui_semiboldW
[]
=
{
'Y'
,
'u'
,
' '
,
'G'
,
'o'
,
't'
,
'h'
,
'i'
,
'c'
,
' '
,
'U'
,
'I'
,
' '
,
'S'
,
'e'
,
'm'
,
'i'
,
'b'
,
'o'
,
'l'
,
'd'
,
0
};
static
const
WCHAR
*
const
font_links_list
[]
=
{
...
...
@@ -1777,6 +1787,41 @@ static const char system_link_ming_li_u_hkscs_ext_b[] =
"MALGUN.TTF,Malgun Gothic
\0
"
"SEGUISYM.TTF,Segoe UI Symbol
\0
"
;
static
const
char
system_link_yu_gothic_ui
[]
=
"SEGOEUI.TTF,Segoe UI
\0
"
"MSJH.TTC,Microsoft JhengHei
\0
"
"MSYH.TTC,Microsoft YaHei
\0
"
"MALGUN.TTF,Malgun Gothic
\0
"
"SEGUISYM.TTF,Segoe UI Symbol
\0
"
;
static
const
char
system_link_yu_gothic_ui_bold
[]
=
"SEGOEUIB.TTF,Segoe UI Bold
\0
"
"MSJHBD.TTC,Microsoft Jhenghei UI Bold
\0
"
"MSYHBD.TTC,Microsoft YaHei Bold
\0
"
"MALGUNBD.TTF,Malgun Gothic Bold
\0
"
"SEGUISYM.TTF,Segoe UI Symbol
\0
"
;
static
const
char
system_link_yu_gothic_ui_light
[]
=
"SEGOEUIL.TTF,Segoe UI Light
\0
"
"MSJHL.TTC,Microsoft Jhenghei UI Light
\0
"
"MSYHL.TTC,Microsoft YaHei Light
\0
"
"MALGUNSL.TTF,Malgun Gothic Semilight
\0
"
"SEGUISYM.TTF,Segoe UI Symbol
\0
"
;
static
const
char
system_link_yu_gothic_ui_semilight
[]
=
"SEGOEUISL.TTF,Segoe UI Semilight
\0
"
"MSJH.TTC,Microsoft Jhenghei UI
\0
"
"MSYH.TTC,Microsoft YaHei
\0
"
"MALGUNSL.TTF,Malgun Gothic Semilight
\0
"
"SEGUISYM.TTF,Segoe UI Symbol
\0
"
;
static
const
char
system_link_yu_gothic_ui_semibold
[]
=
"SEGUISB.TTF,Segoe UI Semibold
\0
"
"MSJH.TTC,Microsoft Jhenghei UI
\0
"
"MSYH.TTC,Microsoft YaHei
\0
"
"MALGUN.TTF,Malgun Gothic
\0
"
"SEGUISYM.TTF,Segoe UI Symbol
\0
"
;
static
const
struct
system_link_reg
{
const
WCHAR
*
font_name
;
...
...
@@ -1832,6 +1877,11 @@ default_system_link[] =
{
ming_li_u_ext_bW
,
FALSE
,
system_link_ming_li_u_ext_b
,
sizeof
(
system_link_ming_li_u_ext_b
)
},
{
p_ming_li_u_ext_bW
,
FALSE
,
system_link_p_ming_li_u_ext_b
,
sizeof
(
system_link_p_ming_li_u_ext_b
)
},
{
ming_li_u_hkscs_ext_bW
,
FALSE
,
system_link_ming_li_u_hkscs_ext_b
,
sizeof
(
system_link_ming_li_u_hkscs_ext_b
)
},
{
yu_gothic_uiW
,
FALSE
,
system_link_yu_gothic_ui
,
sizeof
(
system_link_yu_gothic_ui
)
},
{
yu_gothic_ui_boldW
,
FALSE
,
system_link_yu_gothic_ui_bold
,
sizeof
(
system_link_yu_gothic_ui_bold
)
},
{
yu_gothic_ui_lightW
,
FALSE
,
system_link_yu_gothic_ui_light
,
sizeof
(
system_link_yu_gothic_ui_light
)
},
{
yu_gothic_ui_semiboldW
,
FALSE
,
system_link_yu_gothic_ui_semibold
,
sizeof
(
system_link_yu_gothic_ui_semibold
)
},
{
yu_gothic_ui_semilightW
,
FALSE
,
system_link_yu_gothic_ui_semilight
,
sizeof
(
system_link_yu_gothic_ui_semilight
)
},
};
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