cairo 1.15.12-x86-mingw32 → 1.15.13-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. checksums.yaml +5 -5
  2. data/NEWS +12 -0
  3. data/Rakefile +3 -7
  4. data/ext/cairo/rb_cairo.h +2 -2
  5. data/ext/cairo/rb_cairo_font_options.c +28 -1
  6. data/lib/2.2/cairo.so +0 -0
  7. data/lib/2.3/cairo.so +0 -0
  8. data/lib/2.4/cairo.so +0 -0
  9. data/lib/2.5/cairo.so +0 -0
  10. data/test/test_font_options.rb +7 -0
  11. data/vendor/local/bin/fc-cache.exe +0 -0
  12. data/vendor/local/bin/fc-cat.exe +0 -0
  13. data/vendor/local/bin/fc-conflist.exe +0 -0
  14. data/vendor/local/bin/fc-list.exe +0 -0
  15. data/vendor/local/bin/fc-match.exe +0 -0
  16. data/vendor/local/bin/fc-pattern.exe +0 -0
  17. data/vendor/local/bin/fc-query.exe +0 -0
  18. data/vendor/local/bin/fc-scan.exe +0 -0
  19. data/vendor/local/bin/fc-validate.exe +0 -0
  20. data/vendor/local/bin/freetype-config +5 -5
  21. data/vendor/local/bin/libcairo-2.dll +0 -0
  22. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  23. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  24. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  25. data/vendor/local/bin/libfreetype-6.dll +0 -0
  26. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  27. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  28. data/vendor/local/bin/libpng-config +1 -1
  29. data/vendor/local/bin/libpng16-16.dll +0 -0
  30. data/vendor/local/bin/libpng16-config +1 -1
  31. data/vendor/local/bin/libstdc++-6.dll +0 -0
  32. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  33. data/vendor/local/bin/libxml2-2.dll +0 -0
  34. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  35. data/vendor/local/bin/pngfix.exe +0 -0
  36. data/vendor/local/bin/xml2-config +4 -4
  37. data/vendor/local/bin/xmlcatalog.exe +0 -0
  38. data/vendor/local/bin/xmllint.exe +0 -0
  39. data/vendor/local/bin/zlib1211.dll +0 -0
  40. data/vendor/local/etc/fonts/conf.d/10-hinting-slight.conf +6 -0
  41. data/vendor/local/etc/fonts/conf.d/10-scale-bitmap-fonts.conf +4 -0
  42. data/vendor/local/etc/fonts/conf.d/20-unhint-small-vera.conf +5 -0
  43. data/vendor/local/etc/fonts/conf.d/30-metric-aliases.conf +8 -26
  44. data/vendor/local/etc/fonts/conf.d/40-nonlatin.conf +5 -0
  45. data/vendor/local/etc/fonts/conf.d/45-generic.conf +136 -0
  46. data/vendor/local/etc/fonts/conf.d/45-latin.conf +5 -0
  47. data/vendor/local/etc/fonts/conf.d/49-sansserif.conf +5 -0
  48. data/vendor/local/etc/fonts/conf.d/50-user.conf +5 -0
  49. data/vendor/local/etc/fonts/conf.d/51-local.conf +5 -0
  50. data/vendor/local/etc/fonts/conf.d/60-generic.conf +67 -0
  51. data/vendor/local/etc/fonts/conf.d/60-latin.conf +5 -0
  52. data/vendor/local/etc/fonts/conf.d/65-fonts-persian.conf +4 -0
  53. data/vendor/local/etc/fonts/conf.d/65-nonlatin.conf +7 -3
  54. data/vendor/local/etc/fonts/conf.d/69-unifont.conf +4 -0
  55. data/vendor/local/etc/fonts/conf.d/80-delicious.conf +4 -0
  56. data/vendor/local/etc/fonts/conf.d/90-synthetic.conf +7 -3
  57. data/vendor/local/etc/fonts/fonts.conf +5 -0
  58. data/vendor/local/include/cairo/cairo-features.h +0 -1
  59. data/vendor/local/include/cairo/cairo-svg.h +1 -1
  60. data/vendor/local/include/cairo/cairo-version.h +1 -1
  61. data/vendor/local/include/cairo/cairo.h +8 -1
  62. data/vendor/local/include/fontconfig/fcfreetype.h +1 -1
  63. data/vendor/local/include/fontconfig/fcprivate.h +8 -1
  64. data/vendor/local/include/fontconfig/fontconfig.h +61 -6
  65. data/vendor/local/lib/fontconfig.def +10 -1
  66. data/vendor/local/lib/libcairo-gobject.a +0 -0
  67. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  68. data/vendor/local/lib/libcairo-gobject.la +4 -4
  69. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  70. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  71. data/vendor/local/lib/libcairo-script-interpreter.la +4 -4
  72. data/vendor/local/lib/libcairo.a +0 -0
  73. data/vendor/local/lib/libcairo.dll.a +0 -0
  74. data/vendor/local/lib/libcairo.la +4 -4
  75. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  76. data/vendor/local/lib/libfontconfig.la +5 -5
  77. data/vendor/local/lib/libfreetype.a +0 -0
  78. data/vendor/local/lib/libfreetype.dll.a +0 -0
  79. data/vendor/local/lib/libfreetype.la +2 -2
  80. data/vendor/local/lib/libpixman-1.a +0 -0
  81. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  82. data/vendor/local/lib/libpixman-1.la +2 -2
  83. data/vendor/local/lib/libpng.a +0 -0
  84. data/vendor/local/lib/libpng.dll.a +0 -0
  85. data/vendor/local/lib/libpng.la +2 -2
  86. data/vendor/local/lib/libpng16.a +0 -0
  87. data/vendor/local/lib/libpng16.dll.a +0 -0
  88. data/vendor/local/lib/libpng16.la +2 -2
  89. data/vendor/local/lib/libxml2.a +0 -0
  90. data/vendor/local/lib/libxml2.dll.a +0 -0
  91. data/vendor/local/lib/libxml2.la +2 -2
  92. data/vendor/local/lib/libz.a +0 -0
  93. data/vendor/local/lib/libz.dll.a +0 -0
  94. data/vendor/local/lib/pkgconfig/cairo-fc.pc +2 -2
  95. data/vendor/local/lib/pkgconfig/cairo-ft.pc +2 -2
  96. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +2 -2
  97. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +2 -2
  98. data/vendor/local/lib/pkgconfig/cairo-png.pc +2 -2
  99. data/vendor/local/lib/pkgconfig/cairo-ps.pc +2 -2
  100. data/vendor/local/lib/pkgconfig/cairo-script.pc +2 -2
  101. data/vendor/local/lib/pkgconfig/cairo-svg.pc +2 -2
  102. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +2 -2
  103. data/vendor/local/lib/pkgconfig/cairo-win32.pc +2 -2
  104. data/vendor/local/lib/pkgconfig/cairo.pc +2 -2
  105. data/vendor/local/lib/pkgconfig/fontconfig.pc +6 -6
  106. data/vendor/local/lib/pkgconfig/freetype2.pc +4 -4
  107. data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
  108. data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
  109. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +2 -2
  110. data/vendor/local/lib/pkgconfig/pixman-1.pc +1 -1
  111. data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
  112. data/vendor/local/lib/xml2Conf.sh +3 -3
  113. data/vendor/local/share/fontconfig/conf.avail/10-autohint.conf +5 -0
  114. data/vendor/local/share/fontconfig/conf.avail/10-hinting-full.conf +6 -0
  115. data/vendor/local/share/fontconfig/conf.avail/10-hinting-medium.conf +6 -0
  116. data/vendor/local/share/fontconfig/conf.avail/10-hinting-none.conf +6 -0
  117. data/vendor/local/share/fontconfig/conf.avail/10-hinting-slight.conf +6 -0
  118. data/vendor/local/share/fontconfig/conf.avail/10-no-sub-pixel.conf +5 -0
  119. data/vendor/local/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf +4 -0
  120. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf +5 -0
  121. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf +5 -0
  122. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf +5 -0
  123. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf +5 -0
  124. data/vendor/local/share/fontconfig/conf.avail/10-unhinted.conf +5 -0
  125. data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-default.conf +5 -0
  126. data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf +5 -0
  127. data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-light.conf +5 -0
  128. data/vendor/local/share/fontconfig/conf.avail/20-unhint-small-vera.conf +5 -0
  129. data/vendor/local/share/fontconfig/conf.avail/25-unhint-nonlatin.conf +4 -0
  130. data/vendor/local/share/fontconfig/conf.avail/30-metric-aliases.conf +8 -26
  131. data/vendor/local/share/fontconfig/conf.avail/40-nonlatin.conf +5 -0
  132. data/vendor/local/share/fontconfig/conf.avail/45-generic.conf +136 -0
  133. data/vendor/local/share/fontconfig/conf.avail/45-latin.conf +5 -0
  134. data/vendor/local/share/fontconfig/conf.avail/49-sansserif.conf +5 -0
  135. data/vendor/local/share/fontconfig/conf.avail/50-user.conf +5 -0
  136. data/vendor/local/share/fontconfig/conf.avail/51-local.conf +5 -0
  137. data/vendor/local/share/fontconfig/conf.avail/60-generic.conf +67 -0
  138. data/vendor/local/share/fontconfig/conf.avail/60-latin.conf +5 -0
  139. data/vendor/local/share/fontconfig/conf.avail/65-fonts-persian.conf +4 -0
  140. data/vendor/local/share/fontconfig/conf.avail/65-khmer.conf +4 -0
  141. data/vendor/local/share/fontconfig/conf.avail/65-nonlatin.conf +7 -3
  142. data/vendor/local/share/fontconfig/conf.avail/69-unifont.conf +4 -0
  143. data/vendor/local/share/fontconfig/conf.avail/70-no-bitmaps.conf +5 -0
  144. data/vendor/local/share/fontconfig/conf.avail/70-yes-bitmaps.conf +5 -0
  145. data/vendor/local/share/fontconfig/conf.avail/80-delicious.conf +4 -0
  146. data/vendor/local/share/fontconfig/conf.avail/90-synthetic.conf +7 -3
  147. data/vendor/local/share/gettext/its/fontconfig.its +4 -0
  148. data/vendor/local/share/gettext/its/fontconfig.loc +6 -0
  149. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +2 -1
  150. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +1 -1
  151. data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +9 -32
  152. data/vendor/local/share/gtk-doc/html/cairo/cairo-Tags-and-Links.html +3 -3
  153. data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +2 -2
  154. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +1 -1
  155. data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +56 -56
  156. data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +63 -63
  157. data/vendor/local/share/gtk-doc/html/cairo/index-1.14.html +5 -5
  158. data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +54 -52
  159. data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +29 -29
  160. data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +22 -22
  161. data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +33 -33
  162. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +508 -508
  163. data/vendor/local/share/gtk-doc/html/cairo/index.html +1 -1
  164. data/vendor/local/share/license/fontconfig/README +260 -2
  165. metadata +31 -26
  166. data/vendor/local/etc/fonts/conf.d/30-urw-aliases.conf +0 -33
  167. data/vendor/local/share/fontconfig/conf.avail/30-urw-aliases.conf +0 -33
