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
272cf2a9
Commit
272cf2a9
authored
Apr 04, 2012
by
Ken Thomases
Committed by
Alexandre Julliard
Apr 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "gdi32: Load fonts from default Mac external font paths.".
This reverts commit
85a71387
.
parent
9c1591ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
freetype.c
dlls/gdi32/freetype.c
+1
-16
No files found.
dlls/gdi32/freetype.c
View file @
272cf2a9
...
@@ -3403,7 +3403,6 @@ static void init_font_list(void)
...
@@ -3403,7 +3403,6 @@ static void init_font_list(void)
DWORD
valuelen
,
datalen
,
i
=
0
,
type
,
dlen
,
vlen
;
DWORD
valuelen
,
datalen
,
i
=
0
,
type
,
dlen
,
vlen
;
WCHAR
windowsdir
[
MAX_PATH
];
WCHAR
windowsdir
[
MAX_PATH
];
char
*
unixname
;
char
*
unixname
;
const
char
*
home
;
const
char
*
data_dir
;
const
char
*
data_dir
;
delete_external_font_keys
();
delete_external_font_keys
();
...
@@ -3509,6 +3508,7 @@ static void init_font_list(void)
...
@@ -3509,6 +3508,7 @@ static void init_font_list(void)
ptr
=
valueA
;
ptr
=
valueA
;
while
(
ptr
)
while
(
ptr
)
{
{
const
char
*
home
;
LPSTR
next
=
strchr
(
ptr
,
':'
);
LPSTR
next
=
strchr
(
ptr
,
':'
);
if
(
next
)
*
next
++
=
0
;
if
(
next
)
*
next
++
=
0
;
if
(
ptr
[
0
]
==
'~'
&&
ptr
[
1
]
==
'/'
&&
(
home
=
getenv
(
"HOME"
))
&&
if
(
ptr
[
0
]
==
'~'
&&
ptr
[
1
]
==
'/'
&&
(
home
=
getenv
(
"HOME"
))
&&
...
@@ -3529,21 +3529,6 @@ static void init_font_list(void)
...
@@ -3529,21 +3529,6 @@ static void init_font_list(void)
}
}
RegCloseKey
(
hkey
);
RegCloseKey
(
hkey
);
}
}
#ifdef __APPLE__
/* Mac default font locations. */
ReadFontDir
(
"/Library/Fonts"
,
TRUE
);
ReadFontDir
(
"/Network/Library/Fonts"
,
TRUE
);
ReadFontDir
(
"/System/Library/Fonts"
,
TRUE
);
if
((
home
=
getenv
(
"HOME"
)))
{
unixname
=
HeapAlloc
(
GetProcessHeap
(),
0
,
strlen
(
home
)
+
15
);
strcpy
(
unixname
,
home
);
strcat
(
unixname
,
"/Library/Fonts"
);
ReadFontDir
(
unixname
,
TRUE
);
HeapFree
(
GetProcessHeap
(),
0
,
unixname
);
}
#endif
}
}
static
BOOL
move_to_front
(
const
WCHAR
*
name
)
static
BOOL
move_to_front
(
const
WCHAR
*
name
)
...
...
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