cairo 1.15.13-x64-mingw32 → 1.15.14-x64-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +24 -0
  3. data/README.rdoc +11 -40
  4. data/Rakefile +4 -2
  5. data/ext/cairo/rb_cairo.h +1 -1
  6. data/ext/cairo/rb_cairo_context.c +35 -3
  7. data/ext/cairo/rb_cairo_font_options.c +5 -6
  8. data/ext/cairo/rb_cairo_private.h +2 -2
  9. data/ext/cairo/rb_cairo_scaled_font.c +11 -2
  10. data/ext/cairo/rb_cairo_surface.c +89 -48
  11. data/lib/2.2/cairo.so +0 -0
  12. data/lib/2.3/cairo.so +0 -0
  13. data/lib/2.4/cairo.so +0 -0
  14. data/lib/2.5/cairo.so +0 -0
  15. data/test/{cairo-test-utils.rb → helper.rb} +4 -5
  16. data/test/run-test.rb +3 -10
  17. data/test/test_context.rb +6 -6
  18. data/test/test_font_extents.rb +1 -1
  19. data/test/test_font_face.rb +1 -1
  20. data/test/test_font_options.rb +1 -1
  21. data/test/test_image_surface.rb +2 -2
  22. data/test/test_pdf_surface.rb +1 -1
  23. data/test/test_quartz_image_surface.rb +1 -1
  24. data/test/test_raster_source_pattern.rb +13 -13
  25. data/test/test_recording_surface.rb +2 -2
  26. data/test/test_region.rb +1 -1
  27. data/test/test_scaled_font.rb +1 -1
  28. data/test/test_script_device.rb +1 -1
  29. data/test/test_script_surface.rb +1 -1
  30. data/test/test_surface.rb +5 -5
  31. data/test/test_svg_surface.rb +1 -1
  32. data/test/test_tee_surface.rb +2 -2
  33. data/test/test_text_cluster.rb +1 -1
  34. data/test/test_text_extents.rb +1 -1
  35. data/test/test_text_to_glyphs_data.rb +1 -1
  36. data/test/test_xml_device.rb +1 -1
  37. data/test/test_xml_surface.rb +2 -2
  38. data/vendor/local/bin/fc-cache.exe +0 -0
  39. data/vendor/local/bin/fc-cat.exe +0 -0
  40. data/vendor/local/bin/fc-conflist.exe +0 -0
  41. data/vendor/local/bin/fc-list.exe +0 -0
  42. data/vendor/local/bin/fc-match.exe +0 -0
  43. data/vendor/local/bin/fc-pattern.exe +0 -0
  44. data/vendor/local/bin/fc-query.exe +0 -0
  45. data/vendor/local/bin/fc-scan.exe +0 -0
  46. data/vendor/local/bin/fc-validate.exe +0 -0
  47. data/vendor/local/bin/libcairo-2.dll +0 -0
  48. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  49. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  50. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  51. data/vendor/local/bin/libfreetype-6.dll +0 -0
  52. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  53. data/vendor/local/bin/libpng-config +1 -1
  54. data/vendor/local/bin/libpng16-16.dll +0 -0
  55. data/vendor/local/bin/libpng16-config +1 -1
  56. data/vendor/local/bin/libxml2-2.dll +0 -0
  57. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  58. data/vendor/local/bin/pngfix.exe +0 -0
  59. data/vendor/local/bin/xmlcatalog.exe +0 -0
  60. data/vendor/local/bin/xmllint.exe +0 -0
  61. data/vendor/local/bin/zlib1211.dll +0 -0
  62. data/vendor/local/include/freetype2/freetype/config/ftconfig.h +82 -3
  63. data/vendor/local/include/freetype2/freetype/config/ftheader.h +43 -85
  64. data/vendor/local/include/freetype2/freetype/config/ftoption.h +43 -56
  65. data/vendor/local/include/freetype2/freetype/config/ftstdlib.h +1 -1
  66. data/vendor/local/include/freetype2/freetype/freetype.h +185 -85
  67. data/vendor/local/include/freetype2/freetype/ftadvanc.h +1 -1
  68. data/vendor/local/include/freetype2/freetype/ftbbox.h +2 -2
  69. data/vendor/local/include/freetype2/freetype/ftbdf.h +1 -1
  70. data/vendor/local/include/freetype2/freetype/ftbitmap.h +2 -2
  71. data/vendor/local/include/freetype2/freetype/ftbzip2.h +1 -1
  72. data/vendor/local/include/freetype2/freetype/ftcache.h +1 -16
  73. data/vendor/local/include/freetype2/freetype/ftchapters.h +3 -0
  74. data/vendor/local/include/freetype2/freetype/ftcid.h +2 -2
  75. data/vendor/local/include/freetype2/freetype/ftdriver.h +1225 -0
  76. data/vendor/local/include/freetype2/freetype/fterrdef.h +1 -1
  77. data/vendor/local/include/freetype2/freetype/fterrors.h +1 -1
  78. data/vendor/local/include/freetype2/freetype/ftfntfmt.h +1 -1
  79. data/vendor/local/include/freetype2/freetype/ftgasp.h +6 -1
  80. data/vendor/local/include/freetype2/freetype/ftglyph.h +3 -3
  81. data/vendor/local/include/freetype2/freetype/ftgxval.h +5 -5
  82. data/vendor/local/include/freetype2/freetype/ftgzip.h +4 -1
  83. data/vendor/local/include/freetype2/freetype/ftimage.h +18 -18
  84. data/vendor/local/include/freetype2/freetype/ftincrem.h +2 -13
  85. data/vendor/local/include/freetype2/freetype/ftlcdfil.h +5 -18
  86. data/vendor/local/include/freetype2/freetype/ftlist.h +1 -1
  87. data/vendor/local/include/freetype2/freetype/ftlzw.h +1 -1
  88. data/vendor/local/include/freetype2/freetype/ftmac.h +1 -1
  89. data/vendor/local/include/freetype2/freetype/ftmm.h +99 -11
  90. data/vendor/local/include/freetype2/freetype/ftmodapi.h +12 -11
  91. data/vendor/local/include/freetype2/freetype/ftmoderr.h +1 -1
  92. data/vendor/local/include/freetype2/freetype/ftotval.h +1 -1
  93. data/vendor/local/include/freetype2/freetype/ftoutln.h +4 -7
  94. data/vendor/local/include/freetype2/freetype/ftparams.h +205 -0
  95. data/vendor/local/include/freetype2/freetype/ftpfr.h +4 -4
  96. data/vendor/local/include/freetype2/freetype/ftrender.h +2 -2
  97. data/vendor/local/include/freetype2/freetype/ftsizes.h +1 -1
  98. data/vendor/local/include/freetype2/freetype/ftsnames.h +8 -42
  99. data/vendor/local/include/freetype2/freetype/ftstroke.h +6 -6
  100. data/vendor/local/include/freetype2/freetype/ftsynth.h +1 -1
  101. data/vendor/local/include/freetype2/freetype/ftsystem.h +1 -1
  102. data/vendor/local/include/freetype2/freetype/fttrigon.h +1 -1
  103. data/vendor/local/include/freetype2/freetype/fttypes.h +2 -2
  104. data/vendor/local/include/freetype2/freetype/ftwinfnt.h +2 -2
  105. data/vendor/local/include/freetype2/freetype/t1tables.h +10 -1
  106. data/vendor/local/include/freetype2/freetype/ttnameid.h +2 -2
  107. data/vendor/local/include/freetype2/freetype/tttables.h +1 -1
  108. data/vendor/local/include/freetype2/freetype/tttags.h +1 -1
  109. data/vendor/local/include/freetype2/ft2build.h +1 -1
  110. data/vendor/local/include/libpng16/png.h +40 -40
  111. data/vendor/local/include/libpng16/pngconf.h +15 -14
  112. data/vendor/local/include/libpng16/pnglibconf.h +1 -1
  113. data/vendor/local/include/png.h +40 -40
  114. data/vendor/local/include/pngconf.h +15 -14
  115. data/vendor/local/include/pnglibconf.h +1 -1
  116. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  117. data/vendor/local/lib/libcairo-gobject.la +1 -1
  118. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  119. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  120. data/vendor/local/lib/libcairo.a +0 -0
  121. data/vendor/local/lib/libcairo.dll.a +0 -0
  122. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  123. data/vendor/local/lib/libfreetype.a +0 -0
  124. data/vendor/local/lib/libfreetype.dll.a +0 -0
  125. data/vendor/local/lib/libfreetype.la +3 -3
  126. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  127. data/vendor/local/lib/libpng.a +0 -0
  128. data/vendor/local/lib/libpng.dll.a +0 -0
  129. data/vendor/local/lib/libpng.la +2 -2
  130. data/vendor/local/lib/libpng16.a +0 -0
  131. data/vendor/local/lib/libpng16.dll.a +0 -0
  132. data/vendor/local/lib/libpng16.la +2 -2
  133. data/vendor/local/lib/libxml2.dll.a +0 -0
  134. data/vendor/local/lib/libz.dll.a +0 -0
  135. data/vendor/local/lib/pkgconfig/freetype2.pc +2 -2
  136. data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
  137. data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
  138. data/vendor/local/share/aclocal/freetype2.m4 +1 -1
  139. data/vendor/local/share/license/freetype/README +9 -9
  140. data/vendor/local/share/license/freetype/README.git +1 -1
  141. data/vendor/local/share/license/libpng/README +2 -2
  142. data/vendor/local/share/man/man3/libpng.3 +50 -54
  143. data/vendor/local/share/man/man3/libpngpf.3 +8 -4
  144. metadata +9 -14
  145. data/vendor/local/bin/freetype-config +0 -211
  146. data/vendor/local/include/freetype2/freetype/ftautoh.h +0 -533
  147. data/vendor/local/include/freetype2/freetype/ftcffdrv.h +0 -321
  148. data/vendor/local/include/freetype2/freetype/ftpcfdrv.h +0 -105
  149. data/vendor/local/include/freetype2/freetype/ftttdrv.h +0 -328
  150. data/vendor/local/include/freetype2/freetype/ttunpat.h +0 -63
  151. data/vendor/local/share/man/man1/freetype-config.1 +0 -146