@@ -1,6 +1,11 @@
1
1
  <?xml version="1.0"?>
2
2
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
3
  <fontconfig>
4
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6
+ </its:rules>
7
+
8
+ <description>Set substitutions for Latin fonts</description>
4
9
  <!--
5
10
  Mark common families with their generics so we'll get
6
11
  something reasonable
@@ -1,6 +1,11 @@
1
1
  <?xml version="1.0"?>
2
2
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
3
  <fontconfig>
4
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6
+ </its:rules>
7
+
8
+ <description>Add sans-serif to the family when no generic name</description>
4
9
  <!--
5
10
  If the font still has no generic name, add sans-serif
6
11
  -->
@@ -1,6 +1,11 @@
1
1
  <?xml version="1.0"?>
2
2
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
3
  <fontconfig>
4
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6
+ </its:rules>
7
+
8
+ <description>Load per-user customization files</description>
4
9
  <!--
5
10
  Load per-user customization files where stored on XDG Base Directory
6
11
  specification compliant places. it should be usually:
@@ -1,6 +1,11 @@
1
1
  <?xml version="1.0"?>
2
2
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
3
  <fontconfig>
4
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6
+ </its:rules>
7
+
8
+ <description>Load local customization file</description>
4
9
  <!-- Load local system customization file -->
