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
d9d52672
Commit
d9d52672
authored
Mar 14, 2011
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Remove a redundant check for Roman font presence.
Wine ships Tahoma and many other built-in fonts these days.
parent
31abbd70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
freetype.c
dlls/gdi32/freetype.c
+0
-11
No files found.
dlls/gdi32/freetype.c
View file @
d9d52672
...
@@ -471,8 +471,6 @@ struct font_mapping
...
@@ -471,8 +471,6 @@ struct font_mapping
static
struct
list
mappings_list
=
LIST_INIT
(
mappings_list
);
static
struct
list
mappings_list
=
LIST_INIT
(
mappings_list
);
static
BOOL
have_installed_roman_font
=
FALSE
;
/* CreateFontInstance will fail if this is still FALSE */
static
CRITICAL_SECTION
freetype_cs
;
static
CRITICAL_SECTION
freetype_cs
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
{
{
...
@@ -1523,9 +1521,6 @@ static INT AddFontToList(const char *file, void *font_data_ptr, DWORD font_data_
...
@@ -1523,9 +1521,6 @@ static INT AddFontToList(const char *file, void *font_data_ptr, DWORD font_data_
}
}
}
}
if
(
!
(
face
->
fs
.
fsCsb
[
0
]
&
FS_SYMBOL
))
have_installed_roman_font
=
TRUE
;
AddFaceToFamily
(
face
,
family
);
AddFaceToFamily
(
face
,
family
);
}
while
(
!
FT_IS_SCALABLE
(
ft_face
)
&&
++
bitmap_num
<
ft_face
->
num_fixed_sizes
);
}
while
(
!
FT_IS_SCALABLE
(
ft_face
)
&&
++
bitmap_num
<
ft_face
->
num_fixed_sizes
);
...
@@ -3530,12 +3525,6 @@ GdiFont *WineEngCreateFontInstance(DC *dc, HFONT hfont)
...
@@ -3530,12 +3525,6 @@ GdiFont *WineEngCreateFontInstance(DC *dc, HFONT hfont)
LeaveCriticalSection
(
&
freetype_cs
);
LeaveCriticalSection
(
&
freetype_cs
);
return
NULL
;
return
NULL
;
}
}
if
(
!
have_installed_roman_font
)
{
TRACE
(
"No roman font installed
\n
"
);
LeaveCriticalSection
(
&
freetype_cs
);
return
NULL
;
}
ret
=
alloc_font
();
ret
=
alloc_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