Binary file
Binary file
Binary file
Binary file
@@ -1,9 +1,8 @@
1
- require 'cairo'
2
- require 'poppler'
3
- require 'stringio'
4
- require 'test/unit/notify'
1
+ require "cairo"
2
+ require "poppler"
3
+ require "stringio"
5
4
 
6
- module CairoTestUtils
5
+ module Helper
7
6
  private
8
7
  def only_cairo_version(major, minor, micro=nil)
9
8
  unless Cairo.satisfied_version?(major, minor, micro)
@@ -11,19 +11,12 @@ if system("which make >/dev/null 2>&1")
11
11
  end
12
12
  end
13
13
 
14
- require 'rubygems'
15
- require 'bundler/setup'
16
- require 'test-unit'
14
+ require "test-unit"
17
15
 
18
16
  $LOAD_PATH.unshift(base_dir)
19
17
  $LOAD_PATH.unshift(ext_dir)
20
18
  $LOAD_PATH.unshift(lib_dir)
21
19
 
22
- $LOAD_PATH.unshift(test_dir)
23
- require 'cairo-test-utils'
20
+ require_relative "helper"
24
21
 
25
- Dir.glob("test/**/test_*.rb") do |file|
26
- require file.sub(/\.rb$/, '')
27
- end
28
-
29
- exit Test::Unit::AutoRunner.run(false)
22
+ exit Test::Unit::AutoRunner.run(true, test_dir)
@@ -1,5 +1,5 @@
1
1
  class ContextTest < Test::Unit::TestCase
