mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-20 01:40:14 -05:00
font: remove assert that was only there for debugging
This commit is contained in:
parent
89450bfd44
commit
7ad87fdf2b
1 changed files with 0 additions and 1 deletions
1
font.c
1
font.c
|
|
@ -68,7 +68,6 @@ font_from_name(const char *name)
|
||||||
options, fc_hinting ? CAIRO_HINT_STYLE_DEFAULT : CAIRO_HINT_STYLE_NONE);
|
options, fc_hinting ? CAIRO_HINT_STYLE_DEFAULT : CAIRO_HINT_STYLE_NONE);
|
||||||
cairo_font_options_set_antialias(
|
cairo_font_options_set_antialias(
|
||||||
options, fc_antialias ? CAIRO_ANTIALIAS_DEFAULT : CAIRO_ANTIALIAS_NONE);
|
options, fc_antialias ? CAIRO_ANTIALIAS_DEFAULT : CAIRO_ANTIALIAS_NONE);
|
||||||
assert(cairo_font_options_get_antialias(options) == CAIRO_ANTIALIAS_NONE);
|
|
||||||
|
|
||||||
double size;
|
double size;
|
||||||
if (FcPatternGetDouble(final_pattern, FC_PIXEL_SIZE, 0, &size)) {
|
if (FcPatternGetDouble(final_pattern, FC_PIXEL_SIZE, 0, &size)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue