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
97904fd1
Commit
97904fd1
authored
Sep 12, 2012
by
Qian Hong
Committed by
Alexandre Julliard
Sep 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Prepend at when create vertical font face.
parent
8f91b516
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
freetype.c
dlls/gdi32/freetype.c
+3
-0
font.c
dlls/gdi32/tests/font.c
+1
-5
No files found.
dlls/gdi32/freetype.c
View file @
97904fd1
...
...
@@ -1724,6 +1724,9 @@ static Face *create_face( FT_Face ft_face, FT_Long face_index, const char *file,
face
->
FullName
=
get_face_name
(
ft_face
,
TT_NAME_ID_FULL_NAME
,
GetSystemDefaultLangID
()
);
if
(
!
face
->
FullName
)
face
->
FullName
=
get_face_name
(
ft_face
,
TT_NAME_ID_FULL_NAME
,
TT_MS_LANGID_ENGLISH_UNITED_STATES
);
if
(
vertical
)
face
->
FullName
=
prepend_at
(
face
->
FullName
);
if
(
file
)
{
face
->
file
=
strdupA
(
file
);
...
...
dlls/gdi32/tests/font.c
View file @
97904fd1
...
...
@@ -4087,11 +4087,7 @@ static void test_fullname2_helper(const char *Family)
trace
(
"Checking font %s:
\n
FamilyName: %s; FaceName: %s; StyleName: %s
\n
"
,
Family
,
FamilyName
,
FaceName
,
StyleName
);
get_vertical
=
(
FamilyName
[
0
]
==
'@'
);
if
(
get_vertical
)
{
todo_wine
ok
(
get_vertical
==
want_vertical
,
"Vertical flags don't match: %s %s
\n
"
,
Family
,
FamilyName
);
continue
;
}
ok
(
get_vertical
==
want_vertical
,
"Vertical flags don't match: %s %s
\n
"
,
Family
,
FamilyName
);
lstrcpyA
(
lf
.
lfFaceName
,
FaceName
);
hfont
=
CreateFontIndirectA
(
&
lf
);
...
...
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