2
- include CairoTestUtils
2
+ include Helper
3
3
 
4
4
  def setup
5
5
  @output = StringIO.new
@@ -14,17 +14,17 @@ class ContextTest < Test::Unit::TestCase
14
14
  assert_equal("%%EOF\n", @output.string[-6..-1])
15
15
  end
16
16
 
17
- def test_new_with_block
18
- Cairo::Context.new(@surface) do |context|
17
+ def test_create_with_block
18
+ Cairo::Context.create(@surface) do |context|
19
19
  @surface.destroy
20
20
  assert_not_equal("%%EOF\n", @output.string[-6..-1])
21
21
  end
22
22
  assert_equal("%%EOF\n", @output.string[-6..-1])
23
23
  end
24
24
 
25
- def test_new_with_block_and_destroy
25
+ def test_create_with_block_and_destroy
26
26
  assert_nothing_raised do
27
- Cairo::Context.new(@surface) do |context|
27
+ Cairo::Context.create(@surface) do |context|
28
28
  context.destroy
29
29
  end
30
30
  end
@@ -106,7 +106,7 @@ class ContextTest < Test::Unit::TestCase
106
106
  end
107
107
 
108
108
  test("LINK") do
109
- Cairo::Context.new(@surface) do |context|
109
+ Cairo::Context.create(@surface) do |context|
110
110
  context.tag(Cairo::Tag::LINK, "uri='http://localhost/'") do
111
111
  context.show_text("localhost")
