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
6a55b52e
Commit
6a55b52e
authored
Sep 13, 2006
by
Byeong-Sik Jeon
Committed by
Alexandre Julliard
Sep 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Fix init_system_links() for non-localized font name.
parent
09228971
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
freetype.c
dlls/gdi/freetype.c
+7
-1
No files found.
dlls/gdi/freetype.c
View file @
6a55b52e
...
...
@@ -1025,6 +1025,7 @@ static BOOL init_system_links(void)
FONTSIGNATURE
fs
;
Family
*
family
;
Face
*
face
;
FontSubst
*
psub
;
if
(
RegOpenKeyW
(
HKEY_LOCAL_MACHINE
,
system_link
,
&
hkey
)
==
ERROR_SUCCESS
)
{
...
...
@@ -1040,7 +1041,8 @@ static BOOL init_system_links(void)
memset
(
&
fs
,
0
,
sizeof
(
fs
));
font_link
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
font_link
));
font_link
->
font_name
=
strdupW
(
value
);
psub
=
get_font_subst
(
&
font_subst_list
,
value
,
-
1
);
font_link
->
font_name
=
(
psub
)
?
strdupW
(
psub
->
to
.
name
)
:
strdupW
(
value
);
list_init
(
&
font_link
->
links
);
for
(
entry
=
data
;
(
char
*
)
entry
<
(
char
*
)
data
+
data_len
&&
*
entry
!=
0
;
entry
=
next
)
{
...
...
@@ -1057,6 +1059,10 @@ static BOOL init_system_links(void)
*
face_name
++
=
0
;
while
(
isspaceW
(
*
face_name
))
face_name
++
;
psub
=
get_font_subst
(
&
font_subst_list
,
face_name
,
-
1
);
if
(
psub
)
face_name
=
psub
->
to
.
name
;
}
face
=
find_face_from_filename
(
entry
,
face_name
);
if
(
!
face
)
...
...
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