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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: db8b125e6ac8b39b5ab834f9939b10d19fdbf6d7
4
- data.tar.gz: e2c0901abaf6a57dbec377d862d91f36cf054631
2
+ SHA256:
3
+ metadata.gz: 576a2b90551ac295a957ca6ac41a15ba6d221f169fce91e371b6b070a3391da3
4
+ data.tar.gz: 02e0c8ff46322f9155ea8dd91ecc7d83358e07ec38ef44cff8de6ef6905c9833
5
5
  SHA512:
6
- metadata.gz: 55925628e1dd13fe9476744664d8fcbd5ad6207957ffd900a57273d5f188c955b9f0a55fc9ff766908763a552e29e3a80208315d1ed5e5bd282d361da4ef7d44
7
- data.tar.gz: 10b94eda01a66ba3c5ee3aa75a1a3e3aa0f500398cc5b622075198835956887b43c0ae96826590d76a8671c5bc8d4f5dce1b0ce07741342f649eed8d7ee08c7a
6
+ metadata.gz: 00e9bc905e4168f1c1ae5a5deae28e94fc819fb7ea9d664c0f72fa895062fefd0335e5d010ed65c056840962c8c2b7f0b2d4ea1f8b8024e25af43c88f09cbd05
7
+ data.tar.gz: 17425c93106d5faba1beabefc24aa76ccac4cb6e8f920b6e062cdcbade5c86ff7dade7e3b079bda5051b2fb9b1bbd7990008a1db2b35a8830dc441255fd82483
data/NEWS CHANGED
@@ -1,3 +1,15 @@
1
+ Release 1.15.13 (2018-05-01) Kouhei Sutou <kou@cozmixng.org>
2
+ ============================================================
3
+
4
+ Improvements
5
+ ------------
6
+
7
+ * Added cairo 1.15.12 support.
8
+
9
+ * Added Cairo::FontOptions#variations
10
+
11
+ * Added Cairo::FontOptions#variations=
12
+
1
13
  Release 1.15.12 (2018-03-14) Kouhei Sutou <kou@cozmixng.org>
2
14
  ============================================================
3
15
 
data/Rakefile CHANGED
@@ -404,11 +404,7 @@ class WindowsTask
404
404
  end
405
405
 
406
406
  def ruby_gnome2_dir
407
- if RCairoBuild.for_64bit?
408
- @base_dir.parent + "ruby-gnome2.win64"
409
- else
410
- @base_dir.parent + "ruby-gnome2.win32"
411
- end
407
+ @base_dir.parent + "ruby-gnome2"
412
408
  end
413
409
 
414
410
  def ruby_glib2_pkg_config_path
@@ -489,7 +485,7 @@ windows_task = WindowsTask.new(spec) do |task|
489
485
  },
