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
ebccff82
Commit
ebccff82
authored
Jan 09, 2014
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Jan 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Relax vertical face requirements.
parent
142a0f7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
freetype.c
dlls/gdi32/freetype.c
+5
-1
No files found.
dlls/gdi32/freetype.c
View file @
ebccff82
...
...
@@ -2148,6 +2148,9 @@ static INT AddFontToList(const char *file, void *font_data_ptr, DWORD font_data_
#endif
/* HAVE_CARBON_CARBON_H */
do
{
const
DWORD
FS_DBCS_MASK
=
FS_JISJAPAN
|
FS_CHINESESIMP
|
FS_WANSUNG
|
FS_CHINESETRAD
|
FS_JOHAB
;
FONTSIGNATURE
fs
;
ft_face
=
new_ft_face
(
file
,
font_data_ptr
,
font_data_size
,
face_index
,
flags
&
ADDFONT_ALLOW_BITMAP
);
if
(
!
ft_face
)
return
0
;
...
...
@@ -2161,7 +2164,8 @@ static INT AddFontToList(const char *file, void *font_data_ptr, DWORD font_data_
AddFaceToList
(
ft_face
,
file
,
font_data_ptr
,
font_data_size
,
face_index
,
flags
);
++
ret
;
if
(
FT_HAS_VERTICAL
(
ft_face
))
get_fontsig
(
ft_face
,
&
fs
);
if
(
fs
.
fsCsb
[
0
]
&
FS_DBCS_MASK
)
{
AddFaceToList
(
ft_face
,
file
,
font_data_ptr
,
font_data_size
,
face_index
,
flags
|
ADDFONT_VERTICAL_FONT
);
...
...
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