summaryrefslogtreecommitdiff
path: root/tests/test-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-layout.c')
-rw-r--r--tests/test-layout.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/test-layout.c b/tests/test-layout.c
index 07ca6909..4bce4439 100644
--- a/tests/test-layout.c
+++ b/tests/test-layout.c
@@ -265,18 +265,9 @@ test_file (const gchar *filename, GString *string)
parse_params (contents, &width, &ellipsize_at, &ellipsize, &wrap);
layout = pango_layout_new (context);
-/* The layout tests are predicated on scaling fonts to 90 DPI, but
- * Apple's font APIs (CoreText and CoreGraphics) don't work that way
- * so we have to use a bigger font to get the results to agree with
- * the expected values.
- */
-#if defined (HAVE_CORE_TEXT) && defined (HAVE_CAIRO_QUARTZ)
- desc = pango_font_description_from_string ("Cantarell 14.5");
-#else
desc = pango_font_description_from_string ("Cantarell 11");
-#endif
pango_layout_set_font_description (layout, desc);
- pango_font_description_free (desc);
+ pango_font_description_free (desc);
pango_layout_set_markup (layout, markup, length);
g_free (contents);