490
486
  {
491
487
  :name => "fontconfig",
492
- :version => "2.12.4",
488
+ :version => "2.13.0",
493
489
  :download_base_url => "https://www.freedesktop.org/software/fontconfig/release",
494
490
  :compression_method => "bz2",
495
491
  :windows => {
@@ -511,7 +507,7 @@ windows_task = WindowsTask.new(spec) do |task|
511
507
  },
512
508
  {
513
509
  :name => "cairo",
514
- :version => "1.15.10",
510
+ :version => "1.15.12",
515
511
  :download_site => :cairo_snapshots,
516
512
  :windows => {
517
513
  :built_file => "bin/libcairo-2.dll",
@@ -5,7 +5,7 @@
5
5
  * $Author: kou $
6
6
  * $Date: 2008-09-19 12:56:27 $
7
7
  *
8
- * Copyright 2006-2017 Kouhei Sutou <kou@cozmixng.org>
8
+ * Copyright 2006-2018 Kouhei Sutou <kou@cozmixng.org>
9
9
  * Copyright 2005 Øyvind Kolås <pippin@freedesktop.org>
10
10
  * Copyright 2004-2005 MenTaLguY <mental@rydia.com>
11
11
  *
@@ -73,7 +73,7 @@ RB_CAIRO_BEGIN_DECLS
73
73
 
74
74
  #define RB_CAIRO_VERSION_MAJOR 1
75
75
  #define RB_CAIRO_VERSION_MINOR 15
76
- #define RB_CAIRO_VERSION_MICRO 12
76
+ #define RB_CAIRO_VERSION_MICRO 13
77
77
 
78
78
  RB_CAIRO_VAR VALUE rb_mCairo;
79
79
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
@@ -5,7 +5,7 @@
5
5
  * $Author: kou $
6
6
  * $Date: 2008-09-19 12:56:27 $
7
7
  *
8
- * Copyright 2005-2008 Kouhei Sutou <kou@cozmixng.org>
8
+ * Copyright 2005-2018 Kouhei Sutou <kou@cozmixng.org>
9
9
  *
10
10
  * This file is made available under the same terms as Ruby
11
11
  *
@@ -163,6 +163,27 @@ cr_options_get_hint_metrics (VALUE self)
163
163
  return INT2NUM (cairo_font_options_get_hint_metrics (_SELF (self)));
164
164
  }
165
165
 
166
+ #if CAIRO_CHECK_VERSION(1, 15, 12)
167
+ static VALUE
168
+ cr_options_set_variations (VALUE self, VALUE variations)
169
+ {
170
+ cairo_font_options_set_variations (_SELF (self),
171
+ RVAL2CSTR (variations));
172
+ return self;
173
+ }
174
+
175
+ static VALUE
176
+ cr_options_get_variations (VALUE self)
177
+ {
178
+ const char *variations;
179
+
180
+ variations = cairo_font_options_get_variations (_SELF (self));
181
+ if (!variations)
182
+ return Qnil;
183
+
184
+ return CSTR2RVAL (variations);
185
+ }
186
+ #endif
166
187
 
167
188
  void
168
189
  Init_cairo_font_options (void)
@@ -196,6 +217,12 @@ Init_cairo_font_options (void)
196
217
  cr_options_set_hint_metrics, 1);
197
218
  rb_define_method (rb_cCairo_FontOptions, "hint_metrics",
198
219
  cr_options_get_hint_metrics, 0);
220
+ #if CAIRO_CHECK_VERSION(1, 15, 12)
221
+ rb_define_method (rb_cCairo_FontOptions, "set_variations",
222
+ cr_options_set_variations, 1);
223
+ rb_define_method (rb_cCairo_FontOptions, "variations",
224
+ cr_options_get_variations, 0);
225
+ #endif
199
226
 
200
227
  RB_CAIRO_DEF_SETTERS (rb_cCairo_FontOptions);
201
228
  }
Binary file
Binary file
Binary file
Binary file
@@ -55,4 +55,11 @@ class FontOptionsTest < Test::Unit::TestCase
55
55
  assert_equal(:value, hash[@options.dup])
56
56
  end
57
57
  end
58
+
59
+ test "variations" do
60
+ only_cairo_version(1, 15, 12)
61
+ assert_nil(@options.variations)
62
+ @options.variations = "wdth=200"
63
+ assert_equal("wdth=200", @options.variations)
64
+ end
58
65
  end
Binary file
Binary file
Binary file
@@ -35,17 +35,17 @@ if test $? -eq 0 ; then
35
35
  dynamic_libs=`/usr/bin/pkg-config --libs freetype2`
36
36
  static_libs=`/usr/bin/pkg-config --static --libs freetype2`
37
37
  else
38
- prefix="/home/vagrant/rcairo.win32/vendor/local"
39
- exec_prefix="/home/vagrant/rcairo.win32/vendor/local"
38
+ prefix="/home/vagrant/rcairo/vendor/local"
39
+ exec_prefix="/home/vagrant/rcairo/vendor/local"
40
40
 
41
- includedir="/home/vagrant/rcairo.win32/vendor/local/include"
42
- libdir="/home/vagrant/rcairo.win32/vendor/local/lib"
41
+ includedir="/home/vagrant/rcairo/vendor/local/include"
42
+ libdir="/home/vagrant/rcairo/vendor/local/lib"
43
43
 
44
44
  version=21.0.15
45
45
 
46
46
  cflags="-I${SYSROOT}$includedir/freetype2"
47
47
  dynamic_libs="-lfreetype"
48
- static_libs="-lfreetype -L/home/vagrant/rcairo.win32/vendor/local/lib -lz -L/home/vagrant/rcairo.win32/vendor/local/lib -lpng16 -lz"
48
+ static_libs="-lfreetype -L/home/vagrant/rcairo/vendor/local/lib -lz -L/home/vagrant/rcairo/vendor/local/lib -lpng16 -lz"
49
49
  if test "${SYSROOT}$libdir" != "/usr/lib" &&
50
50
  test "${SYSROOT}$libdir" != "/usr/lib64" ; then
51
51
  libs_L="-L${SYSROOT}$libdir"
@@ -12,7 +12,7 @@
12
12
  # Modeled after libxml-config.
13
13
 
14
14
  version="1.6.34"
15
- prefix="/home/vagrant/rcairo.win32/vendor/local"
15
+ prefix="/home/vagrant/rcairo/vendor/local"
16
16
  exec_prefix="${prefix}"
17
17
  libdir="${exec_prefix}/lib"
18
18
  includedir="${prefix}/include/libpng16"
@@ -12,7 +12,7 @@
12
12
  # Modeled after libxml-config.
13
13
 
14
14
  version="1.6.34"
15
- prefix="/home/vagrant/rcairo.win32/vendor/local"
15
+ prefix="/home/vagrant/rcairo/vendor/local"
16
16
  exec_prefix="${prefix}"
17
17
  libdir="${exec_prefix}/lib"
18
18
  includedir="${prefix}/include/libpng16"
Binary file
@@ -1,6 +1,6 @@
1
1
  #! /bin/sh
2
2
 
3
- prefix=/home/vagrant/rcairo.win32/vendor/local
3
+ prefix=/home/vagrant/rcairo/vendor/local
4
4
  exec_prefix=${prefix}
5
5
  includedir=${prefix}/include
6
6
  libdir=${exec_prefix}/lib
@@ -86,12 +86,12 @@ while test $# -gt 0; do
86
86
  then
87
87
  if [ "-L${libdir}" = "-L/usr/lib" -o "-L${libdir}" = "-L/usr/lib64" ]
88
88
  then
89
- echo -lxml2 -L/home/vagrant/rcairo.win32/vendor/local/lib -lz
89
+ echo -lxml2 -L/home/vagrant/rcairo/vendor/local/lib -lz
90
90
  else
91
- echo -L${libdir} -lxml2 -L/home/vagrant/rcairo.win32/vendor/local/lib -lz
91
+ echo -L${libdir} -lxml2 -L/home/vagrant/rcairo/vendor/local/lib -lz
92
92
  fi
93
93
  else
94
- echo -L${libdir} -lxml2 -L/home/vagrant/rcairo.win32/vendor/local/lib -lz -lws2_32
94
+ echo -L${libdir} -lxml2 -L/home/vagrant/rcairo/vendor/local/lib -lz -lws2_32
95
95
  fi
96
96
  ;;
97
97
 
Binary file
@@ -1,6 +1,12 @@
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 hintslight to hintstyle</description>
9
+
4
10
  <match target="pattern">
5
11
  <!--
6
12
  This configuration is available on the major desktop environments.
@@ -1,7 +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>
4
7
 
8
+ <description>Bitmap scaling</description>
5
9
  <!--
6
10
  If font is bitmap, calculate scale factor.
7
11
  Note that color bitmap fonts have scalable=true, while
@@ -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>Disable hinting for Bitstream Vera fonts when the size is less than 8ppem</description>
4
9
  <!--
5
10
  The Bitstream Vera fonts have GASP entries suggesting that hinting be
6
11
  disabled below 8 ppem, but FreeType ignores those, preferring to use
@@ -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 similar/metric-compatible families</description>
4
9
 
5
10
  <!--
6
11
 
@@ -44,6 +49,9 @@ but in an order preferring similar designs first. We do this in three steps:
44
49
  3) Alias each generic to its specifics.
45
50
  e.g. Arial to Liberation Sans, Arimo, Albany, and Albany AMT
46
51
 
52
+ NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
53
+ upstream now includes them in their release of (URW)++ Core Font Set here:
54
+ https://github.com/ArtifexSoftware/urw-base35-fonts/tree/master/fontconfig
47
55
  -->
48
56
 
49
57
  <!-- Map specifics to generics -->
@@ -308,7 +316,6 @@ but in an order preferring similar designs first. We do this in three steps:
308
316
  </default>
309
317
  </alias>
310
318
 
