aboutsummaryrefslogtreecommitdiff
path: root/font.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-18 07:29:36 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-18 07:29:36 +0000
commit7ad87fdf2b1612e39afdee86bc4645cdfeec8c57 (patch)
treefa60ff297b72f368fa67751232612821f89aa877 /font.c
parentfont: sync cairo's options with the FC pattern (diff)
font: remove assert that was only there for debugging
Diffstat (limited to 'font.c')
-rw-r--r--font.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/font.c b/font.c
index 74357f9b..3cb5b597 100644
--- a/font.c
+++ b/font.c
@@ -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)) {