cairo 1.15.12-x64-mingw32 → 1.15.13-x64-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_seh-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 non-Latin fonts</description>
4
9
  <!--
5
10
  Mark common families with their generics so we'll get
6
11
  something reasonable
@@ -0,0 +1,136 @@
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 substitutions for emoji/math fonts</description>
9
+
10
+ <!-- Keep in sync with 60-generic.conf -->
11
+
12
+ <!-- Emoji -->
13
+
14
+ <!-- System emoji -->
15
+ <alias binding="same">
16
+ <family>Noto Color Emoji</family> <!-- Google -->
17
+ <default><family>emoji</family></default>
18
+ </alias>
19
+ <alias binding="same">
20
+ <family>Apple Color Emoji</family> <!-- Apple -->
21
+ <default><family>emoji</family></default>
22
+ </alias>
23
+ <alias binding="same">
24
+ <family>Segoe UI Emoji</family> <!-- Microsoft -->
25
+ <default><family>emoji</family></default>
26
+ </alias>
27
+ <alias binding="same">
28
+ <family>Twitter Color Emoji</family> <!-- Twitter -->
29
+ <default><family>emoji</family></default>
30
+ </alias>
31
+ <alias binding="same">
32
+ <family>EmojiOne Mozilla</family> <!-- Mozilla -->
33
+ <default><family>emoji</family></default>
34
+ </alias>
35
+ <!-- Third-party emoji -->
36
+ <alias binding="same">
37
+ <family>Emoji Two</family>
38
+ <default><family>emoji</family></default>
39
+ </alias>
40
+ <alias binding="same">
41
+ <family>Emoji One</family>
42
+ <default><family>emoji</family></default>
43
+ </alias>
44
+ <!-- B&W -->
45
+ <alias binding="same">
46
+ <family>Noto Emoji</family> <!-- Google -->
47
+ <default><family>emoji</family></default>
48
+ </alias>
49
+ <alias binding="same">
50
+ <family>Android Emoji</family> <!-- Google -->
51
+ <default><family>emoji</family></default>
52
+ </alias>
53
+
54
+ <!-- Add language for emoji, to match other emoji fonts. -->
55
+ <match>
56
+ <test name="family">
57
+ <string>emoji</string>
58
+ </test>
59
+ <edit name="lang" mode="prepend">
60
+ <string>und-zsye</string>
61
+ </edit>
62
+ </match>
63
+
64
+ <match>
65
+ <test name="lang">
66
+ <string>und-zsye</string>
67
+ </test>
68
+ <test qual="all" name="family" compare="not_eq">
69
+ <string>emoji</string>
70
+ </test>
71
+
72
+ <!-- Add generic family. -->
73
+ <edit name="family" mode="append" binding="strong">
74
+ <string>emoji</string>
75
+ </edit>
76
+ </match>
77
+
78
+
79
+ <!-- Math -->
80
+
81
+ <!-- https://en.wikipedia.org/wiki/Category:Mathematical_OpenType_typefaces -->
82
+ <alias binding="same">
83
+ <family>XITS Math</family> <!-- Khaled Hosny -->
84
+ <default><family>math</family></default>
85
+ </alias>
86
+ <alias binding="same">
87
+ <family>STIX Two Math</family> <!-- AMS -->
88
+ <default><family>math</family></default>
89
+ </alias>
90
+ <alias binding="same">
91
+ <family>Cambria Math</family> <!-- Microsoft -->
92
+ <default><family>math</family></default>
93
+ </alias>
94
+ <alias binding="same">
95
+ <family>Latin Modern Math</family> <!-- TeX -->
96
+ <default><family>math</family></default>
97
+ </alias>
98
+ <alias binding="same">
99
+ <family>Minion Math</family> <!-- Adobe -->
100
+ <default><family>math</family></default>
101
+ </alias>
102
+ <alias binding="same">
103
+ <family>Lucida Math</family> <!-- Adobe -->
104
+ <default><family>math</family></default>
105
+ </alias>
106
+ <alias binding="same">
107
+ <family>Asana Math</family>
108
+ <default><family>math</family></default>
109
+ </alias>
110
+
111
+ <!-- Add language for math, to match other math fonts. -->
112
+ <match>
113
+ <test name="family">
114
+ <string>math</string>
115
+ </test>
116
+ <edit name="lang" mode="prepend">
117
+ <string>und-zmth</string>
118
+ </edit>
119
+ </match>
120
+
121
+ <match>
122
+ <test name="lang">
123
+ <string>und-zmth</string>
124
+ </test>
125
+ <test qual="all" name="family" compare="not_eq">
126
+ <string>math</string>
127
+ </test>
128
+
129
+ <!-- Add generic family -->
130
+ <edit name="family" mode="append" binding="strong">
131
+ <string>math</string>
132
+ </edit>
133
+ </match>
134
+
135
+
136
+ </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 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