5
10
  <include ignore_missing="yes">local.conf</include>
6
11
  </fontconfig>
@@ -0,0 +1,67 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
+ <fontconfig>
4
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6
+ </its:rules>
7
+
8
+ <description>Set preferable fonts for emoji/math fonts</description>
9
+ <!-- Keep in sync with 45-generic.conf -->
10
+
11
+ <!-- Emoji -->
12
+
13
+ <!-- Prefer to match color emoji font. -->
14
+ <match>
15
+ <test name="lang">
16
+ <string>und-zsye</string>
17
+ </test>
18
+ <test qual="all" name="color" compare="not_eq">
19
+ <bool>true</bool>
20
+ </test>
21
+ <test qual="all" name="color" compare="not_eq">
22
+ <bool>false</bool>
23
+ </test>
24
+ <edit name="color" mode="append">
25
+ <bool>true</bool>
26
+ </edit>
27
+ </match>
28
+
29
+ <!-- TODO
30
+ ! Match on "color" and alias B&W ones first if no color is requested.
31
+ ! That's "hard" because <alias> doesn't work in match and needs to be
32
+ ! expanded to its non-sugar form.
33
+ !-->
34
+ <alias binding="same">
35
+ <family>emoji</family>
36
+ <prefer>
37
+ <!-- System fonts -->
38
+ <family>Noto Color Emoji</family> <!-- Google -->
39
+ <family>Apple Color Emoji</family> <!-- Apple -->
40
+ <family>Segoe UI Emoji</family> <!-- Microsoft -->
41
+ <family>Twitter Color Emoji</family> <!-- Twitter -->
42
+ <family>EmojiOne Mozilla</family> <!-- Mozilla -->
43
+ <!-- Third-Party fonts -->
44
+ <family>Emoji Two</family>
45
+ <family>Emoji One</family>
46
+ <!-- Non-color -->
47
+ <family>Noto Emoji</family> <!-- Google -->
48
+ <family>Android Emoji</family> <!-- Google -->
49
+ </prefer>
50
+ </alias>
51
+
52
+ <!-- Math -->
53
+ <alias binding="same">
54
+ <!-- https://en.wikipedia.org/wiki/Category:Mathematical_OpenType_typefaces -->
55
+ <family>math</family>
56
+ <prefer>
57
+ <family>XITS Math</family> <!-- Khaled Hosny -->
58
+ <family>STIX Two Math</family> <!-- AMS -->
59
+ <family>Cambria Math</family> <!-- Microsoft -->
60
+ <family>Latin Modern Math</family> <!-- TeX -->
61
+ <family>Minion Math</family> <!-- Adobe -->
62
+ <family>Lucida Math</family> <!-- Adobe -->
63
+ <family>Asana Math</family>
64
+ </prefer>
65
+ </alias>
66
+
67
+ </fontconfig>
@@ -1,6 +1,11 @@
1
1
  <?xml version="1.0"?>