112
112
  end
@@ -1,7 +1,7 @@
1
1
  require 'cairo'
2
2
 
3
3
  class FontExtentsTest < Test::Unit::TestCase
4
- include CairoTestUtils
4
+ include Helper
5
5
 
6
6
  def test_new
7
7
  extents = Cairo::FontExtents.new
@@ -1,7 +1,7 @@
1
1
  require 'cairo'
2
2
 
3
3
  class FontFaceTest < Test::Unit::TestCase
4
- include CairoTestUtils
4
+ include Helper
5
5
 
6
6
  sub_test_case("FreeTypeFontFace") do
7
7
  setup do
@@ -1,7 +1,7 @@
1
1
  require 'cairo'
2
2
 
3
3
  class FontOptionsTest < Test::Unit::TestCase
4
- include CairoTestUtils
4
+ include Helper
5
5
 
6
6
  def setup
7
7
  @options = Cairo::FontOptions.new
@@ -1,7 +1,7 @@
1
1
  require 'cairo'
2
2
 
3
3
  class ImageSurfaceTest < Test::Unit::TestCase
4
- include CairoTestUtils
4
+ include Helper
5
5
 
6
6
  def test_cloned_data
7
7
  width = 10
@@ -15,7 +15,7 @@ class ImageSurfaceTest < Test::Unit::TestCase
15
15
  :a1, width, height,
16
16
  original_surface.stride)
17
17
 
18
- Cairo::Context.new(cloned_surface) do |context|
18
+ Cairo::Context.create(cloned_surface) do |context|
19
19
  context.set_source_rgb(255, 255, 255)
20
20
  context.scale(width, height)
21
21
  context.move_to(0, 0)
@@ -1,5 +1,5 @@
1
1
  class PDFSurfaceTest < Test::Unit::TestCase
2
- include CairoTestUtils
2
+ include Helper
3
3
 
4
4
  def create_pdf
5
5
  pdf = StringIO.new
@@ -1,5 +1,5 @@
1
1
  class QuartzImageSurfaceTest < Test::Unit::TestCase
2
- include CairoTestUtils
2
+ include Helper
3
3
 
4
4
  def setup
5
5
  only_surface("QuartzImage")
@@ -2,15 +2,15 @@ require "cairo"
2
2
  require "tempfile"
3
3
 
4
4
  class RasterSourcePatternTest < Test::Unit::TestCase
5
- include CairoTestUtils
5
+ include Helper
6
6
 
7
7
  def setup
8
8
  only_pattern("RasterSource")
9
9
  end
10
10
 
11
11
  def test_acquire_and_release
12
- Cairo::ImageSurface.new(100, 100) do |surface|
13
- Cairo::Context.new(surface) do |context|
12
+ Cairo::ImageSurface.create(100, 100) do |surface|
13
+ Cairo::Context.create(surface) do |context|
14
14
  context.set_source(1, 1, 1)
15
15
  context.paint
16
16
 
@@ -20,7 +20,7 @@ class RasterSourcePatternTest < Test::Unit::TestCase
20
20
  called << :acquire
21
21
  red_image = target.create_similar_image(extents.width, extents.height)
22
22
  red_image.set_device_offset(extents.x, extents.y)
23
- Cairo::Context.new(red_image) do |red_image_context|
23
+ Cairo::Context.create(red_image) do |red_image_context|
24
24
  red_image_context.set_source(1, 0, 0)
25
25
  red_image_context.paint
26
26
  end
@@ -46,8 +46,8 @@ class RasterSourcePatternTest < Test::Unit::TestCase
46
46
  end
47
47
 
48
48
  def test_success
49
- Cairo::RecordingSurface.new(0, 0, 100, 100) do |surface|
50
- Cairo::Context.new(surface) do |context|
49
+ Cairo::RecordingSurface.create(0, 0, 100, 100) do |surface|
50
+ Cairo::Context.create(surface) do |context|
51
51
  called = []
52
52
  raster_source = Cairo::RasterSourcePattern.new(100, 100)
53
53
  raster_source.snapshot do |pattern|
@@ -63,8 +63,8 @@ class RasterSourcePatternTest < Test::Unit::TestCase
63
63
  end
64
64
 
65
65
  def test_error
66
- Cairo::RecordingSurface.new(0, 0, 100, 100) do |surface|
67
- Cairo::Context.new(surface) do |context|
66
+ Cairo::RecordingSurface.create(0, 0, 100, 100) do |surface|
67
+ Cairo::Context.create(surface) do |context|
68
68
  called = []
