cairo 1.8.3-x86-mingw32 → 1.8.4-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cairo might be problematic. Click here for more details.

Files changed (126) hide show
  1. data/NEWS +14 -0
  2. data/Rakefile +2 -2
  3. data/ext/cairo/rb_cairo.c +1 -1
  4. data/extconf.rb +11 -11
  5. data/home/kou/work/ruby/rcairo.win32/vendor/local/bin/freetype6.dll +0 -0
  6. data/home/kou/work/ruby/rcairo.win32/vendor/local/bin/libcairo-2.dll +0 -0
  7. data/home/kou/work/ruby/rcairo.win32/vendor/local/bin/libfontconfig-1.dll +0 -0
  8. data/home/kou/work/ruby/rcairo.win32/vendor/local/bin/libpng14-14.dll +0 -0
  9. data/home/kou/work/ruby/rcairo.win32/vendor/local/bin/zlib1.dll +0 -0
  10. data/home/kou/work/ruby/rcairo.win32/vendor/local/etc/fonts/fonts.conf +151 -0
  11. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-deprecated.h +138 -0
  12. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-features.h +20 -0
  13. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-ft.h +75 -0
  14. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-pdf.h +68 -0
  15. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-ps.h +114 -0
  16. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-svg.h +82 -0
  17. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-version.h +8 -0
  18. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-win32.h +112 -0
  19. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo.h +2328 -0
  20. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/libpng14/png.h +2701 -0
  21. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/libpng14/pngconf.h +1525 -0
  22. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/png.h +2701 -0
  23. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/pngconf.h +1525 -0
  24. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/zconf.h +461 -0
  25. data/home/kou/work/ruby/rcairo.win32/vendor/local/include/zlib.h +1589 -0
  26. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/cairo.def +278 -0
  27. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/cairo.lib +0 -0
  28. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo.dll.a +0 -0
  29. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng.def +192 -0
  30. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng.lib +0 -0
  31. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng14.dll.a +0 -0
  32. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/libz.dll.a +0 -0
  33. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-ft.pc +12 -0
  34. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-pdf.pc +12 -0
  35. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-png.pc +12 -0
  36. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-ps.pc +12 -0
  37. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-svg.pc +12 -0
  38. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-win32-font.pc +12 -0
  39. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-win32.pc +12 -0
  40. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo.pc +13 -0
  41. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/libpng.pc +11 -0
  42. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/libpng14.pc +11 -0
  43. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/zdll.lib +0 -0
  44. data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/zlib.def +67 -0
  45. data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/cairo-dev_1.8.10-4_win32.mft +76 -0
  46. data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/cairo_1.8.10-4_win32.mft +5 -0
  47. data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/fontconfig_2.8.0-2_win32.mft +3 -0
  48. data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/freetype_2.4.2-1_win32.mft +2 -0
  49. data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/libpng-dev_1.4.3-1_win32.mft +15 -0
  50. data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/libpng_1.4.3-1_win32.mft +2 -0
  51. data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +8 -0
  52. data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/zlib_1.2.5-2_win32.mft +2 -0
  53. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/doc/cairo_1.8.10-4_win32/COPYING +32 -0
  54. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/doc/cairo_1.8.10-4_win32/COPYING-LGPL-2.1 +510 -0
  55. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/doc/cairo_1.8.10-4_win32/COPYING-MPL-1.1 +470 -0
  56. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +132 -0
  57. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +63 -0
  58. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +133 -0
  59. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +131 -0
  60. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +127 -0
  61. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +67 -0
  62. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +130 -0
  63. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +102 -0
  64. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +103 -0
  65. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-context.html +2643 -0
  66. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +57 -0
  67. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-error-status.html +360 -0
  68. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-font-face.html +408 -0
  69. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-font-options.html +678 -0
  70. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +63 -0
  71. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-ft-font.html +319 -0
  72. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-image-surface.html +473 -0
  73. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-matrix.html +596 -0
  74. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-paths.html +1274 -0
  75. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-pattern.html +1485 -0
  76. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-pdf-surface.html +238 -0
  77. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-png-functions.html +341 -0
  78. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-ps-surface.html +622 -0
  79. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-quartz-font.html +151 -0
  80. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-quartz-surface.html +219 -0
  81. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-scaled-font.html +1023 -0
  82. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +54 -0
  83. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-surface.html +1026 -0
  84. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +69 -0
  85. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-svg-surface.html +321 -0
  86. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +1222 -0
  87. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-transformations.html +436 -0
  88. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-types.html +133 -0
  89. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-user-font.html +735 -0
  90. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-version-info.html +345 -0
  91. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-win32-font.html +358 -0
  92. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-win32-surface.html +312 -0
  93. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-xlib-surface.html +492 -0
  94. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp +417 -0
  95. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +542 -0
  96. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/home.png +0 -0
  97. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +141 -0
  98. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +109 -0
  99. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +71 -0
  100. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +107 -0
  101. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-all.html +759 -0
  102. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index.html +144 -0
  103. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index.sgml +478 -0
  104. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +83 -0
  105. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
  106. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/right.png +0 -0
  107. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/style.css +167 -0
  108. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/up.png +0 -0
  109. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/man/man3/libpng.3 +4455 -0
  110. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/man/man3/libpngpf.3 +808 -0
  111. data/home/kou/work/ruby/rcairo.win32/vendor/local/share/man/man5/png.5 +74 -0
  112. data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/cairo_1.8.10-4_win32.log +920 -0
  113. data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/cairo_1.8.10-4_win32.sh +76 -0
  114. data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.log +272 -0
  115. data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.sh +71 -0
  116. data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +42 -0
  117. data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +189 -0
  118. data/lib/1.8/cairo.so +0 -0
  119. data/lib/1.9/cairo.so +0 -0
  120. data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.8.7/fake.rb +0 -0
  121. data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.8.7/mkmf.rb +0 -0
  122. data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.8.7/rbconfig.rb +0 -0
  123. data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.9.2/fake.rb +0 -0
  124. data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.9.2/mkmf.rb +0 -0
  125. data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.9.2/rbconfig.rb +1 -1
  126. metadata +126 -40
