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
4d9a3117
Commit
4d9a3117
authored
Jun 29, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Disable antialiasing if either fontconfig or Xft disable it explicitly.
parent
5f884d19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
xrender.c
dlls/winex11.drv/xrender.c
+7
-2
No files found.
dlls/winex11.drv/xrender.c
View file @
4d9a3117
...
...
@@ -905,6 +905,7 @@ static int GetCacheEntry(X11DRV_PDEVICE *physDev, LFANDSIZE *plfsz)
break
;
}
font_smoothing
=
TRUE
;
/* default to enabled */
#ifdef SONAME_LIBFONTCONFIG
if
(
fontconfig_installed
)
{
...
...
@@ -956,9 +957,10 @@ static int GetCacheEntry(X11DRV_PDEVICE *physDev, LFANDSIZE *plfsz)
case
FC_RGBA_BGR
:
entry
->
aa_default
=
AA_BGR
;
break
;
case
FC_RGBA_VRGB
:
entry
->
aa_default
=
AA_VRGB
;
break
;
case
FC_RGBA_VBGR
:
entry
->
aa_default
=
AA_VBGR
;
break
;
case
FC_RGBA_NONE
:
entry
->
aa_default
=
antialias
?
AA_Grey
:
AA_None
;
break
;
case
FC_RGBA_NONE
:
entry
->
aa_default
=
AA_Grey
;
break
;
}
}
if
(
!
antialias
)
font_smoothing
=
FALSE
;
pFcPatternDestroy
(
match
);
}
pFcPatternDestroy
(
pattern
);
...
...
@@ -984,11 +986,14 @@ static int GetCacheEntry(X11DRV_PDEVICE *physDev, LFANDSIZE *plfsz)
else
if
(
!
strcmp
(
value
,
"bgr"
))
entry
->
aa_default
=
AA_BGR
;
else
if
(
!
strcmp
(
value
,
"vrgb"
))
entry
->
aa_default
=
AA_VRGB
;
else
if
(
!
strcmp
(
value
,
"vbgr"
))
entry
->
aa_default
=
AA_VBGR
;
else
if
(
!
strcmp
(
value
,
"none"
))
entry
->
aa_default
=
antialias
?
AA_Grey
:
AA_None
;
else
if
(
!
strcmp
(
value
,
"none"
))
entry
->
aa_default
=
AA_Grey
;
}
wine_tsx11_unlock
();
if
(
!
antialias
)
font_smoothing
=
FALSE
;
}
if
(
!
font_smoothing
)
entry
->
aa_default
=
AA_None
;
/* we can't support subpixel without xrender */
if
(
!
X11DRV_XRender_Installed
&&
entry
->
aa_default
>
AA_Grey
)
entry
->
aa_default
=
AA_Grey
;
}
...
...
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