2
2
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
3
  <fontconfig>
4
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6
+ </its:rules>
7
+
8
+ <description>Set preferable fonts for Latin</description>
4
9
  <alias>
5
10
  <family>serif</family>
6
11
  <prefer>
@@ -31,6 +31,10 @@
31
31
  2008 Behdad Esfahbod: Cleanup. Add fantasy and cursive.
32
32
  -->
33
33
  <fontconfig>
34
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
35
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
36
+ </its:rules>
37
+
34
38
 
35
39
 
36
40
  <!-- Deprecated fonts are discouraged -->
@@ -1,6 +1,11 @@
1
1
  <?xml version="1.0"?>
2
2
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
3
  <fontconfig>
4
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6
+ </its:rules>
7
+
8
+ <description>Set preferable fonts for non-Latin</description>
4
9
  <alias>
5
10
  <family>serif</family>
6
11
  <prefer>
@@ -96,9 +101,8 @@
96
101
  <family>Hapax Berbère</family> <!-- tifinagh -->
97
102
  <family>MS Gothic</family> <!-- han (ja) -->
98
103
  <family>UmePlus P Gothic</family> <!-- han (ja) -->
99
- <!-- chinese fonts are actually serifed -->
100
- <family>SimSun</family> <!-- han (zh-cn,zh-tw) -->
101
- <family>PMingLiu</family> <!-- han (zh-tw) -->
104
+ <family>Microsoft YaHei</family> <!-- han (zh-cn,zh-tw) -->
105
+ <family>Microsoft JhengHei</family> <!-- han (zh-tw) -->
102
106
  <family>WenQuanYi Zen Hei</family> <!-- han (zh-cn,zh-tw) -->
