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
b81d08e3
Commit
b81d08e3
authored
May 19, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Make sure that all fontconfig support is properly #ifdef'ed.
parent
fa4d3bec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
xrender.c
dlls/winex11.drv/xrender.c
+3
-1
No files found.
dlls/winex11.drv/xrender.c
View file @
b81d08e3
...
...
@@ -194,6 +194,7 @@ MAKE_FUNCPTR(FcPatternDestroy)
MAKE_FUNCPTR
(
FcPatternAddInteger
)
MAKE_FUNCPTR
(
FcPatternAddString
)
MAKE_FUNCPTR
(
FcPatternGetInteger
)
static
void
*
fontconfig_handle
;
static
BOOL
fontconfig_installed
;
#endif
...
...
@@ -341,7 +342,6 @@ static int load_xrender_formats(void)
void
X11DRV_XRender_Init
(
void
)
{
int
event_base
,
i
;
void
*
fontconfig_handle
;
if
(
client_side_with_render
&&
wine_dlopen
(
SONAME_LIBX11
,
RTLD_NOW
|
RTLD_GLOBAL
,
NULL
,
0
)
&&
...
...
@@ -395,6 +395,7 @@ LOAD_OPTIONAL_FUNCPTR(XRenderSetPictureTransform)
}
}
#ifdef SONAME_LIBFONTCONFIG
if
((
fontconfig_handle
=
wine_dlopen
(
SONAME_LIBFONTCONFIG
,
RTLD_NOW
,
NULL
,
0
)))
{
#define LOAD_FUNCPTR(f) if((p##f = wine_dlsym(fontconfig_handle, #f, NULL, 0)) == NULL){WARN("Can't find symbol %s\n", #f); goto sym_not_found;}
...
...
@@ -411,6 +412,7 @@ LOAD_OPTIONAL_FUNCPTR(XRenderSetPictureTransform)
fontconfig_installed
=
pFcInit
();
}
else
TRACE
(
"cannot find the fontconfig library "
SONAME_LIBFONTCONFIG
"
\n
"
);
#endif
sym_not_found:
if
(
X11DRV_XRender_Installed
||
client_side_with_core
)
...
...
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