69
69
  raster_source = Cairo::RasterSourcePattern.new(100, 100)
70
70
  raster_source.snapshot do |pattern|
@@ -92,8 +92,8 @@ class RasterSourcePatternTest < Test::Unit::TestCase
92
92
  def test_success
93
93
  output = StringIO.new
94
94
  device = Cairo::ScriptDevice.new(output)
95
- Cairo::ScriptSurface.new(device, 100, 200) do |surface|
96
- Cairo::Context.new(surface) do |context|
95
+ Cairo::ScriptSurface.create(device, 100, 200) do |surface|
96
+ Cairo::Context.create(surface) do |context|
97
97
  called = []
98
98
 
99
99
  raster_source = Cairo::RasterSourcePattern.new(100, 100)
@@ -102,7 +102,7 @@ class RasterSourcePatternTest < Test::Unit::TestCase
102
102
  red_image = target.create_similar_image(extents.width,
103
103
  extents.height)
104
104
  red_image.set_device_offset(extents.x, extents.y)
105
- Cairo::Context.new(red_image) do |red_image_context|
105
+ Cairo::Context.create(red_image) do |red_image_context|
106
106
  red_image_context.set_source(1, 0, 0)
107
107
  red_image_context.paint
108
108
  end
@@ -129,8 +129,8 @@ class RasterSourcePatternTest < Test::Unit::TestCase
129
129
  def test_error
130
130
  output = StringIO.new
131
131
  device = Cairo::ScriptDevice.new(output)
132
- Cairo::ScriptSurface.new(device, 100, 200) do |surface|
133
- Cairo::Context.new(surface) do |context|
132
+ Cairo::ScriptSurface.create(device, 100, 200) do |surface|
133
+ Cairo::Context.create(surface) do |context|
134
134
  called = []
135
135
 
136
136
  raster_source = Cairo::RasterSourcePattern.new(100, 100)
@@ -1,5 +1,5 @@
1
1
  class RecordingSurfaceTest < Test::Unit::TestCase
2
- include CairoTestUtils
2
+ include Helper
3
3
 
4
4
  def setup
5
5
  only_surface("Recording")
@@ -10,7 +10,7 @@ class RecordingSurfaceTest < Test::Unit::TestCase
10
10
  only_cairo_version(1, 12, 0)
11
11
  surface = Cairo::RecordingSurface.new(10, 20, 300, 400)
12
12
  assert_equal([0.0, 0.0, 0.0, 0.0], surface.ink_extents)
13
- Cairo::Context.new(surface) do |context|
13
+ Cairo::Context.create(surface) do |context|
14
14
  context.move_to(15, 30)
15
15
  context.line_to(80, 100)
16
16
  context.stroke
@@ -1,5 +1,5 @@
1
1
  class RegionTest < Test::Unit::TestCase
2
- include CairoTestUtils
2
+ include Helper
3
3
 
4
4
  def setup
5
5
  only_cairo_version(1, 10, 0)
@@ -2,7 +2,7 @@ require 'cairo'
2
2
  require 'stringio'
3
3
 
4
4
  class ScaledFontTest < Test::Unit::TestCase
5
- include CairoTestUtils
5
+ include Helper
6
6
 
7
7
  def test_scale_matrix
8
8
  only_cairo_version(1, 7, 2)
@@ -2,7 +2,7 @@ require 'cairo'
2
2
  require 'stringio'
3
3
 
4
4
  class ScriptDeviceTest < Test::Unit::TestCase
5
- include CairoTestUtils
5
+ include Helper
6
6
 
7
7
  def setup
8
8
  only_device("Script")
@@ -1,5 +1,5 @@
1
1
  class ScriptSurfaceTest < Test::Unit::TestCase
2
- include CairoTestUtils
2
+ include Helper
3
3
 
4
4
  def setup
5
5
  only_surface("Script")
@@ -2,7 +2,7 @@ require 'cairo'
2
2
  require 'stringio'
3
3
 
4
4
  class SurfaceTest < Test::Unit::TestCase
5
- include CairoTestUtils
5
+ include Helper
6
6
 
7
7
  def test_new
8
8
  output = StringIO.new
@@ -12,17 +12,17 @@ class SurfaceTest < Test::Unit::TestCase
12
12
  assert_equal("%%EOF\n", output.string[-6..-1])
13
13
  end
14
14
 