103
107
  <family>WenQuanYi Bitmap Song</family> <!-- han (zh-cn,zh-tw) -->
104
108
  <family>AR PL ShanHeiSun Uni</family> <!--han (ja,zh-cn,zh-tw) -->
@@ -1,6 +1,10 @@
1
1
  <?xml version="1.0"?>
2
2
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
3
  <fontconfig>
4
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6
+ </its:rules>
7
+
4
8
  <alias>
5
9
  <family>serif</family>
6
10
  <prefer>
@@ -1,6 +1,10 @@
1
1
  <?xml version="1.0"?>
2
2
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
3
  <fontconfig>
4
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6
+ </its:rules>
7
+
4
8
  <!-- Fix-ups for Delicious family -->
5
9
 
6
10
  <!-- Delicious 'heavy' variant says its Medium weight -->
@@ -1,6 +1,10 @@
1
1
  <?xml version="1.0"?>
2
2
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
3
  <fontconfig>
4
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6
+ </its:rules>
7
+
4
8
  <!--
5
9
  Artificial oblique for fonts without an italic or oblique version
6
10
  -->
@@ -40,11 +44,11 @@
40
44
  <match target="font">
41
45
  <!-- check to see if the font is just regular -->
42
46
  <test name="weight" compare="less_eq">
43
- <const>medium</const>
47
+ <const>regular</const>
44
48
  </test>
45
49
  <!-- check to see if the pattern requests bold -->
46
- <test target="pattern" name="weight" compare="more">
47
- <const>medium</const>
50
+ <test target="pattern" name="weight" compare="more_eq">
51
+ <const>bold</const>
48
52
  </test>
49
53
  <!--
50
54
  set the embolden flag
@@ -2,6 +2,11 @@
2
2
  <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
3
  <!-- /etc/fonts/fonts.conf file to configure system font access -->
4
4
  <fontconfig>
5
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
6
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
7
+ </its:rules>
8
+
9
+ <description>Default configuration file</description>
5
10
 
6
11
  <!--
7
12
  DO NOT EDIT THIS FILE.
@@ -33,7 +33,6 @@
33
33
  /*#undef CAIRO_HAS_QUARTZ_FONT */
34
34
  /*#undef CAIRO_HAS_QUARTZ_IMAGE_SURFACE */
35
35
  /*#undef CAIRO_HAS_QUARTZ_SURFACE */
