forked from external/yambar
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:
parent
54a31f8745
commit
8294eb5a80
4 changed files with 4 additions and 4 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -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=()
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ depends=(
|
|||
'libudev.so'
|
||||
'json-c'
|
||||
'libmpdclient'
|
||||
'fcft>=0.4.2')
|
||||
'fcft>=1.0.0')
|
||||
source=()
|
||||
|
||||
pkgver() {
|
||||
|
|
|
@ -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'] +
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue