mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
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'
|
'libudev.so'
|
||||||
'json-c'
|
'json-c'
|
||||||
'libmpdclient'
|
'libmpdclient'
|
||||||
'fcft>=0.4.2')
|
'fcft>=1.0.0')
|
||||||
optdepends=('xcb-util-errors: better X error messages')
|
optdepends=('xcb-util-errors: better X error messages')
|
||||||
source=()
|
source=()
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ depends=(
|
||||||
'libudev.so'
|
'libudev.so'
|
||||||
'json-c'
|
'json-c'
|
||||||
'libmpdclient'
|
'libmpdclient'
|
||||||
'fcft>=0.4.2')
|
'fcft>=1.0.0')
|
||||||
source=()
|
source=()
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
|
|
@ -36,7 +36,7 @@ backend_wayland = wayland_client.found() and wayland_cursor.found() and wlroots.
|
||||||
|
|
||||||
# "My" dependencies, fallback to subproject
|
# "My" dependencies, fallback to subproject
|
||||||
tllist = dependency('tllist', version: '>=1.0.0', fallback: ['tllist', 'tllist'])
|
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(
|
add_project_arguments(
|
||||||
['-D_GNU_SOURCE'] +
|
['-D_GNU_SOURCE'] +
|
||||||
|
|
|
@ -55,7 +55,7 @@ begin_expose(struct exposable *exposable)
|
||||||
|
|
||||||
/* Convert text to glyph masks/images. */
|
/* Convert text to glyph masks/images. */
|
||||||
for (size_t i = 0; i < chars; i++) {
|
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)
|
if (glyph == NULL)
|
||||||
continue;
|
continue;
|
||||||
e->glyphs[e->num_glyphs++] = glyph;
|
e->glyphs[e->num_glyphs++] = glyph;
|
||||||
|
|
Loading…
Add table
Reference in a new issue