36
- /*#undef CAIRO_HAS_SKIA_SURFACE */
37
36
  /*#undef CAIRO_HAS_TEE_SURFACE */
38
37
  /*#undef CAIRO_HAS_VG_SURFACE */
39
38
  /*#undef CAIRO_HAS_WGL_FUNCTIONS */
@@ -54,7 +54,7 @@ typedef enum _cairo_svg_version {
54
54
  } cairo_svg_version_t;
55
55
 
56
56
  /**
57
- * cairo_svg_version_t:
57
+ * cairo_svg_unit_t:
58
58
  *
59
59
  * @CAIRO_SVG_UNIT_USER: User unit, a value in the current coordinate system.
60
60
  * If used in the root element for the initial coordinate systems it
@@ -3,6 +3,6 @@
3
3
 
4
4
  #define CAIRO_VERSION_MAJOR 1
5
5
  #define CAIRO_VERSION_MINOR 15
6
- #define CAIRO_VERSION_MICRO 10
6
+ #define CAIRO_VERSION_MICRO 12
7
7
 
8
8
  #endif
@@ -398,7 +398,7 @@ typedef enum _cairo_content {
398
398
  * @CAIRO_FORMAT_A1: each pixel is a 1-bit quantity holding
399
399
  * an alpha value. Pixels are packed together into 32-bit
400
400
  * quantities. The ordering of the bits matches the
401
- * endianess of the platform. On a big-endian machine, the
401
+ * endianness of the platform. On a big-endian machine, the
402
402
  * first pixel is in the uppermost bit, on a little-endian
403
403
  * machine the first pixel is in the least-significant bit. (Since 1.0)
404
404
  * @CAIRO_FORMAT_RGB16_565: each pixel is a 16-bit quantity
@@ -1430,6 +1430,13 @@ cairo_font_options_set_hint_metrics (cairo_font_options_t *options,
1430
1430
  cairo_public cairo_hint_metrics_t
1431
1431
  cairo_font_options_get_hint_metrics (const cairo_font_options_t *options);
1432
1432
 
1433
+ cairo_public const char *
1434
+ cairo_font_options_get_variations (cairo_font_options_t *options);
1435
+
1436
+ cairo_public void
1437
+ cairo_font_options_set_variations (cairo_font_options_t *options,
1438
+ const char *variations);
1439
+
1433
1440
  /* This interface is for dealing with text as text, not caring about the
1434
1441
  font object inside the the cairo_t. */
1435
1442
 
@@ -51,7 +51,7 @@ FcPatternAddFTFace (FcPattern *p, const char *object, const FT_Face f);
51
51
  FcPublic FcPattern *
52
52
  FcFreeTypeQueryFace (const FT_Face face,
53
53
  const FcChar8 *file,
54
- int id,
54
+ unsigned int id,
55
55
  FcBlanks *blanks);
56
56
 
57
57
  _FCFUNCPROTOEND
@@ -123,5 +123,12 @@ _FcObjectSetVapBuild_bail0: \
123
123
  ; \
124
124
  }
125
125
 
126
- #endif /* _FCPRIVATE_H_ */
126
+ #ifndef FC_ATTRIBUTE_VISIBILITY_HIDDEN
127
+ #define FC_ATTRIBUTE_VISIBILITY_HIDDEN __attribute((visibility("hidden")))
128
+ #endif
129
+
130
+ #ifndef FC_ATTRIBUTE_VISIBILITY_EXPORT
131
+ #define FC_ATTRIBUTE_VISIBILITY_EXPORT __attribute((visibility("default")))
132
+ #endif
127
133
 
134
+ #endif /* _FCPRIVATE_H_ */
@@ -28,6 +28,7 @@
28
28
  #include <sys/types.h>
29
29
  #include <sys/stat.h>
30
30
  #include <stdarg.h>
31
+ #include <limits.h>
31
32
 
32
33
  #if defined(__GNUC__) && (__GNUC__ >= 4)