311
-
312
319
  <!-- Microsoft -->
313
320
  <alias binding="same">
314
321
  <family>Arimo</family>
@@ -460,7 +467,6 @@ but in an order preferring similar designs first. We do this in three steps:
460
467
  </default>
461
468
  </alias>
462
469
 
463
-
464
470
  <!-- Microsoft -->
465
471
  <alias>
466
472
  <family>Arial</family>
@@ -490,8 +496,6 @@ but in an order preferring similar designs first. We do this in three steps:
490
496
  </default>
491
497
  </alias>
492
498
 
493
-
494
-
495
499
  <!-- Map generics to specifics -->
496
500
 
497
501
  <!-- PostScript -->
@@ -499,8 +503,6 @@ but in an order preferring similar designs first. We do this in three steps:
499
503
  <family>Helvetica</family>
500
504
  <accept>
501
505
  <family>TeX Gyre Heros</family>
502
- <family>Nimbus Sans</family>
503
- <family>Nimbus Sans L</family>
504
506
  </accept>
505
507
  </alias>
506
508
 
@@ -508,7 +510,6 @@ but in an order preferring similar designs first. We do this in three steps:
508
510
  <family>Helvetica Narrow</family>
509
511
  <accept>
510
512
  <family>TeX Gyre Heros Cn</family>
511
- <family>Nimbus Sans Narrow</family>
512
513
  </accept>
513
514
  </alias>
514
515
 
@@ -516,8 +517,6 @@ but in an order preferring similar designs first. We do this in three steps:
516
517
  <family>Times</family>
517
518
  <accept>
518
519
  <family>TeX Gyre Termes</family>
519
- <family>Nimbus Roman</family>
520
- <family>Nimbus Roman No9 L</family>
521
520
  </accept>
522
521
  </alias>
523
522
 
@@ -525,9 +524,6 @@ but in an order preferring similar designs first. We do this in three steps:
525
524
  <family>Courier</family>
526
525
  <accept>
527
526
  <family>TeX Gyre Cursor</family>
528
- <family>Nimbus Mono PS</family>
529
- <family>Nimbus Mono</family>
530
- <family>Nimbus Mono L</family>
531
527
  </accept>
532
528
  </alias>
533
529
 
@@ -535,8 +531,6 @@ but in an order preferring similar designs first. We do this in three steps:
535
531
  <family>ITC Avant Garde Gothic</family>
536
532
  <accept>
537
533
  <family>TeX Gyre Adventor</family>
538
- <family>URW Gothic</family>
539
- <family>URW Gothic L</family>
540
534
  </accept>
541
535
  </alias>
542
536
 
@@ -545,9 +539,6 @@ but in an order preferring similar designs first. We do this in three steps:
545
539
  <accept>
546
540
  <family>Bookman Old Style</family>
547
541
  <family>TeX Gyre Bonum</family>
548
- <family>URW Bookman</family>
549
- <family>Bookman URW</family>
550
- <family>URW Bookman L</family>
551
542
  </accept>
552
543
  </alias>
553
544
 
@@ -555,9 +546,6 @@ but in an order preferring similar designs first. We do this in three steps:
555
546
  <family>ITC Zapf Chancery</family>
556
547
  <accept>
557
548
  <family>TeX Gyre Chorus</family>
558
- <family>Z003</family>
559
- <family>Chancery URW</family>
560
- <family>URW Chancery L</family>
561
549
  </accept>
562
550
  </alias>
563
551
 
@@ -566,9 +554,6 @@ but in an order preferring similar designs first. We do this in three steps:
566
554
  <accept>
567
555
  <family>Palatino Linotype</family>
568
556
  <family>TeX Gyre Pagella</family>
569
- <family>P052</family>
570
- <family>Palladio URW</family>
571
- <family>URW Palladio L</family>
572
557
  </accept>
573
558
  </alias>
574
559
 
@@ -577,9 +562,6 @@ but in an order preferring similar designs first. We do this in three steps:
577
562
  <accept>
578
563
  <family>Century Schoolbook</family>
579
564
  <family>TeX Gyre Schola</family>
580
- <family>C059</family>
581
- <family>Century SchoolBook URW</family>
582
- <family>Century Schoolbook L</family>
583
565
  </accept>
584
566
  </alias>
585
567
 
@@ -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>