diff options
author | Jonathon Jongsma <jonathon.jongsma@collabora.co.uk> | 2008-08-23 00:04:06 -0500 |
---|---|---|
committer | Jonathon Jongsma <jonathon.jongsma@collabora.co.uk> | 2008-08-27 10:14:10 -0500 |
commit | e9a57f0648568c95db722801680eab5237ea94a8 (patch) | |
tree | ef8c683fb4ba192fe61cdc4c962b477bc47c684a /tests | |
parent | b0428ba25f81b305c266833bd784062baecc8daa (diff) |
Add a default value for the font_options parameter of the ScaledFont constructor
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-scaled-font.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-scaled-font.cc b/tests/test-scaled-font.cc index 4bd7795..0b7aeae 100644 --- a/tests/test-scaled-font.cc +++ b/tests/test-scaled-font.cc @@ -13,6 +13,10 @@ void test_construction() cairo_matrix_init_identity(&identity); RefPtr<ScaledFont> font = ScaledFont::create(face, identity, identity, FontOptions()); BOOST_REQUIRE(font); + + // now use the default argument for font_options + font = ScaledFont::create(face, identity, identity); + BOOST_REQUIRE(font); } void test_text_to_glyphs() |