data/NEWS CHANGED
@@ -1,3 +1,17 @@
1
+ Release 1.8.4 (2010-08-27) Kouhei Sutou <kou@cozmixng.org>)
2
+ ===========================================================
3
+
4
+ Fixes
5
+ -----
6
+ * Fix build system. (patch by kimura watasu and suggested by OBATA Akio)
7
+ * Fix Windows gem. (reported by Dominic Sisneros)
8
+
9
+ Thanks
10
+ ------
11
+ * Dominic Sisneros
12
+ * kimura wataru
13
+ * OBATA Akio
14
+
1
15
  Release 1.8.3 (2010-08-26) Kouhei Sutou <kou@cozmixng.org>)
2
16
  ===========================================================
3
17
 
data/Rakefile CHANGED
@@ -91,10 +91,9 @@ project.spec.dependencies.delete_if {|dependency| dependency.name == "hoe"}
91
91
 
92
92
  Rake::ExtensionTask.new("cairo", project.spec) do |ext|
93
93
  ext.cross_compile = true
94
- ext.cross_platform = 'x86-mingw32'
95
94
  end
96
95
 
97
- if /mswin32/ =~ project.spec.platform.to_s
96
+ task :add_win32_binaries do
98
97
  cairo_win32_dir = File.join(base_dir, "vendor", "local")
99
98
  cairo_files = []
100
99
  Find.find(cairo_win32_dir) do |f|
@@ -102,6 +101,7 @@ if /mswin32/ =~ project.spec.platform.to_s
102
101
  end
103
102
  project.spec.files += cairo_files
104
103
  end
104
+ task :cross => :add_win32_binaries
105
105
 
106
106
  # fix Hoe's incorrect guess.
107
107
  project.spec.executables.clear
data/ext/cairo/rb_cairo.c CHANGED
@@ -76,7 +76,7 @@ Init_cairo ()
76
76
 
77
77
  rb_define_const (rb_mCairo, "BINDINGS_VERSION",
78
78
  rb_ary_new3 (4,
79
- INT2FIX (1), INT2FIX (8), INT2FIX (3), Qnil));
79
+ INT2FIX (1), INT2FIX (8), INT2FIX (4), Qnil));
80
80
 
