font: remove assert that was only there for debugging

This commit is contained in:
Daniel Eklöf 2019-07-18 09:29:36 +02:00
parent 89450bfd44
commit 7ad87fdf2b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

1
font.c
View file

@ -68,7 +68,6 @@ font_from_name(const char *name)
options, fc_hinting ? CAIRO_HINT_STYLE_DEFAULT : CAIRO_HINT_STYLE_NONE);
cairo_font_options_set_antialias(
options, fc_antialias ? CAIRO_ANTIALIAS_DEFAULT : CAIRO_ANTIALIAS_NONE);
assert(cairo_font_options_get_antialias(options) == CAIRO_ANTIALIAS_NONE);
double size;
if (FcPatternGetDouble(final_pattern, FC_PIXEL_SIZE, 0, &size)) {