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
ecbda568
Commit
ecbda568
authored
Jan 19, 2015
by
Aric Stewart
Committed by
Alexandre Julliard
Jan 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Do not install fonts with a family name that is too long.
parent
7cbb6837
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
freetype.c
dlls/gdi32/freetype.c
+8
-0
No files found.
dlls/gdi32/freetype.c
View file @
ecbda568
...
...
@@ -2024,6 +2024,14 @@ static void AddFaceToList(FT_Face ft_face, const char *file, void *font_data_ptr
face
=
create_face
(
ft_face
,
face_index
,
file
,
font_data_ptr
,
font_data_size
,
flags
);
family
=
get_family
(
ft_face
,
flags
&
ADDFONT_VERTICAL_FONT
);
if
(
strlenW
(
family
->
FamilyName
)
>=
LF_FACESIZE
)
{
ERR
(
"Ignoring %s because name is too long
\n
"
,
debugstr_w
(
family
->
FamilyName
));
release_face
(
face
);
release_family
(
family
);
return
;
}
if
(
insert_face_in_family_list
(
face
,
family
))
{
if
(
flags
&
ADDFONT_ADD_TO_CACHE
)
...
...
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