81
81
  rb_define_module_function (rb_mCairo, "satisfied_version?",
82
82
  rb_cairo_satisfied_version, -1);
data/extconf.rb CHANGED
@@ -13,7 +13,7 @@ ruby = File.join(RbConfig::CONFIG['bindir'],
13
13
  RbConfig::CONFIG["EXEEXT"])
14
14
 
15
15
  Dir.chdir(ext_dir.to_s) do
16
- system(ruby, "extconf.rb")
16
+ system(ruby, "extconf.rb", *ARGV) || exit(false)
17
17
  end
18
18
 
19
19
  create_makefile("cairo")
@@ -22,24 +22,24 @@ FileUtils.mv("Makefile", "Makefile.lib")
22
22
  File.open("Makefile", "w") do |makefile|
23
23
  makefile.puts(<<-EOM)
24
24
  all:
25
- $(MAKE) $(MAKEFLAGS) -C ext/cairo
26
- $(MAKE) $(MAKEFLAGS) -f Makefile.lib
25
+ (cd ext/cairo && $(MAKE))
26
+ $(MAKE) -f Makefile.lib
27
27
 
28
28
  install:
29
- $(MAKE) $(MAKEFLAGS) -C ext/cairo install
30
- $(MAKE) $(MAKEFLAGS) -f Makefile.lib install
29
+ (cd ext/cairo && $(MAKE) install)
30
+ $(MAKE) -f Makefile.lib install
31
31
 
32
32
  site-install:
33
- $(MAKE) $(MAKEFLAGS) -C ext/cairo site-install
34
- $(MAKE) $(MAKEFLAGS) -f Makefile.lib site-install
33
+ (cd ext/cairo && $(MAKE) site-install)
34
+ $(MAKE) -f Makefile.lib site-install
35
35
 
36
36
  clean:
37
- $(MAKE) $(MAKEFLAGS) -C ext/cairo clean
38
- $(MAKE) $(MAKEFLAGS) -f Makefile.lib clean
37
+ (cd ext/cairo && $(MAKE) clean)
38
+ $(MAKE) -f Makefile.lib clean
39
39
 
40
40
  distclean:
41
- $(MAKE) $(MAKEFLAGS) -C ext/cairo distclean
42
- $(MAKE) $(MAKEFLAGS) -f Makefile.lib distclean
41
+ (cd ext/cairo && $(MAKE) distclean)
42
+ $(MAKE) -f Makefile.lib distclean
43
43
  @rm -f Makefile.lib
44
44
  EOM
45
45
  end