33
34
  #define FC_ATTRIBUTE_SENTINEL(x) __attribute__((__sentinel__(0)))
@@ -51,8 +52,8 @@ typedef int FcBool;
51
52
  */
52
53
 
53
54
  #define FC_MAJOR 2
54
- #define FC_MINOR 12
55
- #define FC_REVISION 4
55
+ #define FC_MINOR 13
56
+ #define FC_REVISION 0
56
57
 
57
58
  #define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
58
59
 
@@ -71,8 +72,9 @@ typedef int FcBool;
71
72
  #define _FC_STRINGIFY(s) _FC_STRINGIFY_(s)
72
73
  #define FC_CACHE_VERSION _FC_STRINGIFY(FC_CACHE_VERSION_NUMBER)
73
74
 
74
- #define FcTrue 1
75
75
  #define FcFalse 0
76
+ #define FcTrue 1
77
+ #define FcDontCare 2
76
78
 
77
79
  #define FC_FAMILY "family" /* String */
78
80
  #define FC_STYLE "style" /* String */
@@ -98,6 +100,7 @@ typedef int FcBool;
98
100
  #define FC_OUTLINE "outline" /* Bool */
99
101
  #define FC_SCALABLE "scalable" /* Bool */
100
102
  #define FC_COLOR "color" /* Bool */
103
+ #define FC_VARIABLE "variable" /* Bool */
101
104
  #define FC_SCALE "scale" /* double (deprecated) */
102
105
  #define FC_SYMBOL "symbol" /* Bool */
103
106
  #define FC_DPI "dpi" /* double */
@@ -118,6 +121,7 @@ typedef int FcBool;
118
121
  #define FC_DECORATIVE "decorative" /* Bool - true if style is a decorative variant */
119
122
  #define FC_LCD_FILTER "lcdfilter" /* Int */
120
123
  #define FC_FONT_FEATURES "fontfeatures" /* String */
124
+ #define FC_FONT_VARIATIONS "fontvariations" /* String */
121
125
  #define FC_NAMELANG "namelang" /* String RFC 3866 langs */
122
126
  #define FC_PRGNAME "prgname" /* String */
123
127
  #define FC_HASH "hash" /* String (deprecated) */
@@ -236,6 +240,12 @@ typedef enum _FcResult {
236
240
  FcResultOutOfMemory
237
241
  } FcResult;
238
242
 
243
+ typedef enum _FcValueBinding {
244
+ FcValueBindingWeak, FcValueBindingStrong, FcValueBindingSame,
245
+ /* to make sure sizeof (FcValueBinding) == 4 even with -fshort-enums */
246
+ FcValueBindingEnd = INT_MAX
247
+ } FcValueBinding;
248
+
239
249
  typedef struct _FcPattern FcPattern;
240
250
 
241
251
  typedef struct _FcLangSet FcLangSet;
@@ -270,7 +280,9 @@ typedef struct _FcObjectSet {
270
280
  } FcObjectSet;
271
281
 
272
282
  typedef enum _FcMatchKind {
273
- FcMatchPattern, FcMatchFont, FcMatchScan
283
+ FcMatchPattern, FcMatchFont, FcMatchScan,
284
+ FcMatchKindEnd,
285
+ FcMatchKindBegin = FcMatchPattern
274
286
  } FcMatchKind;
275
287
 