15
- def test_new_with_block
15
+ def test_create_with_block
16
16
  output = StringIO.new
17
- Cairo::PDFSurface.new(output, 10, 10) do |surface|
17
+ Cairo::PDFSurface.create(output, 10, 10) do |surface|
18
18
  assert_not_equal("%%EOF\n", output.string[-6..-1])
19
19
  end
20
20
  assert_equal("%%EOF\n", output.string[-6..-1])
21
21
  end
22
22
 
23
- def test_new_with_block_and_finish
23
+ def test_create_with_block_and_finish
24
24
  assert_nothing_raised do
25
- Cairo::PDFSurface.new(StringIO.new, 10, 10) do |surface|
25
+ Cairo::PDFSurface.create(StringIO.new, 10, 10) do |surface|
26
26
  surface.finish
27
27
  end
28
28
  end
@@ -1,5 +1,5 @@
1
1
  class SVGSurfaceTest < Test::Unit::TestCase
2
- include CairoTestUtils
2
+ include Helper
3
3
 
4
4
  def test_new_with_nil_target
5
5
  surface = Cairo::SVGSurface.new(nil, 10, 20)
@@ -1,5 +1,5 @@
1
1
  class TeeSurfaceTest < Test::Unit::TestCase
2
- include CairoTestUtils
2
+ include Helper
3
3
 
4
4
  def setup
5
5
  only_surface("Tee")
@@ -16,7 +16,7 @@ class TeeSurfaceTest < Test::Unit::TestCase
16
16
 
17
17
  surface = Cairo::TeeSurface.new(surface1)
18
18
  surface << surface2
19
- Cairo::Context.new(surface) do |context|
19
+ Cairo::Context.create(surface) do |context|
20
20
  context.move_to(15, 30)
21
21
  context.line_to(80, 100)
22
22
  context.stroke
@@ -1,7 +1,7 @@
1
1
  require 'cairo'
2
2
 
3
3
  class TextClusterTest < Test::Unit::TestCase
4
- include CairoTestUtils
4
+ include Helper
5
5
 
6
6
  def test_new
7
7
  only_cairo_version(1, 7, 2)
@@ -1,7 +1,7 @@
1
1
  require 'cairo'
2
2
 
3
3
  class TextExtentsTest < Test::Unit::TestCase
4
- include CairoTestUtils
4
+ include Helper
5
5
 
6
6
  def test_new
7
7
  extents = Cairo::TextExtents.new
@@ -1,7 +1,7 @@
1
1
  require 'cairo'
2
2
 
3
3
  class TextToGlyphsDataTest < Test::Unit::TestCase
4
- include CairoTestUtils
4
+ include Helper
5
5
 
6
6
  def test_new
7
7
  only_cairo_version(1, 7, 6)
@@ -1,5 +1,5 @@
1
1
  class XMLDeviceTest < Test::Unit::TestCase
2
- include CairoTestUtils
2
+ include Helper
3
3
 
4
4
  def setup
5
5
  only_device("XML")
@@ -1,5 +1,5 @@
1
1
  class XMLSurfaceTest < Test::Unit::TestCase
2
- include CairoTestUtils
2
+ include Helper
3
3
 
4
4
  def setup
5
5
  only_surface("XML")
@@ -10,7 +10,7 @@ class XMLSurfaceTest < Test::Unit::TestCase
10
10
  output = StringIO.new
11
11
  device = Cairo::XMLDevice.new(output)
12
12
  surface = Cairo::XMLSurface.new(device, 100, 200)
13
- Cairo::Context.new(surface) do |context|
13
+ Cairo::Context.create(surface) do |context|
14
14
  context.move_to(15, 30)
15
15
  context.line_to(80, 100)
16
16
  context.stroke
Binary file
Binary file
Binary file
@@ -11,7 +11,7 @@
11
11
 
12
12
  # Modeled after libxml-config.
13
13
 
14
- version="1.6.34"
14
+ version="1.6.35"
15
15
  prefix="/home/vagrant/rcairo/vendor/local"
16
16
  exec_prefix="${prefix}"
17
17
  libdir="${exec_prefix}/lib"
@@ -11,7 +11,7 @@
11
11
 
12
12
  # Modeled after libxml-config.
13
13
 
14
- version="1.6.34"
14
+ version="1.6.35"
15
15
  prefix="/home/vagrant/rcairo/vendor/local"
16
16
  exec_prefix="${prefix}"
17
17
  libdir="${exec_prefix}/lib"
Binary file