[PATCH 4/7] Fix font tests on Windows

Nikolai Weibull <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
---
 test/test_context.rb   |    2 +-
 test/test_font_face.rb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test_context.rb b/test/test_context.rb
index df3e228..d390e3f 100644
--- a/test/test_context.rb
+++ b/test/test_context.rb
@@ -74,7 +74,7 @@ class ContextTest < Test::Unit::TestCase
     face = context.font_face
     default_font_family = ""
     # default_font_family = "Helvetica" if quartz?
-    # default_font_family = "Arial" if win32?
+    default_font_family = "Arial" if win32?
     assert_equal([default_font_family,
                   Cairo::FONT_SLANT_NORMAL,
                   Cairo::FONT_WEIGHT_NORMAL],
diff --git a/test/test_font_face.rb b/test/test_font_face.rb
index 63f37d4..a9a8b13 100644
--- a/test/test_font_face.rb
+++ b/test/test_font_face.rb
@@ -9,7 +9,7 @@ class FontFaceTest < Test::Unit::TestCase
     face = Cairo::ToyFontFace.new
     default_font_family = ""
     # default_font_family = "Helvetica" if quartz?
-    # default_font_family = "Arial" if win32?
+    default_font_family = "Arial" if win32?
     assert_equal([default_font_family,
                   Cairo::FONT_SLANT_NORMAL,
                   Cairo::FONT_WEIGHT_NORMAL],
-- 
1.7.5.1

--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.