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
1e4e99a2
Commit
1e4e99a2
authored
Apr 19, 2007
by
Aric Stewart
Committed by
Alexandre Julliard
Apr 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Make the comparison for system link font replacement not case sensitive.
parent
fe3ebb3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
freetype.c
dlls/gdi32/freetype.c
+3
-3
No files found.
dlls/gdi32/freetype.c
View file @
1e4e99a2
...
...
@@ -1031,7 +1031,7 @@ static BOOL AddFontFileToList(const char *file, char *fake_family, const WCHAR *
if
(
target_family
)
{
localised_family
=
get_familyname
(
ft_face
);
if
(
localised_family
&&
lstrcmp
W
(
localised_family
,
target_family
)
!=
0
)
if
(
localised_family
&&
strcmpi
W
(
localised_family
,
target_family
)
!=
0
)
{
TRACE
(
"Skipping Index %i: Incorrect Family name for replacement
\n
"
,(
INT
)
face_index
);
HeapFree
(
GetProcessHeap
(),
0
,
localised_family
);
...
...
@@ -2767,7 +2767,7 @@ GdiFont *WineEngCreateFontInstance(DC *dc, HFONT hfont)
*/
LIST_FOR_EACH_ENTRY
(
font_link
,
&
system_links
,
SYSTEM_LINKS
,
entry
)
{
if
(
!
strcmpW
(
font_link
->
font_name
,
lf
.
lfFaceName
))
if
(
!
strcmp
i
W
(
font_link
->
font_name
,
lf
.
lfFaceName
))
{
TRACE
(
"found entry in system list
\n
"
);
LIST_FOR_EACH_ENTRY
(
font_link_entry
,
&
font_link
->
links
,
CHILD_FONT
,
entry
)
...
...
@@ -2778,7 +2778,7 @@ GdiFont *WineEngCreateFontInstance(DC *dc, HFONT hfont)
{
family
=
face
->
family
;
if
(
csi
.
fs
.
fsCsb
[
0
]
&
(
face
->
fs
.
fsCsb
[
0
]
|
face
->
fs_links
.
fsCsb
[
0
]))
(
face
->
fs
.
fsCsb
[
0
]
|
face
->
fs_links
.
fsCsb
[
0
])
||
!
csi
.
fs
.
fsCsb
[
0
]
)
{
if
(
face
->
scalable
||
can_use_bitmap
)
goto
found
;
...
...
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