@@ -0,0 +1,151 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
+ <!-- /etc/fonts/fonts.conf file to configure system font access -->
4
+ <fontconfig>
5
+
6
+ <!--
7
+ DO NOT EDIT THIS FILE.
8
+ IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
9
+ LOCAL CHANGES BELONG IN 'local.conf'.
10
+
11
+ The intent of this standard configuration file is to be adequate for
12
+ most environments. If you have a reasonably normal environment and
13
+ have found problems with this configuration, they are probably
14
+ things that others will also want fixed. Please submit any
15
+ problems to the fontconfig bugzilla system located at fontconfig.org
16
+
17
+ Note that the normal 'make install' procedure for fontconfig is to
18
+ replace any existing fonts.conf file with the new version. Place
19
+ any local customizations in local.conf which this file references.
20
+
21
+ Keith Packard
22
+ -->
23
+
24
+ <!-- Font directory list -->
25
+
26
+ <dir>WINDOWSFONTDIR</dir>
27
+
28
+ <dir>~/.fonts</dir>
29
+
30
+ <!--
31
+ Accept deprecated 'mono' alias, replacing it with 'monospace'
32
+ -->
33
+ <match target="pattern">
34
+ <test qual="any" name="family">
35
+ <string>mono</string>
36
+ </test>
37
+ <edit name="family" mode="assign">
38
+ <string>monospace</string>
39
+ </edit>
40
+ </match>
41
+
42
+ <!--
43
+ Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
44
+ -->
45
+ <match target="pattern">
46
+ <test qual="any" name="family">
47
+ <string>sans serif</string>
48
+ </test>
49
+ <edit name="family" mode="assign">
50
+ <string>sans-serif</string>
51
+ </edit>
52
+ </match>
53
+
54
+ <!--
55
+ Accept deprecated 'sans' alias, replacing it with 'sans-serif'
56
+ -->
57
+ <match target="pattern">
58
+ <test qual="any" name="family">
59
+ <string>sans</string>
60
+ </test>
61
+ <edit name="family" mode="assign">
62
+ <string>sans-serif</string>
63
+ </edit>
64
+ </match>
65
+
66
+ <!--
67
+ Load local system customization file
68
+ -->
69
+ <include ignore_missing="yes">conf.d</include>
70
+
71
+ <!-- Font cache directory list -->
72
+
73
+ <cachedir>WINDOWSTEMPDIR_FONTCONFIG_CACHE</cachedir>
74
+ <cachedir>~/.fontconfig</cachedir>
75
+
76
+ <config>
77
+ <!--
78
+ These are the default Unicode chars that are expected to be blank
79
+ in fonts. All other blank chars are assumed to be broken and
80
+ won't appear in the resulting charsets
81
+ -->
82
+ <blank>
83
+ <int>0x0020</int> <!-- SPACE -->
84
+ <int>0x00A0</int> <!-- NO-BREAK SPACE -->
85
+ <int>0x00AD</int> <!-- SOFT HYPHEN -->
86
+ <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER -->
87
+ <int>0x0600</int> <!-- ARABIC NUMBER SIGN -->
88
+ <int>0x0601</int> <!-- ARABIC SIGN SANAH -->
89
+ <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER -->
90
+ <int>0x0603</int> <!-- ARABIC SIGN SAFHA -->
91
+ <int>0x06DD</int> <!-- ARABIC END OF AYAH -->
92
+ <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK -->
93
+ <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER -->
94
+ <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER -->
95
+ <int>0x1680</int> <!-- OGHAM SPACE MARK -->
96
+ <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ -->
97
+ <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA -->
98
+ <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR -->
99
+ <int>0x2000</int> <!-- EN QUAD -->
100
+ <int>0x2001</int> <!-- EM QUAD -->
101
+ <int>0x2002</int> <!-- EN SPACE -->
102
+ <int>0x2003</int> <!-- EM SPACE -->
103
+ <int>0x2004</int> <!-- THREE-PER-EM SPACE -->
104
+ <int>0x2005</int> <!-- FOUR-PER-EM SPACE -->
105
+ <int>0x2006</int> <!-- SIX-PER-EM SPACE -->
106
+ <int>0x2007</int> <!-- FIGURE SPACE -->
107
+ <int>0x2008</int> <!-- PUNCTUATION SPACE -->
108
+ <int>0x2009</int> <!-- THIN SPACE -->
109
+ <int>0x200A</int> <!-- HAIR SPACE -->
110
+ <int>0x200B</int> <!-- ZERO WIDTH SPACE -->
111
+ <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER -->
112
+ <int>0x200D</int> <!-- ZERO WIDTH JOINER -->
113
+ <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK -->
114
+ <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK -->
115
+ <int>0x2028</int> <!-- LINE SEPARATOR -->
116
+ <int>0x2029</int> <!-- PARAGRAPH SEPARATOR -->
117
+ <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING -->
118
+ <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING -->
119
+ <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING -->
120
+ <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE -->
121
+ <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE -->
122
+ <int>0x202F</int> <!-- NARROW NO-BREAK SPACE -->
123
+ <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE -->
124
+ <int>0x2060</int> <!-- WORD JOINER -->
125
+ <int>0x2061</int> <!-- FUNCTION APPLICATION -->
126
+ <int>0x2062</int> <!-- INVISIBLE TIMES -->
127
+ <int>0x2063</int> <!-- INVISIBLE SEPARATOR -->
128
+ <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING -->
129
+ <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING -->
130
+ <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING -->
131
+ <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
132
+ <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
133
+ <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
134
+ <int>0x2800</int> <!-- BRAILLE PATTERN BLANK -->
135
+ <int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
136
+ <int>0x3164</int> <!-- HANGUL FILLER -->
137
+ <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE -->
138
+ <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER -->
139
+ <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
140
+ <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
141
+ <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
142
+ </blank>
143
+ <!--
144
+ Rescan configuration every 30 seconds when FcFontSetList is called
145
+ -->
146
+ <rescan>
147
+ <int>30</int>
148
+ </rescan>
149
+ </config>
150
+
151
+ </fontconfig>
@@ -0,0 +1,138 @@
1
+ /* cairo - a vector graphics library with display and print output
2
+ *
3
+ * Copyright © 2006 Red Hat, Inc.
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it either under the terms of the GNU Lesser General Public
7
+ * License version 2.1 as published by the Free Software Foundation
8
+ * (the "LGPL") or, at your option, under the terms of the Mozilla
9
+ * Public License Version 1.1 (the "MPL"). If you do not alter this
10
+ * notice, a recipient may use your version of this file under either
11
+ * the MPL or the LGPL.
12
+ *
13
+ * You should have received a copy of the LGPL along with this library
14
+ * in the file COPYING-LGPL-2.1; if not, write to the Free Software
15
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
+ * You should have received a copy of the MPL along with this library
17
+ * in the file COPYING-MPL-1.1
18
+ *
19
+ * The contents of this file are subject to the Mozilla Public License
20
+ * Version 1.1 (the "License"); you may not use this file except in
21
+ * compliance with the License. You may obtain a copy of the License at
22
+ * http://www.mozilla.org/MPL/
23
+ *
24
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
25
+ * OF ANY KIND, either express or implied. See the LGPL or the MPL for
26
+ * the specific language governing rights and limitations.
27
+ *
28
+ * The Original Code is the cairo graphics library.
29
+ *
30
+ * The Initial Developer of the Original Code is Red Hat, Inc.
31
+ *
32
+ * Contributor(s):
33
+ * Carl D. Worth <cworth@cworth.org>
34
+ */
35
+
36
+ #ifndef CAIRO_DEPRECATED_H
37
+ #define CAIRO_DEPRECATED_H
38
+
39
+ /* The %CAIRO_FORMAT_RGB16_565 value was added in cairo 1.2.0 as part
40
+ * of fixing cairo's xlib backend to work with X servers advertising a
41
+ * 16-bit, 565 visual. But as it turned out, adding this format to
42
+ * #cairo_format_t was not necessary, and was a mistake, (cairo's xlib
43
+ * backend can work fine with 16-bit visuals in the same way it works
44
+ * with BGR visuals without any BGR formats in
45
+ * #cairo_format_t).
46
+ *
47
+ * Additionally, the support for the RGB16_565 format was never
48
+ * completely implemented. So while this format value is currently
49
+ * deprecated, it may eventually acquire complete support in the future.
50
+ */
51
+ #define CAIRO_FORMAT_RGB16_565 4
52
+
53
+ #define CAIRO_FONT_TYPE_ATSUI CAIRO_FONT_TYPE_QUARTZ
54
+
55
+ /* Obsolete functions. These definitions exist to coerce the compiler
56
+ * into providing a little bit of guidance with its error
57
+ * messages. The idea is to help users port their old code without
58
+ * having to dig through lots of documentation.
59
+ *
60
+ * The first set of REPLACED_BY functions is for functions whose names
61
+ * have just been changed. So fixing these up is mechanical, (and
62
+ * automated by means of the cairo/util/cairo-api-update script.
63
+ *
64
+ * The second set of DEPRECATED_BY functions is for functions where
65
+ * the replacement is used in a different way, (ie. different
66
+ * arguments, multiple functions instead of one, etc). Fixing these up
67
+ * will require a bit more work on the user's part, (and hopefully we
68
+ * can get cairo-api-update to find these and print some guiding
69
+ * information).
70
+ */
71
+ #define cairo_current_font_extents cairo_current_font_extents_REPLACED_BY_cairo_font_extents
72
+ #define cairo_get_font_extents cairo_get_font_extents_REPLACED_BY_cairo_font_extents
73
+ #define cairo_current_operator cairo_current_operator_REPLACED_BY_cairo_get_operator
74
+ #define cairo_current_tolerance cairo_current_tolerance_REPLACED_BY_cairo_get_tolerance
75
+ #define cairo_current_point cairo_current_point_REPLACED_BY_cairo_get_current_point
76
+ #define cairo_current_fill_rule cairo_current_fill_rule_REPLACED_BY_cairo_get_fill_rule
77
+ #define cairo_current_line_width cairo_current_line_width_REPLACED_BY_cairo_get_line_width
78
+ #define cairo_current_line_cap cairo_current_line_cap_REPLACED_BY_cairo_get_line_cap
79
+ #define cairo_current_line_join cairo_current_line_join_REPLACED_BY_cairo_get_line_join
80
+ #define cairo_current_miter_limit cairo_current_miter_limit_REPLACED_BY_cairo_get_miter_limit
81
+ #define cairo_current_matrix cairo_current_matrix_REPLACED_BY_cairo_get_matrix
82
+ #define cairo_current_target_surface cairo_current_target_surface_REPLACED_BY_cairo_get_target
83
+ #define cairo_get_status cairo_get_status_REPLACED_BY_cairo_status
84
+ #define cairo_concat_matrix cairo_concat_matrix_REPLACED_BY_cairo_transform
85
+ #define cairo_scale_font cairo_scale_font_REPLACED_BY_cairo_set_font_size
86
+ #define cairo_select_font cairo_select_font_REPLACED_BY_cairo_select_font_face
87
+ #define cairo_transform_font cairo_transform_font_REPLACED_BY_cairo_set_font_matrix
88
+ #define cairo_transform_point cairo_transform_point_REPLACED_BY_cairo_user_to_device
89
+ #define cairo_transform_distance cairo_transform_distance_REPLACED_BY_cairo_user_to_device_distance
90
+ #define cairo_inverse_transform_point cairo_inverse_transform_point_REPLACED_BY_cairo_device_to_user
91
+ #define cairo_inverse_transform_distance cairo_inverse_transform_distance_REPLACED_BY_cairo_device_to_user_distance
92
+ #define cairo_init_clip cairo_init_clip_REPLACED_BY_cairo_reset_clip
93
+ #define cairo_surface_create_for_image cairo_surface_create_for_image_REPLACED_BY_cairo_image_surface_create_for_data
94
+ #define cairo_default_matrix cairo_default_matrix_REPLACED_BY_cairo_identity_matrix
95
+ #define cairo_matrix_set_affine cairo_matrix_set_affine_REPLACED_BY_cairo_matrix_init
96
+ #define cairo_matrix_set_identity cairo_matrix_set_identity_REPLACED_BY_cairo_matrix_init_identity
97
+ #define cairo_pattern_add_color_stop cairo_pattern_add_color_stop_REPLACED_BY_cairo_pattern_add_color_stop_rgba
98
+ #define cairo_set_rgb_color cairo_set_rgb_color_REPLACED_BY_cairo_set_source_rgb
99
+ #define cairo_set_pattern cairo_set_pattern_REPLACED_BY_cairo_set_source
100
+ #define cairo_xlib_surface_create_for_pixmap_with_visual cairo_xlib_surface_create_for_pixmap_with_visual_REPLACED_BY_cairo_xlib_surface_create
101
+ #define cairo_xlib_surface_create_for_window_with_visual cairo_xlib_surface_create_for_window_with_visual_REPLACED_BY_cairo_xlib_surface_create
102
+ #define cairo_xcb_surface_create_for_pixmap_with_visual cairo_xcb_surface_create_for_pixmap_with_visual_REPLACED_BY_cairo_xcb_surface_create
103
+ #define cairo_xcb_surface_create_for_window_with_visual cairo_xcb_surface_create_for_window_with_visual_REPLACED_BY_cairo_xcb_surface_create
104
+ #define cairo_ps_surface_set_dpi cairo_ps_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution
105
+ #define cairo_pdf_surface_set_dpi cairo_pdf_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution
106
+ #define cairo_svg_surface_set_dpi cairo_svg_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution
107
+ #define cairo_atsui_font_face_create_for_atsu_font_id cairo_atsui_font_face_create_for_atsu_font_id_REPLACED_BY_cairo_quartz_font_face_create_for_atsu_font_id
108
+
109
+ #define cairo_current_path cairo_current_path_DEPRECATED_BY_cairo_copy_path
110
+ #define cairo_current_path_flat cairo_current_path_flat_DEPRECATED_BY_cairo_copy_path_flat
111
+ #define cairo_get_path cairo_get_path_DEPRECATED_BY_cairo_copy_path
112
+ #define cairo_get_path_flat cairo_get_path_flat_DEPRECATED_BY_cairo_get_path_flat
113
+ #define cairo_set_alpha cairo_set_alpha_DEPRECATED_BY_cairo_set_source_rgba_OR_cairo_paint_with_alpha
114
+ #define cairo_show_surface cairo_show_surface_DEPRECATED_BY_cairo_set_source_surface_AND_cairo_paint
115
+ #define cairo_copy cairo_copy_DEPRECATED_BY_cairo_create_AND_MANY_INDIVIDUAL_FUNCTIONS
116
+ #define cairo_surface_set_repeat cairo_surface_set_repeat_DEPRECATED_BY_cairo_pattern_set_extend
117
+ #define cairo_surface_set_matrix cairo_surface_set_matrix_DEPRECATED_BY_cairo_pattern_set_matrix
118
+ #define cairo_surface_get_matrix cairo_surface_get_matrix_DEPRECATED_BY_cairo_pattern_get_matrix
119
+ #define cairo_surface_set_filter cairo_surface_set_filter_DEPRECATED_BY_cairo_pattern_set_filter
120
+ #define cairo_surface_get_filter cairo_surface_get_filter_DEPRECATED_BY_cairo_pattern_get_filter
121
+ #define cairo_matrix_create cairo_matrix_create_DEPRECATED_BY_cairo_matrix_t
122
+ #define cairo_matrix_destroy cairo_matrix_destroy_DEPRECATED_BY_cairo_matrix_t
123
+ #define cairo_matrix_copy cairo_matrix_copy_DEPRECATED_BY_cairo_matrix_t
124
+ #define cairo_matrix_get_affine cairo_matrix_get_affine_DEPRECATED_BY_cairo_matrix_t
125
+ #define cairo_set_target_surface cairo_set_target_surface_DEPRECATED_BY_cairo_create
126
+ #define cairo_set_target_glitz cairo_set_target_glitz_DEPRECATED_BY_cairo_glitz_surface_create
127
+ #define cairo_set_target_image cairo_set_target_image_DEPRECATED_BY_cairo_image_surface_create_for_data
128
+ #define cairo_set_target_pdf cairo_set_target_pdf_DEPRECATED_BY_cairo_pdf_surface_create
129
+ #define cairo_set_target_png cairo_set_target_png_DEPRECATED_BY_cairo_surface_write_to_png
130
+ #define cairo_set_target_ps cairo_set_target_ps_DEPRECATED_BY_cairo_ps_surface_create
131
+ #define cairo_set_target_quartz cairo_set_target_quartz_DEPRECATED_BY_cairo_quartz_surface_create
132
+ #define cairo_set_target_win32 cairo_set_target_win32_DEPRECATED_BY_cairo_win32_surface_create
133
+ #define cairo_set_target_xcb cairo_set_target_xcb_DEPRECATED_BY_cairo_xcb_surface_create
134
+ #define cairo_set_target_drawable cairo_set_target_drawable_DEPRECATED_BY_cairo_xlib_surface_create
135
+ #define cairo_get_status_string cairo_get_status_string_DEPRECATED_BY_cairo_status_AND_cairo_status_to_string
136
+ #define cairo_status_string cairo_status_string_DEPRECATED_BY_cairo_status_AND_cairo_status_to_string
137
+
138
+ #endif /* CAIRO_DEPRECATED_H */
@@ -0,0 +1,20 @@
1
+ /* Generated by configure. Do not edit. */
2
+ #ifndef CAIRO_FEATURES_H
3
+ #define CAIRO_FEATURES_H
4
+
5
+ #define CAIRO_HAS_FT_FONT 1
6
+ #define CAIRO_HAS_IMAGE_SURFACE 1
7
+ #define CAIRO_HAS_PDF_SURFACE 1
8
+ #define CAIRO_HAS_PNG_FUNCTIONS 1
9
+ #define CAIRO_HAS_PS_SURFACE 1
10
+ #define CAIRO_HAS_SVG_SURFACE 1
11
+ #define CAIRO_HAS_USER_FONT 1
12
+ #define CAIRO_HAS_WIN32_FONT 1
13
+ #define CAIRO_HAS_WIN32_SURFACE 1
14
+
15
+ /*#undef CAIRO_HAS_QUARTZ_FONT */
16
+ /*#undef CAIRO_HAS_QUARTZ_SURFACE */
17
+ /*#undef CAIRO_HAS_XLIB_SURFACE */
18
+ /*#undef CAIRO_HAS_XLIB_XRENDER_SURFACE */
19
+
20
+ #endif
@@ -0,0 +1,75 @@
1
+ /* cairo - a vector graphics library with display and print output
2
+ *
3
+ * Copyright © 2005 Red Hat, Inc
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it either under the terms of the GNU Lesser General Public
7
+ * License version 2.1 as published by the Free Software Foundation
8
+ * (the "LGPL") or, at your option, under the terms of the Mozilla
9
+ * Public License Version 1.1 (the "MPL"). If you do not alter this
10
+ * notice, a recipient may use your version of this file under either
11
+ * the MPL or the LGPL.
12
+ *
13
+ * You should have received a copy of the LGPL along with this library
14
+ * in the file COPYING-LGPL-2.1; if not, write to the Free Software
15
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
+ * You should have received a copy of the MPL along with this library
17
+ * in the file COPYING-MPL-1.1
18
+ *
19
+ * The contents of this file are subject to the Mozilla Public License
20
+ * Version 1.1 (the "License"); you may not use this file except in
21
+ * compliance with the License. You may obtain a copy of the License at
22
+ * http://www.mozilla.org/MPL/
23
+ *
24
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
25
+ * OF ANY KIND, either express or implied. See the LGPL or the MPL for
26
+ * the specific language governing rights and limitations.
27
+ *
28
+ * The Original Code is the cairo graphics library.
29
+ *
30
+ * The Initial Developer of the Original Code is Red Hat, Inc.
31
+ *
32
+ * Contributor(s):
33
+ * Graydon Hoare <graydon@redhat.com>
34
+ * Owen Taylor <otaylor@redhat.com>
35
+ */
36
+
37
+ #ifndef CAIRO_FT_H
38
+ #define CAIRO_FT_H
39
+
40
+ #include "cairo.h"
41
+
42
+ #if CAIRO_HAS_FT_FONT
43
+
44
+ /* Fontconfig/Freetype platform-specific font interface */
45
+
46
+ #include <fontconfig/fontconfig.h>
47
+ #include <ft2build.h>
48
+ #include FT_FREETYPE_H
49
+
50
+ CAIRO_BEGIN_DECLS
51
+
52
+ cairo_public cairo_font_face_t *
53
+ cairo_ft_font_face_create_for_pattern (FcPattern *pattern);
54
+
55
+ cairo_public void
56
+ cairo_ft_font_options_substitute (const cairo_font_options_t *options,
57
+ FcPattern *pattern);
58
+
59
+ cairo_public cairo_font_face_t *
60
+ cairo_ft_font_face_create_for_ft_face (FT_Face face,
61
+ int load_flags);
62
+
63
+ cairo_public FT_Face
64
+ cairo_ft_scaled_font_lock_face (cairo_scaled_font_t *scaled_font);
65
+
66
+ cairo_public void
67
+ cairo_ft_scaled_font_unlock_face (cairo_scaled_font_t *scaled_font);
68
+
69
+ CAIRO_END_DECLS
70
+
71
+ #else /* CAIRO_HAS_FT_FONT */
72
+ # error Cairo was not compiled with support for the freetype font backend
73
+ #endif /* CAIRO_HAS_FT_FONT */
74
+
75
+ #endif /* CAIRO_FT_H */