fcft: update to 1.0.0

Allow/disallow subpixel antialiasing in font_glyph_for_wc(), not using
font_enable_subpixel_antialias().
This commit is contained in:
Daniel Eklöf 2020-01-19 12:35:29 +01:00
parent 54a31f8745
commit 8294eb5a80
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ depends=(
'libudev.so'
'json-c'
'libmpdclient'
'fcft>=0.4.2')
'fcft>=1.0.0')
optdepends=('xcb-util-errors: better X error messages')
source=()

View file

@ -16,7 +16,7 @@ depends=(
'libudev.so'
'json-c'
'libmpdclient'
'fcft>=0.4.2')
'fcft>=1.0.0')
source=()
pkgver() {

View file

@ -36,7 +36,7 @@ backend_wayland = wayland_client.found() and wayland_cursor.found() and wlroots.
# "My" dependencies, fallback to subproject
tllist = dependency('tllist', version: '>=1.0.0', fallback: ['tllist', 'tllist'])
fcft = dependency('fcft', version: ['>=0.4.2', '<0.5.0'], fallback: ['fcft', 'fcft'])
fcft = dependency('fcft', version: ['>=1.0.0', '<2.0.0'], fallback: ['fcft', 'fcft'])
add_project_arguments(
['-D_GNU_SOURCE'] +

View file

@ -55,7 +55,7 @@ begin_expose(struct exposable *exposable)
/* Convert text to glyph masks/images. */
for (size_t i = 0; i < chars; i++) {
const struct glyph *glyph = font_glyph_for_wc(font, wtext[i]);
const struct glyph *glyph = font_glyph_for_wc(font, wtext[i], false);
if (glyph == NULL)
continue;
e->glyphs[e->num_glyphs++] = glyph;