Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Akaricchi
swaylock
0001-deuglify-text-rendering.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-deuglify-text-rendering.patch of Package swaylock
From e0b03eea9940db0e394c33d9499f9c5b63810a49 Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev <akari@taisei-project.org> Date: Sun, 2 May 2021 13:36:41 +0300 Subject: [PATCH] deuglify text rendering --- render.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/render.c b/render.c index 7d27833..2cc7dfd 100644 --- a/render.c +++ b/render.c @@ -115,9 +115,8 @@ void render_frame(struct swaylock_surface *surface) { cairo_t *cairo = surface->current_buffer->cairo; cairo_set_antialias(cairo, CAIRO_ANTIALIAS_BEST); cairo_font_options_t *fo = cairo_font_options_create(); - cairo_font_options_set_hint_style(fo, CAIRO_HINT_STYLE_FULL); - cairo_font_options_set_antialias(fo, CAIRO_ANTIALIAS_SUBPIXEL); - cairo_font_options_set_subpixel_order(fo, to_cairo_subpixel_order(surface->subpixel)); + cairo_font_options_set_hint_style(fo, CAIRO_HINT_STYLE_SLIGHT); + cairo_font_options_set_antialias(fo, CAIRO_ANTIALIAS_GRAY); cairo_set_font_options(cairo, fo); cairo_font_options_destroy(fo); cairo_identity_matrix(cairo); -- 2.31.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor