[chronojump] Added missing win32 deps



commit 8639f75e93ba610a1f9ffc51ce43da5d66b9f167
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon May 6 16:48:26 2019 +0200

    Added missing win32 deps

 win32/deps/fonts/conf.d/10-scale-bitmap-fonts.conf |  81 +++
 win32/deps/fonts/conf.d/20-unhint-small-vera.conf  |  48 ++
 win32/deps/fonts/conf.d/30-metric-aliases.conf     | 546 +++++++++++++++++++++
 win32/deps/fonts/conf.d/30-urw-aliases.conf        |  24 +
 win32/deps/fonts/conf.d/40-nonlatin.conf           | 231 +++++++++
 win32/deps/fonts/conf.d/45-latin.conf              | 189 +++++++
 win32/deps/fonts/conf.d/49-sansserif.conf          |  21 +
 win32/deps/fonts/conf.d/50-user.conf               |  15 +
 win32/deps/fonts/conf.d/51-local.conf              |   6 +
 win32/deps/fonts/conf.d/60-latin.conf              |  70 +++
 win32/deps/fonts/conf.d/65-fonts-persian.conf      | 419 ++++++++++++++++
 win32/deps/fonts/conf.d/65-nonlatin.conf           | 196 ++++++++
 win32/deps/fonts/conf.d/69-unifont.conf            |  28 ++
 win32/deps/fonts/conf.d/80-delicious.conf          |  19 +
 win32/deps/fonts/conf.d/90-synthetic.conf          |  64 +++
 win32/deps/fonts/conf.d/README                     |  23 +
 win32/deps/fonts/fonts.conf                        | 155 ++++++
 win32/deps/library/grDevices/Meta/demo.rds         | Bin 0 -> 131 bytes
 win32/deps/library/grDevices/demo/colors.R         | 108 ++++
 win32/deps/library/grDevices/demo/hclColors.R      |  63 +++
 win32/deps/library/grDevices/libs/x64/Rbitmap.dll  | Bin 0 -> 603648 bytes
 .../deps/library/grDevices/libs/x64/grDevices.dll  | Bin 0 -> 282624 bytes
 win32/deps/library/grDevices/libs/x64/winCairo.dll | Bin 0 -> 1030656 bytes
 win32/deps/library/graphics/libs/i386/graphics.dll | Bin 0 -> 253440 bytes
 win32/deps/library/graphics/libs/x64/graphics.dll  | Bin 0 -> 244736 bytes
 win32/deps/library/methods/libs/x64/methods.dll    | Bin 0 -> 36864 bytes
 win32/deps/library/splines/libs/x64/splines.dll    | Bin 0 -> 18944 bytes
 win32/deps/library/stats/libs/x64/stats.dll        | Bin 0 -> 604672 bytes
 win32/deps/library/stats/tests/glm.R               |   7 +
 win32/deps/library/stats/tests/glm.Rout.save       |  32 ++
 win32/deps/library/utils/libs/i386/utils.dll       | Bin 0 -> 109568 bytes
 win32/deps/library/utils/libs/x64/utils.dll        | Bin 0 -> 112640 bytes
 32 files changed, 2345 insertions(+)
---
diff --git a/win32/deps/fonts/conf.d/10-scale-bitmap-fonts.conf 
b/win32/deps/fonts/conf.d/10-scale-bitmap-fonts.conf
new file mode 100644
index 00000000..e3bcd46c
--- /dev/null
+++ b/win32/deps/fonts/conf.d/10-scale-bitmap-fonts.conf
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+<match target="font">
+  <test name="scalable" compare="eq">
+    <bool>false</bool>
+  </test>
+  <edit name="pixelsizefixupfactor" mode="assign">
+    <divide>
+      <name target="pattern">pixelsize</name>
+      <name target="font"   >pixelsize</name>
+    </divide>
+  </edit>
+</match>
+<match target="font">
+  <test name="scalable" compare="eq">
+    <bool>false</bool>
+  </test>
+  <edit name="scalingnotneeded" mode="assign">
+    <and>
+      <less>
+        <name>pixelsizefixupfactor</name>
+        <double>1.2</double>
+      </less>
+      <more>
+        <name>pixelsizefixupfactor</name>
+        <double>0.8</double>
+      </more>
+    </and>
+  </edit>
+</match>
+<!--
+  So far we determined the scale factor.  Now, check and if
+  scaling is NOT desirable, just reset the scale factor to 1.0.
+  -->
+<match target="font">
+  <test name="scalable" compare="eq">
+    <bool>false</bool>
+  </test>
+  <test name="pixelsize" target="pattern" compare="less">
+    <double>64</double>
+  </test>
+  <test name="hinting" compare="eq">
+    <bool>true</bool>
+  </test>
+  <test name="scalingnotneeded" compare="eq">
+    <bool>true</bool>
+  </test>
+  <edit name="pixelsizefixupfactor" mode="assign">
+    <double>1.0</double>
+  </edit>
+</match>
+<!--
+  If we *are* going to scale, go ahead and do it.
+  -->
+<match target="font">
+  <test name="scalable" compare="eq">
+    <bool>false</bool>
+  </test>
+  <test name="pixelsizefixupfactor" compare="not_eq">
+    <double>1.0</double>
+  </test>
+  <edit name="matrix" mode="assign">
+    <times>
+      <name>matrix</name>
+      <matrix>
+        <name>pixelsizefixupfactor</name> <double>0</double>
+        <double>0</double> <name>pixelsizefixupfactor</name>
+       </matrix>
+    </times>
+  </edit>
+  <edit name="size" mode="assign">
+    <divide>
+      <name>size</name>
+      <name>pixelsizefixupfactor</name>
+    </divide>
+  </edit>
+</match>
+
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/20-unhint-small-vera.conf 
b/win32/deps/fonts/conf.d/20-unhint-small-vera.conf
new file mode 100644
index 00000000..c9505ca8
--- /dev/null
+++ b/win32/deps/fonts/conf.d/20-unhint-small-vera.conf
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!-- 
+       The Bitstream Vera fonts have GASP entries suggesting that hinting be
+       disabled below 8 ppem, but FreeType ignores those, preferring to use
+       the data found in the instructed hints.  The initial Vera release
+       didn't include the right instructions in the 'prep' table. Fix this
+       by disabling hinting manually at smaller sizes (< 8ppem)
+ -->
+
+       <match target="font">
+               <test name="family" compare="eq" ignore-blanks="true">
+                       <string>Bitstream Vera Sans</string>
+               </test>
+               <test name="pixelsize" compare="less">
+                       <double>7.5</double>
+               </test>
+               <edit name="hinting">
+                       <bool>false</bool>
+               </edit>
+       </match>
+
+       <match target="font">
+               <test name="family" compare="eq" ignore-blanks="true">
+                       <string>Bitstream Vera Serif</string>
+               </test>
+               <test name="pixelsize" compare="less">
+                       <double>7.5</double>
+               </test>
+               <edit name="hinting">
+                       <bool>false</bool>
+               </edit>
+       </match>
+
+       <match target="font">
+               <test name="family" compare="eq" ignore-blanks="true">
+                       <string>Bitstream Vera Sans Mono</string>
+               </test>
+               <test name="pixelsize" compare="less">
+                       <double>7.5</double>
+               </test>
+               <edit name="hinting">
+                       <bool>false</bool>
+               </edit>
+       </match>
+
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/30-metric-aliases.conf b/win32/deps/fonts/conf.d/30-metric-aliases.conf
new file mode 100644
index 00000000..08c8ba32
--- /dev/null
+++ b/win32/deps/fonts/conf.d/30-metric-aliases.conf
@@ -0,0 +1,546 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+<!--
+
+Alias similar/metric-compatible families from various sources:
+
+PostScript fonts:       URW fonts:            GUST fonts:        Windows fonts:
+======================  ====================  =================  ==================
+Helvetica               Nimbus Sans L         TeX Gyre Heros
+Helvetica Condensed                           TeX Gyre Heros Cn
+Times                   Nimbus Roman No9 L    TeX Gyre Termes
+Courier                 Nimbus Mono L         TeX Gyre Cursor
+ITC Avant Garde Gothic  URW Gothic L          TeX Gyre Adventor
+ITC Bookman             URW Bookman L         TeX Gyre Bonum     Bookman Old Style
+ITC Zapf Chancery       URW Chancery L        TeX Gyre Chorus
+Palatino                URW Palladio L        TeX Gyre Pagella   Palatino Linotype
+New Century Schoolbook  Century Schoolbook L  TeX Gyre Schola    Century Schoolbook
+
+Microsoft fonts:  Liberation fonts:       Google CrOS core fonts:  StarOffice fonts:  AMT fonts:
+================  ======================  =======================  =================  ==============
+Arial             Liberation Sans         Arimo                    Albany             Albany AMT
+Arial Narrow      Liberation Sans Narrow
+Times New Roman   Liberation Serif        Tinos                    Thorndale          Thorndale AMT
+Courier New       Liberation Mono         Cousine                  Cumberland         Cumberland AMT
+Cambria                                   Caladea
+Calibri                                   Carlito
+Symbol                                    SymbolNeu
+
+Microsoft fonts:  Other fonts:
+================  ============
+Georgia           Gelasio
+
+We want for each of them to fallback to any of these available,
+but in an order preferring similar designs first.  We do this in three steps:
+
+1) Alias each specific to its generic family.
+   e.g. Liberation Sans to Arial
+
+2) Weak alias each generic to the other generic of its family.
+   e.g. Arial to Helvetica
+
+3) Alias each generic to its specifics.
+   e.g. Arial to Liberation Sans, Arimo, Albany, and Albany AMT
+
+-->
+
+<!-- Map specifics to generics -->
+
+       <!-- PostScript -->
+       <alias binding="same">
+         <family>Nimbus Sans L</family>
+         <default>
+         <family>Helvetica</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>TeX Gyre Heros</family>
+         <default>
+         <family>Helvetica</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>TeX Gyre Heros Cn</family>
+         <default>
+         <family>Helvetica Condensed</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Nimbus Roman No9 L</family>
+         <default>
+         <family>Times</family>
+         </default>
+       </alias>
+
+<!--
+     Due to Bug#73291, commented out those lines until the broken font are fixed.
+       <alias binding="same">
+         <family>TeX Gyre Termes</family>
+         <default>
+         <family>Times</family>
+         </default>
+       </alias>
+-->
+
+       <alias binding="same">
+         <family>Nimbus Mono L</family>
+         <default>
+         <family>Courier</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>TeX Gyre Cursor</family>
+         <default>
+         <family>Courier</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Avant Garde</family>
+         <default>
+         <family>ITC Avant Garde Gothic</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>URW Gothic L</family>
+         <default>
+         <family>ITC Avant Garde Gothic</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>TeX Gyre Adventor</family>
+         <default>
+         <family>ITC Avant Garde Gothic</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Bookman</family>
+         <default>
+         <family>ITC Bookman</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>URW Bookman L</family>
+         <default>
+         <family>ITC Bookman</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>TeX Gyre Bonum</family>
+         <default>
+         <family>ITC Bookman</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Bookman Old Style</family>
+         <default>
+         <family>ITC Bookman</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Zapf Chancery</family>
+         <default>
+         <family>ITC Zapf Chancery</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>URW Chancery L</family>
+         <default>
+         <family>ITC Zapf Chancery</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>TeX Gyre Chorus</family>
+         <default>
+         <family>ITC Zapf Chancery</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>URW Palladio L</family>
+         <default>
+         <family>Palatino</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>TeX Gyre Pagella</family>
+         <default>
+         <family>Palatino</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Palatino Linotype</family>
+         <default>
+         <family>Palatino</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Century Schoolbook L</family>
+         <default>
+         <family>New Century Schoolbook</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>TeX Gyre Schola</family>
+         <default>
+         <family>New Century Schoolbook</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Century Schoolbook</family>
+         <default>
+         <family>New Century Schoolbook</family>
+         </default>
+       </alias>
+
+
+       <!-- Microsoft -->
+       <alias binding="same">
+         <family>Arimo</family>
+         <default>
+           <family>Arial</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Liberation Sans</family>
+         <default>
+         <family>Arial</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Liberation Sans Narrow</family>
+         <default>
+           <family>Arial Narrow</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Albany</family>
+         <default>
+         <family>Arial</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Albany AMT</family>
+         <default>
+         <family>Arial</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Tinos</family>
+         <default>
+           <family>Times New Roman</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Liberation Serif</family>
+         <default>
+         <family>Times New Roman</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Thorndale</family>
+         <default>
+         <family>Times New Roman</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Thorndale AMT</family>
+         <default>
+         <family>Times New Roman</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Cousine</family>
+         <default>
+           <family>Courier New</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Liberation Mono</family>
+         <default>
+         <family>Courier New</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Cumberland</family>
+         <default>
+         <family>Courier New</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Cumberland AMT</family>
+         <default>
+         <family>Courier New</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Gelasio</family>
+         <default>
+         <family>Georgia</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Caladea</family>
+         <default>
+         <family>Cambria</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>Carlito</family>
+         <default>
+         <family>Calibri</family>
+         </default>
+       </alias>
+
+       <alias binding="same">
+         <family>SymbolNeu</family>
+         <default>
+         <family>Symbol</family>
+         </default>
+  </alias>
+
+<!-- Accept the other group as fallback -->
+
+       <!-- PostScript -->
+       <alias>
+         <family>Helvetica</family>
+         <default>
+         <family>Arial</family>
+         </default>
+       </alias>
+
+       <alias>
+         <family>Helvetica Condensed</family>
+         <default>
+         <family>Arial Narrow</family>
+         </default>
+       </alias>
+
+       <alias>
+         <family>Times</family>
+         <default>
+         <family>Times New Roman</family>
+         </default>
+       </alias>
+
+       <alias>
+         <family>Courier</family>
+         <default>
+         <family>Courier New</family>
+         </default>
+       </alias>
+
+
+       <!-- Microsoft -->
+       <alias>
+         <family>Arial</family>
+         <default>
+         <family>Helvetica</family>
+         </default>
+       </alias>
+
+       <alias>
+         <family>Arial Narrow</family>
+         <default>
+         <family>Helvetica Condensed</family>
+         </default>
+       </alias>
+
+       <alias>
+         <family>Times New Roman</family>
+         <default>
+         <family>Times</family>
+         </default>
+       </alias>
+
+       <alias>
+         <family>Courier New</family>
+         <default>
+         <family>Courier</family>
+         </default>
+       </alias>
+
+
+
+<!-- Map generics to specifics -->
+
+       <!-- PostScript -->
+       <alias binding="same">
+         <family>Helvetica</family>
+         <accept>
+         <family>TeX Gyre Heros</family>
+         <family>Nimbus Sans L</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>Helvetica Condensed</family>
+         <accept>
+         <family>TeX Gyre Heros Cn</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>Times</family>
+         <accept>
+<!--
+     Due to Bug#73291, commented out this line until the broken font are fixed.
+         <family>TeX Gyre Termes</family>
+-->
+         <family>Nimbus Roman No9 L</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>Courier</family>
+         <accept>
+         <family>TeX Gyre Cursor</family>
+         <family>Nimbus Mono L</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>ITC Avant Garde Gothic</family>
+         <accept>
+         <family>TeX Gyre Adventor</family>
+         <family>URW Gothic L</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>ITC Bookman</family>
+         <accept>
+         <family>Bookman Old Style</family>
+         <family>TeX Gyre Bonum</family>
+         <family>URW Bookman L</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>ITC Zapf Chancery</family>
+         <accept>
+         <family>TeX Gyre Chorus</family>
+         <family>URW Chancery L</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>Palatino</family>
+         <accept>
+         <family>Palatino Linotype</family>
+         <family>TeX Gyre Pagella</family>
+         <family>URW Palladio L</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>New Century Schoolbook</family>
+         <accept>
+         <family>Century Schoolbook</family>
+         <family>TeX Gyre Schola</family>
+         <family>Century Schoolbook L</family>
+         </accept>
+       </alias>
+
+       <!-- Microsoft -->
+       <alias binding="same">
+         <family>Arial</family>
+         <accept>
+           <family>Arimo</family>
+           <family>Liberation Sans</family>
+           <family>Albany</family>
+           <family>Albany AMT</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>Arial Narrow</family>
+         <accept>
+           <family>Liberation Sans Narrow</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>Times New Roman</family>
+         <accept>
+           <family>Tinos</family>
+           <family>Liberation Serif</family>
+           <family>Thorndale</family>
+           <family>Thorndale AMT</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>Courier New</family>
+         <accept>
+           <family>Cousine</family>
+           <family>Liberation Mono</family>
+           <family>Cumberland</family>
+           <family>Cumberland AMT</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>Georgia</family>
+         <accept>
+           <family>Gelasio</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>Cambria</family>
+         <accept>
+           <family>Caladea</family>
+         </accept>
+       </alias>
+
+       <alias binding="same">
+         <family>Calibri</family>
+         <accept>
+           <family>Carlito</family>
+         </accept>
+  </alias>
+
+       <alias binding="same">
+         <family>Symbol</family>
+         <accept>
+           <family>SymbolNeu</family>
+         </accept>
+  </alias>
+
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/30-urw-aliases.conf b/win32/deps/fonts/conf.d/30-urw-aliases.conf
new file mode 100644
index 00000000..e0d45da8
--- /dev/null
+++ b/win32/deps/fonts/conf.d/30-urw-aliases.conf
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!--
+  URW provides metric and shape compatible fonts for some Adobe families.
+  Most of these are handled in 30-metric-aliases.conf.
+  -->
+       <alias binding="same">
+         <family>Zapf Dingbats</family>
+         <accept><family>Dingbats</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>ITC Zapf Dingbats</family>
+         <accept><family>Dingbats</family></accept>
+       </alias>
+       <match target="pattern">
+         <test name="family" compare="eq" ignore-blanks="true">
+           <string>Symbol</string>
+         </test>
+         <edit name="family" mode="append" binding="same">
+           <string>Standard Symbols L</string>
+         </edit>
+       </match>
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/40-nonlatin.conf b/win32/deps/fonts/conf.d/40-nonlatin.conf
new file mode 100644
index 00000000..c900fd4e
--- /dev/null
+++ b/win32/deps/fonts/conf.d/40-nonlatin.conf
@@ -0,0 +1,231 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!--
+  Mark common families with their generics so we'll get
+  something reasonable
+-->
+
+<!--
+  Serif faces
+ -->
+       <alias>
+               <family>Nazli</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Lotoos</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Mitra</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Ferdosi</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Badr</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Zar</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Titr</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Jadid</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Kochi Mincho</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>AR PL SungtiL GB</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>AR PL Mingti2L Big5</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>MS 明朝</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>NanumMyeongjo</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>UnBatang</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Baekmuk Batang</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>MgOpen Canonica</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Sazanami Mincho</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>AR PL ZenKai Uni</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>ZYSong18030</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>FreeSerif</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>SimSun</family>
+               <default><family>serif</family></default>
+       </alias>
+<!--
+  Sans-serif faces
+ -->
+       <alias>
+               <family>Arshia</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Elham</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Farnaz</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Nasim</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Sina</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Roya</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Koodak</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Terafik</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Kochi Gothic</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>AR PL KaitiM GB</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>AR PL KaitiM Big5</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>MS ゴシック</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>NanumGothic</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>UnDotum</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Baekmuk Dotum</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>MgOpen Modata</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Sazanami Gothic</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>AR PL ShanHeiSun Uni</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>ZYSong18030</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>FreeSans</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+<!--
+  Monospace faces
+ -->
+       <alias>
+               <family>NSimSun</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>ZYSong18030</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>NanumGothicCoding</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>FreeMono</family>
+               <default><family>monospace</family></default>
+       </alias>
+
+<!--
+  Fantasy faces
+ -->
+       <alias>
+               <family>Homa</family>
+               <default><family>fantasy</family></default>
+       </alias>
+       <alias>
+               <family>Kamran</family>
+               <default><family>fantasy</family></default>
+       </alias>
+       <alias>
+               <family>Fantezi</family>
+               <default><family>fantasy</family></default>
+       </alias>
+       <alias>
+               <family>Tabassom</family>
+               <default><family>fantasy</family></default>
+       </alias>
+
+<!--
+  Cursive faces
+ -->
+       <alias>
+               <family>IranNastaliq</family>
+               <default><family>cursive</family></default>
+       </alias>
+       <alias>
+               <family>Nafees Nastaleeq</family>
+               <default><family>cursive</family></default>
+       </alias>
+
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/45-latin.conf b/win32/deps/fonts/conf.d/45-latin.conf
new file mode 100644
index 00000000..aa62ed42
--- /dev/null
+++ b/win32/deps/fonts/conf.d/45-latin.conf
@@ -0,0 +1,189 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!--
+  Mark common families with their generics so we'll get
+  something reasonable
+-->
+
+<!--
+  Serif faces
+ -->
+       <alias>
+               <family>Bitstream Vera Serif</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>DejaVu Serif</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Liberation Serif</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Times New Roman</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Times</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Nimbus Roman No9 L</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Luxi Serif</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Thorndale AMT</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Thorndale</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Georgia</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Garamond</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Palatino Linotype</family>
+               <default><family>serif</family></default>
+       </alias>
+       <alias>
+               <family>Trebuchet MS</family>
+               <default><family>serif</family></default>
+       </alias>
+<!--
+  Sans-serif faces
+ -->
+       <alias>
+               <family>Bitstream Vera Sans</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>DejaVu Sans</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Liberation Sans</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Arial</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Helvetica</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Verdana</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Albany AMT</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Albany</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Nimbus Sans L</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+       <alias>
+               <family>Luxi Sans</family>
+               <default><family>sans-serif</family></default>
+       </alias>
+<!--
+  Monospace faces
+ -->
+       <alias>
+               <family>Bitstream Vera Sans Mono</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>DejaVu Sans Mono</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>Liberation Mono</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>Inconsolata</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>Courier New</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>Courier</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>Andale Mono</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>Luxi Mono</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>Cumberland AMT</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>Cumberland</family>
+               <default><family>monospace</family></default>
+       </alias>
+       <alias>
+               <family>Nimbus Mono L</family>
+               <default><family>monospace</family></default>
+       </alias>
+<!--
+  Fantasy faces
+ -->
+       <alias>
+               <family>Impact</family>
+               <default><family>fantasy</family></default>
+       </alias>
+       <alias>
+               <family>Copperplate Gothic Std</family>
+               <default><family>fantasy</family></default>
+       </alias>
+       <alias>
+               <family>Cooper Std</family>
+               <default><family>fantasy</family></default>
+       </alias>
+       <alias>
+               <family>Bauhaus Std</family>
+               <default><family>fantasy</family></default>
+       </alias>
+<!--
+  Cursive faces
+  -->
+       <alias>
+               <family>ITC Zapf Chancery Std</family>
+               <default><family>cursive</family></default>
+       </alias>
+       <alias>
+               <family>Zapfino</family>
+               <default><family>cursive</family></default>
+       </alias>
+       <alias>
+               <family>Comic Sans MS</family>
+               <default><family>cursive</family></default>
+       </alias>
+
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/49-sansserif.conf b/win32/deps/fonts/conf.d/49-sansserif.conf
new file mode 100644
index 00000000..c6209a7d
--- /dev/null
+++ b/win32/deps/fonts/conf.d/49-sansserif.conf
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!--
+  If the font still has no generic name, add sans-serif
+ -->
+       <match target="pattern">
+               <test qual="all" name="family" compare="not_eq">
+                       <string>sans-serif</string>
+               </test>
+               <test qual="all" name="family" compare="not_eq">
+                       <string>serif</string>
+               </test>
+               <test qual="all" name="family" compare="not_eq">
+                       <string>monospace</string>
+               </test>
+               <edit name="family" mode="append_last">
+                       <string>sans-serif</string>
+               </edit>
+       </match>
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/50-user.conf b/win32/deps/fonts/conf.d/50-user.conf
new file mode 100644
index 00000000..07c9182e
--- /dev/null
+++ b/win32/deps/fonts/conf.d/50-user.conf
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+       <!--
+           Load per-user customization files where stored on XDG Base Directory
+           specification compliant places. it should be usually:
+             $HOME/.config/fontconfig/conf.d
+             $HOME/.config/fontconfig/fonts.conf
+       -->
+       <include ignore_missing="yes" prefix="xdg">fontconfig/conf.d</include>
+       <include ignore_missing="yes" prefix="xdg">fontconfig/fonts.conf</include>
+       <!-- the following elements will be removed in the future -->
+       <include ignore_missing="yes" deprecated="yes">~/.fonts.conf.d</include>
+       <include ignore_missing="yes" deprecated="yes">~/.fonts.conf</include>
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/51-local.conf b/win32/deps/fonts/conf.d/51-local.conf
new file mode 100644
index 00000000..ca9fbe19
--- /dev/null
+++ b/win32/deps/fonts/conf.d/51-local.conf
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+       <!-- Load local system customization file -->
+       <include ignore_missing="yes">local.conf</include>
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/60-latin.conf b/win32/deps/fonts/conf.d/60-latin.conf
new file mode 100644
index 00000000..2107e31e
--- /dev/null
+++ b/win32/deps/fonts/conf.d/60-latin.conf
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+       <alias>
+               <family>serif</family>
+               <prefer>
+                       <family>Bitstream Vera Serif</family>
+                       <family>DejaVu Serif</family>
+                       <family>Times New Roman</family>
+                       <family>Thorndale AMT</family>
+                       <family>Luxi Serif</family>
+                       <family>Nimbus Roman No9 L</family>
+                       <family>Times</family>
+               </prefer>
+       </alias>
+       <alias>
+               <family>sans-serif</family>
+               <prefer>
+                       <family>Bitstream Vera Sans</family>
+                       <family>DejaVu Sans</family>
+                       <family>Verdana</family>
+                       <family>Arial</family>
+                       <family>Albany AMT</family>
+                       <family>Luxi Sans</family>
+                       <family>Nimbus Sans L</family>
+                       <family>Helvetica</family>
+                       <family>Lucida Sans Unicode</family>
+                       <family>BPG Glaho International</family> <!-- lat,cyr,arab,geor -->
+                       <family>Tahoma</family> <!-- lat,cyr,greek,heb,arab,thai -->
+               </prefer>
+       </alias>
+       <alias>
+               <family>monospace</family>
+               <prefer>
+                       <family>Bitstream Vera Sans Mono</family>
+                       <family>DejaVu Sans Mono</family>
+                       <family>Inconsolata</family>
+                       <family>Andale Mono</family>
+                       <family>Courier New</family>
+                       <family>Cumberland AMT</family>
+                       <family>Luxi Mono</family>
+                       <family>Nimbus Mono L</family>
+                       <family>Courier</family>
+               </prefer>
+       </alias>
+<!--
+  Fantasy faces
+ -->
+       <alias>
+               <family>fantasy</family>
+               <prefer>
+                       <family>Impact</family>
+                       <family>Copperplate Gothic Std</family>
+                       <family>Cooper Std</family>
+                       <family>Bauhaus Std</family>
+               </prefer>
+       </alias>
+<!--
+  Cursive faces
+  -->
+       <alias>
+               <family>cursive</family>
+               <prefer>
+                       <family>ITC Zapf Chancery Std</family>
+                       <family>Zapfino</family>
+                       <family>Comic Sans MS</family>
+               </prefer>
+       </alias>
+
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/65-fonts-persian.conf b/win32/deps/fonts/conf.d/65-fonts-persian.conf
new file mode 100644
index 00000000..ea006612
--- /dev/null
+++ b/win32/deps/fonts/conf.d/65-fonts-persian.conf
@@ -0,0 +1,419 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!--
+  fonts-persian.conf
+  To configure Persian fonts from The FarsiWeb Project.
+
+  Copyright (C) 2005  Sharif FarsiWeb, Inc. <license farsiweb info>
+
+  Permission to use, copy, modify, distribute, and sell this software and its
+  documentation for any purpose is hereby granted without fee, provided that
+  the above copyright notice appear in all copies and that both that
+  copyright notice and this permission notice appear in supporting
+  documentation, and that the name of Sharif FarsiWeb, Inc. not be used in
+  advertising or publicity pertaining to distribution of the software without
+  specific, written prior permission.  Sharif FarsiWeb, Inc. makes no
+  representations about the suitability of this software for any purpose.  It
+  is provided "as is" without express or implied warranty.
+
+  SHARIF FARSIWEB, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+  EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+  PERFORMANCE OF THIS SOFTWARE.
+
+  ChangeLog:
+    2005-04-03  Behdad Esfahbod:  Initial revision.
+    2005-10-09  Behdad Esfahbod:  Turned off back-slant and Tahoma sections.
+    2005-11-30  Behdad Esfahbod:  Set Titr susbtitution size to 24 points.
+    2008       Behdad Esfahbod:  Cleanup.  Add fantasy and cursive.
+  -->
+<fontconfig>
+
+
+<!-- Deprecated fonts are discouraged -->
+
+       <!-- Nesf[2] is officially deprecated and has problematic tables -->
+       <alias binding="same">
+         <family>Nesf</family>
+         <accept><family>Nesf2</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Nesf2</family>
+         <accept><family>Persian_sansserif_default</family></accept>
+       </alias>
+
+<!-- Name changes and spelling variant aliases -->
+
+       <alias binding="same">
+         <family>Nazanin</family>
+         <accept><family>Nazli</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Lotus</family>
+         <accept><family>Lotoos</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Yaqut</family>
+         <accept><family>Yaghoot</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Yaghut</family>
+         <accept><family>Yaghoot</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Traffic</family>
+         <accept><family>Terafik</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Ferdowsi</family>
+         <accept><family>Ferdosi</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Fantezy</family>
+         <accept><family>Fantezi</family></accept>
+       </alias>
+
+
+<!-- Classify fonts. -->
+
+       <!-- Persian_title class -->
+       <alias binding="same">
+         <family>Jadid</family>
+         <accept><family>Persian_title</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Titr</family>
+         <accept><family>Persian_title</family></accept>
+       </alias>
+
+       <!-- Persian_fantasy class -->
+       <alias binding="same">
+         <family>Kamran</family>
+         <accept>
+         <family>Persian_fantasy</family>
+         <family>Homa</family>
+         </accept>
+       </alias>
+       <alias binding="same">
+         <family>Homa</family>
+         <accept>
+         <family>Persian_fantasy</family>
+         <family>Kamran</family>
+         </accept>
+       </alias>
+       <alias binding="same">
+         <family>Fantezi</family>
+         <accept><family>Persian_fantasy</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Tabassom</family>
+         <accept><family>Persian_fantasy</family></accept>
+       </alias>
+
+       <!-- Persian_square class -->
+       <alias binding="same">
+         <family>Arshia</family>
+         <accept><family>Persian_square</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Nasim</family>
+         <accept><family>Persian_square</family></accept>
+       </alias>
+       <alias binding="same">
+         <family>Elham</family>
+         <accept>
+         <family>Persian_square</family>
+         <family>Farnaz</family>
+         </accept>
+       </alias>
+       <alias binding="same">
+         <family>Farnaz</family>
+         <accept>
+         <family>Persian_square</family>
+         <family>Elham</family>
+         </accept>
+       </alias>
+       <alias binding="same">
+         <family>Sina</family>
+         <accept><family>Persian_square</family></accept>
+       </alias>
+
+<!-- Font ordering per class -->
+
+       <!-- Persian_title class -->
+       <alias binding="same">
+         <family>Persian_title</family>
+         <accept>
+         <family>Titr</family>
+         <family>Jadid</family>
+         <family>Persian_serif</family>
+         </accept>
+       </alias>
+
+       <!-- Persian_fantasy class -->
+       <alias binding="same">
+         <family>Persian_fantasy</family>
+         <accept>
+         <family>Homa</family>
+         <family>Kamran</family>
+         <family>Fantezi</family>
+         <family>Tabassom</family>
+         <family>Persian_square</family>
+         </accept>
+       </alias>
+
+       <!-- Persian_square class -->
+       <alias binding="same">
+         <family>Persian_square</family>
+         <accept>
+         <family>Arshia</family>
+         <family>Elham</family>
+         <family>Farnaz</family>
+         <family>Nasim</family>
+         <family>Sina</family>
+         <family>Persian_serif</family>
+         </accept>
+       </alias>
+
+<!-- Register the fonts that we actually do have -->
+
+       <match target="scan">
+               <test name="family" compare="eq" ignore-blanks="true">
+                       <string>Elham</string>
+               </test>
+               <edit name="foundry">
+                       <string>farsiweb</string>
+               </edit>
+       </match>
+
+       <match target="scan">
+               <test name="family" compare="eq" ignore-blanks="true">
+                       <string>Homa</string>
+               </test>
+               <edit name="foundry">
+                       <string>farsiweb</string>
+               </edit>
+       </match>
+
+       <match target="scan">
+               <test name="family" compare="eq" ignore-blanks="true">
+                       <string>Koodak</string>
+               </test>
+               <edit name="foundry">
+                       <string>farsiweb</string>
+               </edit>
+       </match>
+
+       <match target="scan">
+               <test name="family" compare="eq" ignore-blanks="true">
+                       <string>Nazli</string>
+               </test>
+               <edit name="foundry">
+                       <string>farsiweb</string>
+               </edit>
+       </match>
+
+       <match target="scan">
+               <test name="family" compare="eq" ignore-blanks="true">
+                       <string>Roya</string>
+               </test>
+               <edit name="foundry">
+                       <string>farsiweb</string>
+               </edit>
+       </match>
+
+       <match target="scan">
+               <test name="family" compare="eq" ignore-blanks="true">
+                       <string>Terafik</string>
+               </test>
+               <edit name="foundry">
+                       <string>farsiweb</string>
+               </edit>
+       </match>
+
+       <match target="scan">
+               <test name="family" compare="eq" ignore-blanks="true">
+                       <string>Titr</string>
+               </test>
+               <edit name="foundry">
+                       <string>farsiweb</string>
+               </edit>
+       </match>
+
+
+<!-- Our fonts should oblique to the other side (TURNED-OFF) -->
+
+       <match target="font">
+               <test name="foundry">
+                       <!--string>farsiweb</string-->
+                       <string>TURNED-OFF</string>
+               </test>
+               <test name="foundry">
+                       <string>farsiweb</string>
+               </test>
+               <!-- check to see if the font is roman -->
+               <test name="slant">
+                       <const>roman</const>
+               </test>
+               <!-- check to see if the pattern requested non-roman -->
+               <test target="pattern" name="slant" compare="not_eq">
+                       <const>roman</const>
+               </test>
+               <!-- multiply the matrix to slant the font -->
+               <edit name="matrix" mode="assign">
+                       <times>
+                               <name>matrix</name>
+                               <matrix><double>1</double><double>-0.2</double>
+                                       <double>0</double><double>1</double>
+                               </matrix>
+                       </times>
+               </edit>
+               <!-- pretend the font is oblique now -->
+               <edit name="slant" mode="assign">
+                       <const>oblique</const>
+               </edit>
+       </match>
+
+
+<!--
+  We can't hint our fonts well, so turn off hinting.
+  Moreover, the bitmaps we have designed (well, they
+  have designed), suck, so disable them too.
+  -->
+
+       <match target="font">
+               <test name="foundry">
+                       <string>farsiweb</string>
+               </test>
+               <edit name="autohint">
+                       <bool>false</bool>
+               </edit>
+               <edit name="hinting">
+                       <bool>false</bool>
+               </edit>
+               <edit name="embeddedbitmap">
+                       <bool>false</bool>
+               </edit>
+       </match>
+
+
+<!-- Alias our fonts to common families -->
+
+       <!-- Persian serif fonts -->
+       <alias>
+               <family>serif</family>
+               <accept>
+                       <family>Nazli</family>
+                       <family>Lotoos</family>
+                       <family>Mitra</family>
+                       <family>Ferdosi</family>
+                       <family>Badr</family>
+                       <family>Zar</family>
+               </accept>
+       </alias>
+
+       <!-- Persian sans-serif fonts -->
+       <alias>
+               <family>sans-serif</family>
+               <accept>
+                       <family>Roya</family>
+                       <family>Koodak</family>
+                       <family>Terafik</family>
+               </accept>
+       </alias>
+
+       <!-- Persian monospace fonts -->
+       <alias>
+               <family>monospace</family>
+               <accept>
+                       <!-- Not really monospace -->
+                       <family>Terafik</family>
+               </accept>
+       </alias>
+
+       <!-- Persian fantasy fonts -->
+       <alias>
+               <family>fantasy</family>
+               <accept>
+                       <family>Homa</family>
+                       <family>Kamran</family>
+                       <family>Fantezi</family>
+                       <family>Tabassom</family>
+               </accept>
+       </alias>
+
+       <!-- Persian (and Urdu) Nastaliq/cursive fonts -->
+       <alias>
+               <family>cursive</family>
+               <accept>
+                       <family>IranNastaliq</family>
+                       <family>Nafees Nastaleeq</family>
+               </accept>
+       </alias>
+
+<!-- Use Titr in titles -->
+
+       <!-- Both serif... -->
+       <match>
+               <test name="family">
+                       <string>serif</string>
+               </test>
+               <test name="weight" compare="more_eq">
+                       <int>200</int>
+               </test>
+               <test name="size" compare="more_eq">
+                       <double>24</double>
+               </test>
+               <edit name="family" mode="prepend">
+                       <string>Titr</string>
+               </edit>
+       </match>
+
+       <!-- and sans-serif. -->
+       <match>
+               <test name="family">
+                       <string>sans-serif</string>
+               </test>
+               <test name="weight" compare="more_eq">
+                       <int>200</int>
+               </test>
+               <test name="size" compare="more_eq">
+                       <double>24</double>
+               </test>
+               <edit name="family" mode="prepend">
+                       <string>Titr</string>
+               </edit>
+       </match>
+
+       <!-- and more. -->
+       <match>
+               <test name="family">
+                       <string>Persian_sansserif_default</string>
+               </test>
+               <test name="weight" compare="more_eq">
+                       <int>200</int>
+               </test>
+               <test name="size" compare="more_eq">
+                       <double>24</double>
+               </test>
+               <edit name="family" mode="prepend" binding="same">
+                       <string>Titr</string>
+               </edit>
+       </match>
+
+
+<!-- Default substituted for deprecated sans-serif fonts -->
+
+       <match>
+               <test name="family">
+                       <string>Persian_sansserif_default</string>
+               </test>
+               <edit name="family" mode="assign" binding="same">
+                       <string>Roya</string>
+               </edit>
+       </match>
+
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/65-nonlatin.conf b/win32/deps/fonts/conf.d/65-nonlatin.conf
new file mode 100644
index 00000000..9306f749
--- /dev/null
+++ b/win32/deps/fonts/conf.d/65-nonlatin.conf
@@ -0,0 +1,196 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+       <alias>
+               <family>serif</family>
+               <prefer>
+                       <family>Artsounk</family> <!-- armenian -->
+                       <family>BPG UTF8 M</family> <!-- georgian -->
+                       <family>Kinnari</family> <!-- thai -->
+                       <family>Norasi</family> <!-- thai -->
+                       <family>Frank Ruehl</family> <!-- hebrew -->
+                       <family>Dror</family>  <!-- hebrew -->
+                       <family>JG LaoTimes</family>  <!-- lao -->
+                       <family>Saysettha Unicode</family>  <!-- lao -->
+                       <family>Pigiarniq</family> <!-- canadian syllabics -->
+                       <family>B Davat</family> <!-- arabic (fa) -->
+                       <family>B Compset</family>  <!-- arabic (fa) -->
+                       <family>Kacst-Qr</family> <!-- arabic (ar) -->
+                       <family>Urdu Nastaliq Unicode</family> <!-- arabic (ur) -->
+                       <family>Raghindi</family> <!-- devanagari -->
+                       <family>Mukti Narrow</family> <!-- bengali -->
+                       <family>malayalam</family> <!-- malayalam -->
+                       <family>Sampige</family> <!-- kannada -->
+                       <family>padmaa</family> <!-- gujarati -->
+                       <family>Hapax Berbère</family> <!-- tifinagh -->
+                       <family>MS Mincho</family> <!-- han (ja) -->
+                       <family>SimSun</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>PMingLiu</family> <!-- han (zh-tw) -->
+                       <family>WenQuanYi Zen Hei</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>WenQuanYi Bitmap Song</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>AR PL ShanHeiSun Uni</family> <!-- han (ja,zh-cn,zh-tw) -->
+                       <family>AR PL New Sung</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>ZYSong18030</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>HanyiSong</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>MgOpen Canonica</family>
+                       <family>Sazanami Mincho</family>
+                       <family>IPAMonaMincho</family>
+                       <family>IPAMincho</family>
+                       <family>Kochi Mincho</family>
+                       <family>AR PL SungtiL GB</family>
+                       <family>AR PL Mingti2L Big5</family>
+                       <family>AR PL Zenkai Uni</family>
+                       <family>MS 明朝</family>
+                       <family>ZYSong18030</family>
+                       <family>NanumMyeongjo</family> <!-- hangul (ko) -->
+                       <family>UnBatang</family> <!-- hangul (ko) -->
+                       <family>Baekmuk Batang</family> <!-- hangul (ko) -->
+                       <family>KacstQura</family>
+                       <family>Frank Ruehl CLM</family>
+                       <family>Lohit Bengali</family>
+                       <family>Lohit Gujarati</family>
+                       <family>Lohit Hindi</family>
+                       <family>Lohit Marathi</family>
+                       <family>Lohit Maithili</family>
+                       <family>Lohit Kashmiri</family>
+                       <family>Lohit Konkani</family>
+                       <family>Lohit Nepali</family>
+                       <family>Lohit Sindhi</family>
+                       <family>Lohit Punjabi</family>
+                       <family>Lohit Tamil</family>
+                       <family>Meera</family>
+                       <family>Lohit Malayalam</family>
+                       <family>Lohit Kannada</family>
+                       <family>Lohit Telugu</family>
+                       <family>Lohit Oriya</family>
+                       <family>LKLUG</family>
+               </prefer>
+       </alias>
+       <alias>
+               <family>sans-serif</family>
+               <prefer>
+                       <family>Nachlieli</family> <!-- hebrew -->
+                       <family>Lucida Sans Unicode</family>
+                       <family>Yudit Unicode</family>
+                       <family>Kerkis</family> <!-- greek -->
+                       <family>ArmNet Helvetica</family> <!-- armenian -->
+                       <family>Artsounk</family> <!-- armenian -->
+                       <family>BPG UTF8 M</family> <!-- georgian -->
+                       <family>Waree</family> <!-- thai -->
+                       <family>Loma</family> <!-- thai -->
+                       <family>Garuda</family> <!-- thai -->
+                       <family>Umpush</family> <!-- thai -->
+                       <family>Saysettha Unicode</family> <!-- lao? -->
+                       <family>JG Lao Old Arial</family> <!-- lao -->
+                       <family>GF Zemen Unicode</family> <!-- ethiopic -->
+                       <family>Pigiarniq</family> <!-- canadian syllabics -->
+                       <family>B Davat</family> <!-- arabic (fa) -->
+                       <family>B Compset</family> <!-- arabic (fa) -->
+                       <family>Kacst-Qr</family> <!-- arabic (ar) -->
+                       <family>Urdu Nastaliq Unicode</family> <!-- arabic (ur) -->
+                       <family>Raghindi</family> <!-- devanagari -->
+                       <family>Mukti Narrow</family> <!-- bengali -->
+                       <family>malayalam</family> <!-- malayalam -->
+                       <family>Sampige</family> <!-- kannada -->
+                       <family>padmaa</family> <!-- gujarati -->
+                       <family>Hapax Berbère</family> <!-- tifinagh -->
+                       <family>MS Gothic</family> <!-- han (ja) -->
+                       <family>UmePlus P Gothic</family> <!-- han (ja) -->
+                       <!-- chinese fonts are actually serifed -->
+                       <family>SimSun</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>PMingLiu</family> <!-- han (zh-tw) -->
+                       <family>WenQuanYi Zen Hei</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>WenQuanYi Bitmap Song</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>AR PL ShanHeiSun Uni</family> <!--han (ja,zh-cn,zh-tw) -->
+                       <family>AR PL New Sung</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>MgOpen Modata</family>
+                       <family>VL Gothic</family>
+                       <family>IPAMonaGothic</family>
+                       <family>IPAGothic</family>
+                       <family>Sazanami Gothic</family>
+                       <family>Kochi Gothic</family>
+                       <family>AR PL KaitiM GB</family>
+                       <family>AR PL KaitiM Big5</family>
+                       <family>AR PL ShanHeiSun Uni</family>
+                       <family>AR PL SungtiL GB</family>
+                       <family>AR PL Mingti2L Big5</family>
+                       <family>MS ゴシック</family>
+                       <family>ZYSong18030</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>TSCu_Paranar</family> <!-- tamil -->
+                       <family>NanumGothic</family> <!-- hangul (ko) -->
+                       <family>UnDotum</family> <!-- hangul (ko) -->
+                       <family>Baekmuk Dotum</family> <!-- hangul (ko) -->
+                       <family>Baekmuk Gulim</family> <!-- hangul (ko) -->
+                       <family>KacstQura</family>
+                       <family>Lohit Bengali</family>
+                       <family>Lohit Gujarati</family>
+                       <family>Lohit Hindi</family>
+                       <family>Lohit Marathi</family>
+                       <family>Lohit Maithili</family>
+                       <family>Lohit Kashmiri</family>
+                       <family>Lohit Konkani</family>
+                       <family>Lohit Nepali</family>
+                       <family>Lohit Sindhi</family>
+                       <family>Lohit Punjabi</family>
+                       <family>Lohit Tamil</family>
+                       <family>Meera</family>
+                       <family>Lohit Malayalam</family>
+                       <family>Lohit Kannada</family>
+                       <family>Lohit Telugu</family>
+                       <family>Lohit Oriya</family>
+                       <family>LKLUG</family>
+               </prefer>
+       </alias>
+       <alias>
+               <family>monospace</family>
+               <prefer>
+                       <family>Miriam Mono</family> <!-- hebrew -->
+                       <family>VL Gothic</family>
+                       <family>IPAMonaGothic</family>
+                       <family>IPAGothic</family>
+                       <family>Sazanami Gothic</family>
+                       <family>Kochi Gothic</family>
+                       <family>AR PL KaitiM GB</family>
+                       <family>MS Gothic</family> <!-- han (ja) -->
+                       <family>UmePlus Gothic</family> <!-- han (ja) -->
+                       <family>NSimSun</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>MingLiu</family> <!-- han (zh-tw) -->
+                       <family>AR PL ShanHeiSun Uni</family> <!-- han (ja,zh-cn,zh-tw) -->
+                       <family>AR PL New Sung Mono</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>HanyiSong</family> <!-- han (zh-cn) -->
+                       <family>AR PL SungtiL GB</family>
+                       <family>AR PL Mingti2L Big5</family>
+                       <family>ZYSong18030</family> <!-- han (zh-cn,zh-tw) -->
+                       <family>NanumGothicCoding</family> <!-- hangul (ko) -->
+                       <family>NanumGothic</family> <!-- hangul (ko) -->
+                       <family>UnDotum</family> <!-- hangul (ko) -->
+                       <family>Baekmuk Dotum</family> <!-- hangul (ko) -->
+                       <family>Baekmuk Gulim</family> <!-- hangul (ko) -->
+                       <family>TlwgTypo</family> <!-- thai -->
+                       <family>TlwgTypist</family> <!-- thai -->
+                       <family>TlwgTypewriter</family> <!-- thai -->
+                       <family>TlwgMono</family> <!-- thai -->
+                       <family>Hasida</family> <!-- hebrew -->
+                       <family>Mitra Mono</family> <!-- bengali -->
+                       <family>GF Zemen Unicode</family> <!-- ethiopic -->
+                       <family>Hapax Berbère</family> <!-- tifinagh -->
+                       <family>Lohit Bengali</family>
+                       <family>Lohit Gujarati</family>
+                       <family>Lohit Hindi</family>
+                       <family>Lohit Marathi</family>
+                       <family>Lohit Maithili</family>
+                       <family>Lohit Kashmiri</family>
+                       <family>Lohit Konkani</family>
+                       <family>Lohit Nepali</family>
+                       <family>Lohit Sindhi</family>
+                       <family>Lohit Punjabi</family>
+                       <family>Lohit Tamil</family>
+                       <family>Meera</family>
+                       <family>Lohit Malayalam</family>
+                       <family>Lohit Kannada</family>
+                       <family>Lohit Telugu</family>
+                       <family>Lohit Oriya</family>
+                       <family>LKLUG</family>
+               </prefer>
+       </alias>
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/69-unifont.conf b/win32/deps/fonts/conf.d/69-unifont.conf
new file mode 100644
index 00000000..177dec5d
--- /dev/null
+++ b/win32/deps/fonts/conf.d/69-unifont.conf
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+       <alias>
+               <family>serif</family>
+               <prefer>
+                       <family>FreeSerif</family>
+                       <family>Code2000</family>
+                       <family>Code2001</family> <!-- plane1 and beyond -->
+               </prefer>
+       </alias>
+       <alias>
+               <family>sans-serif</family>
+               <prefer>
+                       <family>FreeSans</family>
+                       <family>Arial Unicode MS</family>
+                       <family>Arial Unicode</family>
+                       <family>Code2000</family> <!-- almost everything; serif actually -->
+                       <family>Code2001</family> <!-- plane1 and beyond -->
+               </prefer>
+       </alias>
+       <alias>
+               <family>monospace</family>
+               <prefer>
+                       <family>FreeMono</family>
+               </prefer>
+       </alias>
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/80-delicious.conf b/win32/deps/fonts/conf.d/80-delicious.conf
new file mode 100644
index 00000000..845647be
--- /dev/null
+++ b/win32/deps/fonts/conf.d/80-delicious.conf
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!-- Fix-ups for Delicious family -->
+
+<!-- Delicious 'heavy' variant says its Medium weight -->
+<match target="scan">
+       <test name="family" compare="eq" ignore-blanks="true">
+               <string>Delicious</string>
+       </test>
+       <test name="style">
+               <string>Heavy</string>
+       </test>
+       <edit name="weight">
+               <const>heavy</const>
+       </edit>
+</match>
+
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/90-synthetic.conf b/win32/deps/fonts/conf.d/90-synthetic.conf
new file mode 100644
index 00000000..b8d1e85e
--- /dev/null
+++ b/win32/deps/fonts/conf.d/90-synthetic.conf
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!-- 
+ Artificial oblique for fonts without an italic or oblique version
+ -->
+ 
+       <match target="font">
+               <!-- check to see if the font is roman -->
+               <test name="slant">
+                       <const>roman</const>
+               </test>
+               <!-- check to see if the pattern requested non-roman -->
+               <test target="pattern" name="slant" compare="not_eq">
+                       <const>roman</const>
+               </test>
+               <!-- multiply the matrix to slant the font -->
+               <edit name="matrix" mode="assign">
+                       <times>
+                               <name>matrix</name>
+                               <matrix><double>1</double><double>0.2</double>
+                                       <double>0</double><double>1</double>
+                               </matrix>
+                       </times>
+               </edit>
+               <!-- pretend the font is oblique now -->
+               <edit name="slant" mode="assign">
+                       <const>oblique</const>
+               </edit>
+               <!-- and disable embedded bitmaps for artificial oblique -->
+               <edit name="embeddedbitmap" mode="assign">
+                       <bool>false</bool>
+               </edit>
+       </match>
+
+<!--
+ Synthetic emboldening for fonts that do not have bold face available
+ -->
+
+       <match target="font">
+               <!-- check to see if the font is just regular -->
+               <test name="weight" compare="less_eq">
+                       <const>medium</const>
+               </test>
+               <!-- check to see if the pattern requests bold -->
+               <test target="pattern" name="weight" compare="more">
+                       <const>medium</const>
+               </test>
+               <!--
+                 set the embolden flag
+                 needed for applications using cairo, e.g. gucharmap, gedit, ...
+               -->
+               <edit name="embolden" mode="assign">
+                       <bool>true</bool>
+               </edit>
+               <!--
+                set weight to bold
+                needed for applications using Xft directly, e.g. Firefox, ...
+               -->
+               <edit name="weight" mode="assign">
+                       <const>bold</const>
+               </edit>
+       </match>
+</fontconfig>
diff --git a/win32/deps/fonts/conf.d/README b/win32/deps/fonts/conf.d/README
new file mode 100644
index 00000000..6a774c5d
--- /dev/null
+++ b/win32/deps/fonts/conf.d/README
@@ -0,0 +1,23 @@
+conf.d/README
+
+Each file in this directory is a fontconfig configuration file.  Fontconfig
+scans this directory, loading all files of the form [0-9][0-9]*.conf.
+These files are normally installed in /usr/share/fontconfig/conf.avail
+and then symlinked here, allowing them to be easily installed and then
+enabled/disabled by adjusting the symlinks.
+
+The files are loaded in numeric order, the structure of the configuration
+has led to the following conventions in usage:
+
+ Files begining with:  Contain:
+ 
+ 00 through 09         Font directories
+ 10 through 19         system rendering defaults (AA, etc)
+ 20 through 29         font rendering options
+ 30 through 39         family substitution
+ 40 through 49         generic identification, map family->generic
+ 50 through 59         alternate config file loading
+ 60 through 69         generic aliases, map generic->family
+ 70 through 79         select font (adjust which fonts are available)
+ 80 through 89         match target="scan" (modify scanned patterns)
+ 90 through 99         font synthesis
diff --git a/win32/deps/fonts/fonts.conf b/win32/deps/fonts/fonts.conf
new file mode 100644
index 00000000..6ad23623
--- /dev/null
+++ b/win32/deps/fonts/fonts.conf
@@ -0,0 +1,155 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- /etc/fonts/fonts.conf file to configure system font access -->
+<fontconfig>
+
+<!--
+       DO NOT EDIT THIS FILE.
+       IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
+       LOCAL CHANGES BELONG IN 'local.conf'.
+
+       The intent of this standard configuration file is to be adequate for
+       most environments.  If you have a reasonably normal environment and
+       have found problems with this configuration, they are probably
+       things that others will also want fixed.  Please submit any
+       problems to the fontconfig bugzilla system located at fontconfig.org
+
+       Note that the normal 'make install' procedure for fontconfig is to
+       replace any existing fonts.conf file with the new version.  Place
+       any local customizations in local.conf which this file references.
+
+       Keith Packard
+-->
+
+<!-- Font directory list -->
+
+       <dir>WINDOWSFONTDIR</dir>
+       
+       <dir prefix="xdg">fonts</dir>
+       <!-- the following element will be removed in the future -->
+       <dir>~/.fonts</dir>
+
+<!--
+  Accept deprecated 'mono' alias, replacing it with 'monospace'
+-->
+       <match target="pattern">
+               <test qual="any" name="family">
+                       <string>mono</string>
+               </test>
+               <edit name="family" mode="assign" binding="same">
+                       <string>monospace</string>
+               </edit>
+       </match>
+
+<!--
+  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
+-->
+       <match target="pattern">
+               <test qual="any" name="family">
+                       <string>sans serif</string>
+               </test>
+               <edit name="family" mode="assign" binding="same">
+                       <string>sans-serif</string>
+               </edit>
+       </match>
+
+<!--
+  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
+-->
+       <match target="pattern">
+               <test qual="any" name="family">
+                       <string>sans</string>
+               </test>
+               <edit name="family" mode="assign" binding="same">
+                       <string>sans-serif</string>
+               </edit>
+       </match>
+
+<!--
+  Load local system customization file
+-->
+       <include ignore_missing="yes">conf.d</include>
+
+<!-- Font cache directory list -->
+
+       <cachedir>LOCAL_APPDATA_FONTCONFIG_CACHE</cachedir>
+       <cachedir prefix="xdg">fontconfig</cachedir>
+       <!-- the following element will be removed in the future -->
+       <cachedir>~/.fontconfig</cachedir>
+
+       <config>
+<!--
+  These are the default Unicode chars that are expected to be blank
+  in fonts.  All other blank chars are assumed to be broken and
+  won't appear in the resulting charsets
+ -->
+               <blank>
+                       <int>0x0020</int>       <!-- SPACE -->
+                       <int>0x00A0</int>       <!-- NO-BREAK SPACE -->
+                       <int>0x00AD</int>       <!-- SOFT HYPHEN -->
+                       <int>0x034F</int>       <!-- COMBINING GRAPHEME JOINER -->
+                       <int>0x0600</int>       <!-- ARABIC NUMBER SIGN -->
+                       <int>0x0601</int>       <!-- ARABIC SIGN SANAH -->
+                       <int>0x0602</int>       <!-- ARABIC FOOTNOTE MARKER -->
+                       <int>0x0603</int>       <!-- ARABIC SIGN SAFHA -->
+                       <int>0x06DD</int>       <!-- ARABIC END OF AYAH -->
+                       <int>0x070F</int>       <!-- SYRIAC ABBREVIATION MARK -->
+                       <int>0x115F</int>       <!-- HANGUL CHOSEONG FILLER -->
+                       <int>0x1160</int>       <!-- HANGUL JUNGSEONG FILLER -->
+                       <int>0x1680</int>       <!-- OGHAM SPACE MARK -->
+                       <int>0x17B4</int>       <!-- KHMER VOWEL INHERENT AQ -->
+                       <int>0x17B5</int>       <!-- KHMER VOWEL INHERENT AA -->
+                       <int>0x180E</int>       <!-- MONGOLIAN VOWEL SEPARATOR -->
+                       <int>0x2000</int>       <!-- EN QUAD -->
+                       <int>0x2001</int>       <!-- EM QUAD -->
+                       <int>0x2002</int>       <!-- EN SPACE -->
+                       <int>0x2003</int>       <!-- EM SPACE -->
+                       <int>0x2004</int>       <!-- THREE-PER-EM SPACE -->
+                       <int>0x2005</int>       <!-- FOUR-PER-EM SPACE -->
+                       <int>0x2006</int>       <!-- SIX-PER-EM SPACE -->
+                       <int>0x2007</int>       <!-- FIGURE SPACE -->
+                       <int>0x2008</int>       <!-- PUNCTUATION SPACE -->
+                       <int>0x2009</int>       <!-- THIN SPACE -->
+                       <int>0x200A</int>       <!-- HAIR SPACE -->
+                       <int>0x200B</int>       <!-- ZERO WIDTH SPACE -->
+                       <int>0x200C</int>       <!-- ZERO WIDTH NON-JOINER -->
+                       <int>0x200D</int>       <!-- ZERO WIDTH JOINER -->
+                       <int>0x200E</int>       <!-- LEFT-TO-RIGHT MARK -->
+                       <int>0x200F</int>       <!-- RIGHT-TO-LEFT MARK -->
+                       <int>0x2028</int>       <!-- LINE SEPARATOR -->
+                       <int>0x2029</int>       <!-- PARAGRAPH SEPARATOR -->
+                       <int>0x202A</int>       <!-- LEFT-TO-RIGHT EMBEDDING -->
+                       <int>0x202B</int>       <!-- RIGHT-TO-LEFT EMBEDDING -->
+                       <int>0x202C</int>       <!-- POP DIRECTIONAL FORMATTING -->
+                       <int>0x202D</int>       <!-- LEFT-TO-RIGHT OVERRIDE -->
+                       <int>0x202E</int>       <!-- RIGHT-TO-LEFT OVERRIDE -->
+                       <int>0x202F</int>       <!-- NARROW NO-BREAK SPACE -->
+                       <int>0x205F</int>       <!-- MEDIUM MATHEMATICAL SPACE -->
+                       <int>0x2060</int>       <!-- WORD JOINER -->
+                       <int>0x2061</int>       <!-- FUNCTION APPLICATION -->
+                       <int>0x2062</int>       <!-- INVISIBLE TIMES -->
+                       <int>0x2063</int>       <!-- INVISIBLE SEPARATOR -->
+                       <int>0x206A</int>       <!-- INHIBIT SYMMETRIC SWAPPING -->
+                       <int>0x206B</int>       <!-- ACTIVATE SYMMETRIC SWAPPING -->
+                       <int>0x206C</int>       <!-- INHIBIT ARABIC FORM SHAPING -->
+                       <int>0x206D</int>       <!-- ACTIVATE ARABIC FORM SHAPING -->
+                       <int>0x206E</int>       <!-- NATIONAL DIGIT SHAPES -->
+                       <int>0x206F</int>       <!-- NOMINAL DIGIT SHAPES -->
+                       <int>0x2800</int>       <!-- BRAILLE PATTERN BLANK -->
+                       <int>0x3000</int>       <!-- IDEOGRAPHIC SPACE -->
+                       <int>0x3164</int>       <!-- HANGUL FILLER -->
+                       <int>0xFEFF</int>       <!-- ZERO WIDTH NO-BREAK SPACE -->
+                       <int>0xFFA0</int>       <!-- HALFWIDTH HANGUL FILLER -->
+                       <int>0xFFF9</int>       <!-- INTERLINEAR ANNOTATION ANCHOR -->
+                       <int>0xFFFA</int>       <!-- INTERLINEAR ANNOTATION SEPARATOR -->
+                       <int>0xFFFB</int>       <!-- INTERLINEAR ANNOTATION TERMINATOR -->
+               </blank>
+<!--
+  Rescan configuration every 30 seconds when FcFontSetList is called
+ -->
+               <rescan>
+                       <int>30</int>
+               </rescan>
+       </config>
+
+</fontconfig>
diff --git a/win32/deps/library/grDevices/Meta/demo.rds b/win32/deps/library/grDevices/Meta/demo.rds
new file mode 100644
index 00000000..33e6eea3
Binary files /dev/null and b/win32/deps/library/grDevices/Meta/demo.rds differ
diff --git a/win32/deps/library/grDevices/demo/colors.R b/win32/deps/library/grDevices/demo/colors.R
new file mode 100644
index 00000000..16707bb4
--- /dev/null
+++ b/win32/deps/library/grDevices/demo/colors.R
@@ -0,0 +1,108 @@
+### ----------- Show (almost) all named colors ---------------------
+
+## 1) with traditional 'graphics' package:
+showCols1 <- function(bg = "gray", cex = 0.75, srt = 30) {
+    m <- ceiling(sqrt(n <- length(cl <- colors())))
+    length(cl) <- m*m; cm <- matrix(cl, m)
+    ##
+    require("graphics")
+    op <- par(mar=rep(0,4), ann=FALSE, bg = bg); on.exit(par(op))
+    plot(1:m,1:m, type="n", axes=FALSE)
+    text(col(cm), rev(row(cm)), cm,  col = cl, cex=cex, srt=srt)
+}
+showCols1()
+
+## 2) with 'grid' package:
+showCols2 <- function(bg = "grey", cex = 0.75, rot = 30) {
+    m <- ceiling(sqrt(n <- length(cl <- colors())))
+    length(cl) <- m*m; cm <- matrix(cl, m)
+    ##
+    require("grid")
+    grid.newpage(); vp <- viewport(w = .92, h = .92)
+    grid.rect(gp=gpar(fill=bg))
+    grid.text(cm, x = col(cm)/m, y = rev(row(cm))/m, rot = rot,
+              vp=vp, gp=gpar(cex = cex, col = cm))
+}
+showCols2()
+showCols2(bg = "gray33")
+
+###
+
+##' @title Comparing Colors
+##' @param col
+##' @param nrow
+##' @param ncol
+##' @param txt.col
+##' @return the grid layout, invisibly
+##' @author Marius Hofert, originally
+plotCol <- function(col, nrow=1, ncol=ceiling(length(col) / nrow),
+                    txt.col="black") {
+    stopifnot(nrow >= 1, ncol >= 1)
+    if(length(col) > nrow*ncol)
+        warning("some colors will not be shown")
+    require(grid)
+    grid.newpage()
+    gl <- grid.layout(nrow, ncol)
+    pushViewport(viewport(layout=gl))
+    ic <- 1
+    for(i in 1:nrow) {
+        for(j in 1:ncol) {
+            pushViewport(viewport(layout.pos.row=i, layout.pos.col=j))
+            grid.rect(gp= gpar(fill=col[ic]))
+            grid.text(col[ic], gp=gpar(col=txt.col))
+            upViewport()
+            ic <- ic+1
+        }
+    }
+    upViewport()
+    invisible(gl)
+}
+
+## A Chocolate Bar of colors:
+plotCol(c("#CC8C3C", paste0("chocolate", 2:4),
+          paste0("darkorange", c("",1:2)), paste0("darkgoldenrod", 1:2),
+          "orange", "orange1", "sandybrown", "tan1", "tan2"),
+        nrow=2)
+
+##' Find close R colors() to a given color {original by Marius Hofert)
+##' using Euclidean norm in (HSV / RGB / ...) color space
+nearRcolor <- function(rgb, cSpace = c("hsv", "rgb255", "Luv", "Lab"),
+                       dist = switch(cSpace, "hsv" = 0.10, "rgb255" = 30,
+                       "Luv" = 15, "Lab" = 12))
+{
+    if(is.character(rgb)) rgb <- col2rgb(rgb)
+    stopifnot(length(rgb <- as.vector(rgb)) == 3)
+    Rcol <- col2rgb(.cc <- colors())
+    uniqC <- !duplicated(t(Rcol)) # gray9 == grey9 (etc)
+    Rcol <- Rcol[, uniqC] ; .cc <- .cc[uniqC]
+    cSpace <- match.arg(cSpace)
+    convRGB2 <- function(Rgb, to)
+        t(convertColor(t(Rgb), from="sRGB", to=to, scale.in=255))
+    ## the transformation,  rgb{0..255} --> cSpace :
+    TransF <- switch(cSpace,
+                     "rgb255" = identity,
+                     "hsv" = rgb2hsv,
+                     "Luv" = function(RGB) convRGB2(RGB, "Luv"),
+                     "Lab" = function(RGB) convRGB2(RGB, "Lab"))
+    d <- sqrt(colSums((TransF(Rcol) - as.vector(TransF(rgb)))^2))
+    iS <- sort.list(d[near <- d <= dist])# sorted: closest first
+    setNames(.cc[near][iS], format(d[near][iS], digits=3))
+}
+
+nearRcolor(col2rgb("tan2"), "rgb")
+nearRcolor(col2rgb("tan2"), "hsv")
+nearRcolor(col2rgb("tan2"), "Luv")
+nearRcolor(col2rgb("tan2"), "Lab")
+
+nearRcolor("#334455")
+
+## Now, consider choosing a color by looking in the
+## neighborhood of one you know :
+
+plotCol(nearRcolor("deepskyblue", "rgb", dist=50))
+plotCol(nearRcolor("deepskyblue", dist=.1))
+
+plotCol(nearRcolor("tomato", "rgb", dist= 50), nrow=3)
+plotCol(nearRcolor("tomato", "hsv", dist=.12), nrow=3)
+plotCol(nearRcolor("tomato", "Luv", dist= 25), nrow=3)
+plotCol(nearRcolor("tomato", "Lab", dist= 18), nrow=3)
diff --git a/win32/deps/library/grDevices/demo/hclColors.R b/win32/deps/library/grDevices/demo/hclColors.R
new file mode 100644
index 00000000..57e446ca
--- /dev/null
+++ b/win32/deps/library/grDevices/demo/hclColors.R
@@ -0,0 +1,63 @@
+### ------ hcl() explorations
+
+hcl.wheel <-
+    function(chroma = 35, lums = 0:100, hues = 1:360, asp = 1,
+             p.cex = 0.6, do.label = FALSE, rev.lum = FALSE,
+             fixup = TRUE)
+{
+    ## Purpose: show chroma "sections" of hcl() color space; see  ?hcl
+    ## ----------------------------------------------------------------------
+    ## Arguments: chroma: can be vector -> multiple plots are done,
+    ##            lums, hues, fixup : all corresponding to hcl()'s args
+    ##            rev.lum: logical indicating if luminance
+    ##                         should go from outer to inner
+    ## ----------------------------------------------------------------------
+    ## Author: Martin Maechler, Date: 24 Jun 2005
+
+    require("graphics")
+    stopifnot(is.numeric(lums), lums >= 0, lums <= 100,
+              is.numeric(hues), hues >= 0, hues <= 360,
+              is.numeric(chroma), chroma >= 0, (nch <- length(chroma)) >= 1)
+    if(is.unsorted(hues)) hues <- sort(hues)
+    if(nch > 1) {
+        op <- par(mfrow= n2mfrow(nch), mar = c(0,0,0,0))
+        on.exit(par(op))
+    }
+    for(i.c in 1:nch) {
+        plot(-1:1,-1:1, type="n", axes = FALSE, xlab="",ylab="", asp = asp)
+        ## main = sprintf("hcl(h = <angle>, c = %g)", chroma[i.c]),
+        text(0.4, 0.99, paste("chroma =", format(chroma[i.c])),
+             adj = 0, font = 4)
+        l.s <- (if(rev.lum) rev(lums) else lums) / max(lums) # <= 1
+        for(ang in hues) { # could do all this using outer() instead of for()...
+            a. <- ang * pi/180
+            z.a <- exp(1i * a.)
+            cols <- hcl(ang, c = chroma[i.c], l = lums, fixup = fixup)
+            points(l.s * z.a, pch = 16, col = cols, cex = p.cex)
+            ##if(do."text") : draw the 0,45,90,... angle "lines"
+            if(do.label)
+                text(z.a*1.05, labels = ang, col = cols[length(cols)/2],
+                     srt = ang)
+        }
+        if(!fixup) ## show the outline
+            lines(exp(1i * hues * pi/180))
+   }
+   invisible()
+}
+
+## and now a few interesting calls :
+
+hcl.wheel() # and watch it redraw when you fiddle with the graphic window
+hcl.wheel(rev.lum= TRUE) # ditto
+hcl.wheel(do.lab = TRUE) # ditto
+
+
+## Now watch:
+hcl.wheel(ch = c(25,35,45,55))
+
+hcl.wheel(ch = seq(10, 90, by = 10), p.cex = 0.4)
+hcl.wheel(ch = seq(10, 90, by = 10), p.cex = 0.3, fixup = FALSE)
+hcl.wheel(ch = seq(10, 90, by = 10), p.cex = 0.3, rev.lum = TRUE)
+if(dev.interactive()) # new "graphics window" -- to compare with previous :
+    dev.new()
+hcl.wheel(ch = seq(10, 90, by = 10), p.cex = 0.3, rev.lum = TRUE, fixup=FALSE)
diff --git a/win32/deps/library/grDevices/libs/x64/Rbitmap.dll 
b/win32/deps/library/grDevices/libs/x64/Rbitmap.dll
new file mode 100644
index 00000000..06831668
Binary files /dev/null and b/win32/deps/library/grDevices/libs/x64/Rbitmap.dll differ
diff --git a/win32/deps/library/grDevices/libs/x64/grDevices.dll 
b/win32/deps/library/grDevices/libs/x64/grDevices.dll
new file mode 100644
index 00000000..a7573bdd
Binary files /dev/null and b/win32/deps/library/grDevices/libs/x64/grDevices.dll differ
diff --git a/win32/deps/library/grDevices/libs/x64/winCairo.dll 
b/win32/deps/library/grDevices/libs/x64/winCairo.dll
new file mode 100644
index 00000000..a549600a
Binary files /dev/null and b/win32/deps/library/grDevices/libs/x64/winCairo.dll differ
diff --git a/win32/deps/library/graphics/libs/i386/graphics.dll 
b/win32/deps/library/graphics/libs/i386/graphics.dll
new file mode 100644
index 00000000..5a27ffd7
Binary files /dev/null and b/win32/deps/library/graphics/libs/i386/graphics.dll differ
diff --git a/win32/deps/library/graphics/libs/x64/graphics.dll 
b/win32/deps/library/graphics/libs/x64/graphics.dll
new file mode 100644
index 00000000..533d1ab5
Binary files /dev/null and b/win32/deps/library/graphics/libs/x64/graphics.dll differ
diff --git a/win32/deps/library/methods/libs/x64/methods.dll b/win32/deps/library/methods/libs/x64/methods.dll
new file mode 100644
index 00000000..b9479a69
Binary files /dev/null and b/win32/deps/library/methods/libs/x64/methods.dll differ
diff --git a/win32/deps/library/splines/libs/x64/splines.dll b/win32/deps/library/splines/libs/x64/splines.dll
new file mode 100644
index 00000000..7a20fb6c
Binary files /dev/null and b/win32/deps/library/splines/libs/x64/splines.dll differ
diff --git a/win32/deps/library/stats/libs/x64/stats.dll b/win32/deps/library/stats/libs/x64/stats.dll
new file mode 100644
index 00000000..26f25d22
Binary files /dev/null and b/win32/deps/library/stats/libs/x64/stats.dll differ
diff --git a/win32/deps/library/stats/tests/glm.R b/win32/deps/library/stats/tests/glm.R
new file mode 100644
index 00000000..2772d500
--- /dev/null
+++ b/win32/deps/library/stats/tests/glm.R
@@ -0,0 +1,7 @@
+## Example in which the fit for the null deviance fails to converge:
+# https://stat.ethz.ch/pipermail/r-help/2012-May/313161.html
+Y <- c(rep(0,35),1,2,0,6,8,16,43)
+beta <- 42:1
+cst <- lchoose(42, beta)
+tau <- (beta^2)/2
+fit <- glm(formula = Y ~ offset(cst) + beta + tau, family = poisson)
diff --git a/win32/deps/library/stats/tests/glm.Rout.save b/win32/deps/library/stats/tests/glm.Rout.save
new file mode 100644
index 00000000..a216a240
--- /dev/null
+++ b/win32/deps/library/stats/tests/glm.Rout.save
@@ -0,0 +1,32 @@
+
+R version 3.0.2 RC (2013-09-22 r63960) -- "Frisbee Sailing"
+Copyright (C) 2013 The R Foundation for Statistical Computing
+Platform: x86_64-unknown-linux-gnu (64-bit)
+
+R is free software and comes with ABSOLUTELY NO WARRANTY.
+You are welcome to redistribute it under certain conditions.
+Type 'license()' or 'licence()' for distribution details.
+
+R is a collaborative project with many contributors.
+Type 'contributors()' for more information and
+'citation()' on how to cite R or R packages in publications.
+
+Type 'demo()' for some demos, 'help()' for on-line help, or
+'help.start()' for an HTML browser interface to help.
+Type 'q()' to quit R.
+
+> ## Example in which the fit for the null deviance fails to converge:
+> # https://stat.ethz.ch/pipermail/r-help/2012-May/313161.html
+> Y <- c(rep(0,35),1,2,0,6,8,16,43)
+> beta <- 42:1
+> cst <- lchoose(42, beta)
+> tau <- (beta^2)/2
+> fit <- glm(formula = Y ~ offset(cst) + beta + tau, family = poisson)
+Warning messages:
+1: glm.fit: algorithm did not converge 
+2: In glm(formula = Y ~ offset(cst) + beta + tau, family = poisson) :
+  fitting to calculate the null deviance did not converge -- increase 'maxit'?
+> 
+> proc.time()
+   user  system elapsed 
+  0.215   0.021   0.231 
diff --git a/win32/deps/library/utils/libs/i386/utils.dll b/win32/deps/library/utils/libs/i386/utils.dll
new file mode 100644
index 00000000..ece4e6d6
Binary files /dev/null and b/win32/deps/library/utils/libs/i386/utils.dll differ
diff --git a/win32/deps/library/utils/libs/x64/utils.dll b/win32/deps/library/utils/libs/x64/utils.dll
new file mode 100644
index 00000000..7532bf77
Binary files /dev/null and b/win32/deps/library/utils/libs/x64/utils.dll differ


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]