276
288
  typedef enum _FcLangResult {
@@ -285,6 +297,12 @@ typedef enum _FcSetName {
285
297
  FcSetApplication = 1
286
298
  } FcSetName;
287
299
 
300
+ typedef struct _FcConfigFileInfoIter {
301
+ void *dummy1;
302
+ void *dummy2;
303
+ void *dummy3;
304
+ } FcConfigFileInfoIter;
305
+
288
306
  typedef struct _FcAtomic FcAtomic;
289
307
 
290
308
  #if defined(__cplusplus) || defined(c_plusplus) /* for C++ V2.0 */
@@ -353,6 +371,11 @@ FcDirCacheClean (const FcChar8 *cache_dir, FcBool verbose);
353
371
  FcPublic void
354
372
  FcCacheCreateTagFile (const FcConfig *config);
355
373
 
374
+ FcPublic FcBool
375
+ FcDirCacheCreateUUID (FcChar8 *dir,
376
+ FcBool force,
377
+ FcConfig *config);
378
+
356
379
  /* fccfg.c */
357
380
  FcPublic FcChar8 *
358
381
  FcConfigHome (void);
@@ -441,6 +464,21 @@ FcPublic void
441
464
  FcConfigSetSysRoot (FcConfig *config,
442
465
  const FcChar8 *sysroot);
443
466
 
467
+ FcPublic void
468
+ FcConfigFileInfoIterInit (FcConfig *config,
469
+ FcConfigFileInfoIter *iter);
470
+
471
+ FcPublic FcBool
472
+ FcConfigFileInfoIterNext (FcConfig *config,
473
+ FcConfigFileInfoIter *iter);
474
+
475
+ FcPublic FcBool
476
+ FcConfigFileInfoIterGet (FcConfig *config,
477
+ FcConfigFileInfoIter *iter,
478
+ FcChar8 **name,
479
+ FcChar8 **description,
480
+ FcBool *enabled);
481
+
444
482
  /* fccharset.c */
445
483
  FcPublic FcCharSet*
446
484
  FcCharSetCreate (void);
@@ -568,7 +606,10 @@ FcDirCacheUnload (FcCache *cache);
568
606
 
569
607
  /* fcfreetype.c */
570
608
  FcPublic FcPattern *
571
- FcFreeTypeQuery (const FcChar8 *file, int id, FcBlanks *blanks, int *count);
609
+ FcFreeTypeQuery (const FcChar8 *file, unsigned int id, FcBlanks *blanks, int *count);
610
+
611
+ FcPublic unsigned int
612
+ FcFreeTypeQueryAll(const FcChar8 *file, unsigned int id, FcBlanks *blanks, int *count, FcFontSet *set);
572
613
 
573
614
  /* fcfs.c */
574
615
 
@@ -837,7 +878,10 @@ FcPatternAddWeak (FcPattern *p, const char *object, FcValue value, FcBool append
837
878
 
838
879
  FcPublic FcResult
839
880
  FcPatternGet (const FcPattern *p, const char *object, int id, FcValue *v);
840
-
881
+
882
+ FcPublic FcResult
883
+ FcPatternGetWithBinding (const FcPattern *p, const char *object, int id, FcValue *v, FcValueBinding *b);
884
+
841
885
  FcPublic FcBool
842
886
  FcPatternDel (FcPattern *p, const char *object);
843
887
 
@@ -922,9 +966,15 @@ FcRangeGetDouble(const FcRange *range, double *begin, double *end);
922
966
  FcPublic int
923
967
  FcWeightFromOpenType (int ot_weight);
924
968
 
969
+ FcPublic double
970
+ FcWeightFromOpenTypeDouble (double ot_weight);
971
+
925
972
  FcPublic int
926
973
  FcWeightToOpenType (int fc_weight);
927
974
 
975
+ FcPublic double
976
+ FcWeightToOpenTypeDouble (double fc_weight);
977
+
928
978
  /* fcstr.c */
929
979
 
930
980
  FcPublic FcChar8 *
@@ -1032,6 +1082,11 @@ FcStrListDone (FcStrList *list);
1032
1082
  FcPublic FcBool
1033
1083
  FcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, FcBool complain);
1034
1084
 
1085
+ FcPublic FcBool
1086
+ FcConfigParseAndLoadFromMemory (FcConfig *config,
1087
+ const FcChar8 *buffer,
1088
+ FcBool complain);
1089
+
1035
1090
  _FCFUNCPROTOEND
1036
1091
 
1037
1092
  #undef FC_ATTRIBUTE_SENTINEL