New installers: 2018-06-12
* Closes #14: add fontconfig configuration files
38
README.md
@ -9,49 +9,49 @@ My efforts here will focus on creating a **64-bit version** of the GTK+-2 runtim
|
|||||||
|
|
||||||
The installers can be found in the [releases section](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases).
|
The installers can be found in the [releases section](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases).
|
||||||
|
|
||||||
The current releases ([gtk2-runtime-2.24.32-2018-03-12-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2018-03-12/gtk2-runtime-2.24.32-2018-03-12-ts-win64.exe) and [gtk3-runtime-3.22.28-2018-03-12-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2018-03-12/gtk3-runtime-3.22.28-2018-03-12-ts-win64.exe)) were obtained entirely from the excellent [MSYS2 project](https://www.msys2.org), and were **not** compiled by myself, as was the case for releases made before 2017. Users who want to compile against this runtime are strongly encouraged to set up a MSYS2 installation themselves, and install the required packages (compiled with the mingw-w64-x86\_64 toolchain!!!).
|
The current releases ([gtk2-runtime-2.24.32-2018-06-12-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2018-06-12/gtk2-runtime-2.24.32-2018-06-12-ts-win64.exe) and [gtk3-runtime-3.22.30-2018-06-12-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2018-06-12/gtk3-runtime-3.22.30-2018-06-12-ts-win64.exe)) were obtained entirely from the excellent [MSYS2 project](https://www.msys2.org), and were **not** compiled by myself, as was the case for releases made before 2017. Users who want to compile against this runtime are strongly encouraged to set up a MSYS2 installation themselves, and install the required packages (compiled with the mingw-w64-x86\_64 toolchain!!!).
|
||||||
|
|
||||||
The following packages are included in the current GTK+-2/3 installers
|
The following packages are included in the current GTK+-2/3 installers
|
||||||
|
|
||||||
* [adwaita icon theme](http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/) (3.26.1)
|
* [adwaita icon theme](http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/) (3.28.0)
|
||||||
* [atk](http://ftp.gnome.org/pub/GNOME/sources/atk/) (2.26.1)
|
* [atk](http://ftp.gnome.org/pub/GNOME/sources/atk/) (2.28.1)
|
||||||
* [atkmm](http://ftp.gnome.org/pub/GNOME/sources/atkmm/) (2.26.0)
|
* [atkmm](http://ftp.gnome.org/pub/GNOME/sources/atkmm/) (2.26.0)
|
||||||
* [cairo](http://cairographics.org/releases/) (1.15.10)
|
* [cairo](http://cairographics.org/releases/) (1.15.12)
|
||||||
* [cairomm](http://cairographics.org/releases/) (1.12.0)
|
* [cairomm](http://cairographics.org/releases/) (1.12.2)
|
||||||
* [fontconfig](http://www.freedesktop.org/software/fontconfig/release/) (2.12.6)
|
* [fontconfig](http://www.freedesktop.org/software/fontconfig/release/) (2.13.0)
|
||||||
* [freetype](http://www.freetype.org/download.html) (2.9)
|
* [freetype](http://www.freetype.org/download.html) (2.9.1)
|
||||||
* [gdk-pixbuf](http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/) (2.36.11)
|
* [gdk-pixbuf](http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/) (2.36.12)
|
||||||
* [gettext](http://ftp.gnu.org/pub/gnu/gettext/) (0.19.8.1)
|
* [gettext](http://ftp.gnu.org/pub/gnu/gettext/) (0.19.8.1)
|
||||||
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.54.3)
|
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.56.1)
|
||||||
* [glib-networking](http://ftp.gnome.org/pub/GNOME/sources/glib-networking/) (2.54.1)
|
* [glib-networking](http://ftp.gnome.org/pub/GNOME/sources/glib-networking/) (2.56.1)
|
||||||
* [glibmm](http://ftp.gnome.org/pub/GNOME/sources/glibmm/) (2.54.1)
|
* [glibmm](http://ftp.gnome.org/pub/GNOME/sources/glibmm/) (2.56.0)
|
||||||
* [gtk2](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (2.24.32)
|
* [gtk2](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (2.24.32)
|
||||||
* [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.22.28)
|
* [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.22.30)
|
||||||
* [gtkmm2](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (2.24.4)
|
* [gtkmm2](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (2.24.4)
|
||||||
* [gtkmm3](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (3.22.0)
|
* [gtkmm3](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (3.22.0)
|
||||||
* [gtksourceview2](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (2.10.5)
|
* [gtksourceview2](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (2.10.5)
|
||||||
* [gtksourceview3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (3.24.6)
|
* [gtksourceview3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (3.24.6)
|
||||||
* ~~[gtksourceviewmm2](http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/) (2.10.3)~~ (currently unavailable)
|
* ~~[gtksourceviewmm2](http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/) (2.10.3)~~ (currently unavailable)
|
||||||
* [gtksourceviewmm3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/) (3.21.3)
|
* [gtksourceviewmm3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/) (3.21.3)
|
||||||
* [harfbuzz](http://www.freedesktop.org/software/harfbuzz/release/) (1.7.5)
|
* [harfbuzz](http://www.freedesktop.org/software/harfbuzz/release/) (1.8.0)
|
||||||
* [hicolor-icon-theme](http://icon-theme.freedesktop.org/releases/) (0.15)
|
* [hicolor-icon-theme](http://icon-theme.freedesktop.org/releases/) (0.15)
|
||||||
* [json-glib](http://ftp.gnome.org/pub/gnome/sources/json-glib/) (1.4.2)
|
* [json-glib](http://ftp.gnome.org/pub/gnome/sources/json-glib/) (1.4.2)
|
||||||
* [libepoxy](https://github.com/anholt/libepoxy) (1.5.0)
|
* [libepoxy](https://github.com/anholt/libepoxy) (1.5.2)
|
||||||
* [libffi](http://sourceware.org/libffi/) (3.2.1)
|
* [libffi](http://sourceware.org/libffi/) (3.2.1)
|
||||||
* [libiconv](https://ftp.gnu.org/pub/gnu/libiconv/) (1.15)
|
* [libiconv](https://ftp.gnu.org/pub/gnu/libiconv/) (1.15)
|
||||||
* [libpng](http://sourceforge.net/project/showfiles.php?group_id=5624) (1.6.34)
|
* [libpng](http://sourceforge.net/project/showfiles.php?group_id=5624) (1.6.34)
|
||||||
* [librsvg](http://ftp.gnome.org/pub/GNOME/sources/librsvg/) (2.40.20)
|
* [librsvg](http://ftp.gnome.org/pub/GNOME/sources/librsvg/) (2.40.20)
|
||||||
* [libsigc++](http://ftp.gnome.org/pub/GNOME/sources/libsigc++/) (2.10.0)
|
* [libsigc++](http://ftp.gnome.org/pub/GNOME/sources/libsigc++/) (2.10.0)
|
||||||
* [libsoup](http://ftp.gnome.org/pub/GNOME/sources/libsoup/) (2.60.3)
|
* [libsoup](http://ftp.gnome.org/pub/GNOME/sources/libsoup/) (2.62.2)
|
||||||
* [libxml2](http://xmlsoft.org/sources/) (2.9.7)
|
* [libxml2](http://xmlsoft.org/sources/) (2.9.8)
|
||||||
* [libxml++2](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (2.40.0)
|
* [libxml++2](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (2.40.0)
|
||||||
* [libxml++3](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (3.0.0)
|
* [libxml++3](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (3.0.0)
|
||||||
* [libxslt](http://xmlsoft.org/sources/) (1.1.32)
|
* [libxslt](http://xmlsoft.org/sources/) (1.1.32)
|
||||||
* [pango](http://ftp.gnome.org/pub/GNOME/sources/pango/) (1.40.11)
|
* [pango](http://ftp.gnome.org/pub/GNOME/sources/pango/) (1.42.1)
|
||||||
* [pangomm](http://ftp.gnome.org/pub/GNOME/sources/pangomm/) (2.40.0)
|
* [pangomm](http://ftp.gnome.org/pub/GNOME/sources/pangomm/) (2.40.0)
|
||||||
* [pcre](ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/) (8.41)
|
* [pcre](ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/) (8.42)
|
||||||
* [pixman](http://cairographics.org/releases/) (0.34.0)
|
* [pixman](http://cairographics.org/releases/) (0.34.0)
|
||||||
* [sqlite](https://www.sqlite.org) (3.21.0)
|
* [sqlite](https://www.sqlite.org) (3.24.0)
|
||||||
* [zlib](http://www.zlib.net) (1.2.11)
|
* [zlib](http://www.zlib.net) (1.2.11)
|
||||||
|
|
||||||
For all other information regarding how to use the installer, the reader is kindly referred to [Alexander Shaduri's website](http://gtk-win.sourceforge.net) of the GTK for Windows runtime environment installer. The only difference with the installers found at his website is that mine DO NOT have the `compatdlls` option, but this should present no problems to any user.
|
For all other information regarding how to use the installer, the reader is kindly referred to [Alexander Shaduri's website](http://gtk-win.sourceforge.net) of the GTK for Windows runtime environment installer. The only difference with the installers found at his website is that mine DO NOT have the `compatdlls` option, but this should present no problems to any user.
|
||||||
|
BIN
gtk-nsis-pack/bin/libfribidi-0.dll
Normal file
@ -22,6 +22,8 @@ INSTALL_SRC_MSYS2_BIN=${INSTALL_SRC_MSYS2}/bin
|
|||||||
INSTALL_SRC_MSYS2_LIB=${INSTALL_SRC_MSYS2}/lib
|
INSTALL_SRC_MSYS2_LIB=${INSTALL_SRC_MSYS2}/lib
|
||||||
INSTALL_SRC_SSL="${INSTALL_SRC_DIR}"/ssl
|
INSTALL_SRC_SSL="${INSTALL_SRC_DIR}"/ssl
|
||||||
INSTALL_SRC_MSYS2_SSL=${INSTALL_SRC_MSYS2}/ssl
|
INSTALL_SRC_MSYS2_SSL=${INSTALL_SRC_MSYS2}/ssl
|
||||||
|
INSTALL_SRC_ETC="${INSTALL_SRC_DIR}"/etc
|
||||||
|
INSTALL_SRC_MSYS2_ETC=${INSTALL_SRC_MSYS2}/etc
|
||||||
|
|
||||||
# Create installer file name
|
# Create installer file name
|
||||||
INSTALLER_FILENAME=gtk3-runtime-${_VERSION}-${_DATE}-${_ARCH}.msi
|
INSTALLER_FILENAME=gtk3-runtime-${_VERSION}-${_DATE}-${_ARCH}.msi
|
||||||
@ -46,6 +48,7 @@ cp $INSTALL_SRC_MSYS2_BIN/libexslt-0.dll $INSTALL_SRC_BIN
|
|||||||
cp $INSTALL_SRC_MSYS2_BIN/libffi-6.dll $INSTALL_SRC_BIN
|
cp $INSTALL_SRC_MSYS2_BIN/libffi-6.dll $INSTALL_SRC_BIN
|
||||||
cp $INSTALL_SRC_MSYS2_BIN/libfontconfig-1.dll $INSTALL_SRC_BIN
|
cp $INSTALL_SRC_MSYS2_BIN/libfontconfig-1.dll $INSTALL_SRC_BIN
|
||||||
cp $INSTALL_SRC_MSYS2_BIN/libfreetype-6.dll $INSTALL_SRC_BIN
|
cp $INSTALL_SRC_MSYS2_BIN/libfreetype-6.dll $INSTALL_SRC_BIN
|
||||||
|
cp $INSTALL_SRC_MSYS2_BIN/libfribidi-0.dll $INSTALL_SRC_BIN
|
||||||
cp $INSTALL_SRC_MSYS2_BIN/libgailutil-3-0.dll $INSTALL_SRC_BIN
|
cp $INSTALL_SRC_MSYS2_BIN/libgailutil-3-0.dll $INSTALL_SRC_BIN
|
||||||
cp $INSTALL_SRC_MSYS2_BIN/libgailutil-18.dll $INSTALL_SRC_BIN
|
cp $INSTALL_SRC_MSYS2_BIN/libgailutil-18.dll $INSTALL_SRC_BIN
|
||||||
cp $INSTALL_SRC_MSYS2_BIN/libgdk_pixbuf-2.0-0.dll $INSTALL_SRC_BIN
|
cp $INSTALL_SRC_MSYS2_BIN/libgdk_pixbuf-2.0-0.dll $INSTALL_SRC_BIN
|
||||||
@ -179,6 +182,11 @@ mkdir -p $INSTALL_SRC_SSL/certs
|
|||||||
cd $INSTALL_SRC_MSYS2_SSL/certs
|
cd $INSTALL_SRC_MSYS2_SSL/certs
|
||||||
cp ca-bundle.crt ca-bundle.trust.crt $INSTALL_SRC_SSL/certs/
|
cp ca-bundle.crt ca-bundle.trust.crt $INSTALL_SRC_SSL/certs/
|
||||||
|
|
||||||
|
# Copy fontconfig stuff (see issue #14)
|
||||||
|
mkdir -p $INSTALL_SRC_ETC/fonts
|
||||||
|
cd $INSTALL_SRC_MSYS2_ETC/fonts
|
||||||
|
cp -a * $INSTALL_SRC_ETC/fonts/
|
||||||
|
|
||||||
|
|
||||||
# librsvg depends on:
|
# librsvg depends on:
|
||||||
# gdk-pixbuf2 pango libcroco
|
# gdk-pixbuf2 pango libcroco
|
||||||
|
19
gtk-nsis-pack/etc/fonts/conf.d/10-hinting-slight.conf
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Set hintslight to hintstyle</description>
|
||||||
|
|
||||||
|
<match target="pattern">
|
||||||
|
<!--
|
||||||
|
This configuration is available on the major desktop environments.
|
||||||
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
Most clients may picks up the first value only. so using "append"
|
||||||
|
may simply works to avoid it.
|
||||||
|
-->
|
||||||
|
<edit name="hintstyle" mode="append"><const>hintslight</const></edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
87
gtk-nsis-pack/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Bitmap scaling</description>
|
||||||
|
<!--
|
||||||
|
If font is bitmap, calculate scale factor.
|
||||||
|
Note that color bitmap fonts have scalable=true, while
|
||||||
|
non-color ones have scalable=false. Both groups have outline=false.
|
||||||
|
-->
|
||||||
|
<match target="font">
|
||||||
|
<test name="outline" 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>
|
||||||
|
<!--
|
||||||
|
For non-scalable bitmap fonts (ie. non-color), skip
|
||||||
|
minor scaling if hinting is enabled.
|
||||||
|
-->
|
||||||
|
<match target="font">
|
||||||
|
<test name="outline" compare="eq">
|
||||||
|
<bool>false</bool>
|
||||||
|
</test>
|
||||||
|
<test name="scalable" compare="eq">
|
||||||
|
<bool>false</bool>
|
||||||
|
</test>
|
||||||
|
<test name="hinting" compare="eq">
|
||||||
|
<bool>true</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>
|
||||||
|
<match target="font">
|
||||||
|
<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="outline" 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>
|
53
gtk-nsis-pack/etc/fonts/conf.d/20-unhint-small-vera.conf
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Disable hinting for Bitstream Vera fonts when the size is less than 8ppem</description>
|
||||||
|
<!--
|
||||||
|
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>
|
634
gtk-nsis-pack/etc/fonts/conf.d/30-metric-aliases.conf
Normal file
@ -0,0 +1,634 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Set substitutions for similar/metric-compatible families</description>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
Alias similar/metric-compatible families from various sources:
|
||||||
|
|
||||||
|
PostScript fonts: URW fonts: GUST fonts: Windows fonts:
|
||||||
|
====================== ================== ================= ==================
|
||||||
|
Helvetica Nimbus Sans TeX Gyre Heros
|
||||||
|
Helvetica Narrow Nimbus Sans Narrow TeX Gyre Heros Cn
|
||||||
|
Times Nimbus Roman TeX Gyre Termes
|
||||||
|
Courier Nimbus Mono PS TeX Gyre Cursor
|
||||||
|
ITC Avant Garde Gothic URW Gothic TeX Gyre Adventor
|
||||||
|
ITC Bookman URW Bookman TeX Gyre Bonum Bookman Old Style
|
||||||
|
ITC Zapf Chancery Z003 TeX Gyre Chorus
|
||||||
|
Palatino P052 TeX Gyre Pagella Palatino Linotype
|
||||||
|
New Century Schoolbook C059 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
|
||||||
|
|
||||||
|
NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
|
||||||
|
upstream now includes them in their release of (URW)++ Core Font Set here:
|
||||||
|
https://github.com/ArtifexSoftware/urw-base35-fonts/tree/master/fontconfig
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Map specifics to generics -->
|
||||||
|
|
||||||
|
<!-- PostScript -->
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Nimbus Sans L</family>
|
||||||
|
<default>
|
||||||
|
<family>Helvetica</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Nimbus Sans</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>Nimbus Sans Narrow</family>
|
||||||
|
<default>
|
||||||
|
<family>Helvetica Narrow</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>TeX Gyre Heros Cn</family>
|
||||||
|
<default>
|
||||||
|
<family>Helvetica Narrow</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Nimbus Roman No9 L</family>
|
||||||
|
<default>
|
||||||
|
<family>Times</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Nimbus Roman</family>
|
||||||
|
<default>
|
||||||
|
<family>Times</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<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>Nimbus Mono</family>
|
||||||
|
<default>
|
||||||
|
<family>Courier</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Nimbus Mono PS</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>URW Gothic</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>Bookman URW</family>
|
||||||
|
<default>
|
||||||
|
<family>ITC Bookman</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>URW Bookman</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>Chancery URW</family>
|
||||||
|
<default>
|
||||||
|
<family>ITC Zapf Chancery</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Z003</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>Palladio URW</family>
|
||||||
|
<default>
|
||||||
|
<family>Palatino</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>P052</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>Century SchoolBook URW</family>
|
||||||
|
<default>
|
||||||
|
<family>New Century Schoolbook</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>C059</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 Narrow</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 Narrow</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>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Helvetica Narrow</family>
|
||||||
|
<accept>
|
||||||
|
<family>TeX Gyre Heros Cn</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Times</family>
|
||||||
|
<accept>
|
||||||
|
<family>TeX Gyre Termes</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Courier</family>
|
||||||
|
<accept>
|
||||||
|
<family>TeX Gyre Cursor</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>ITC Avant Garde Gothic</family>
|
||||||
|
<accept>
|
||||||
|
<family>TeX Gyre Adventor</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>ITC Bookman</family>
|
||||||
|
<accept>
|
||||||
|
<family>Bookman Old Style</family>
|
||||||
|
<family>TeX Gyre Bonum</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>ITC Zapf Chancery</family>
|
||||||
|
<accept>
|
||||||
|
<family>TeX Gyre Chorus</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Palatino</family>
|
||||||
|
<accept>
|
||||||
|
<family>Palatino Linotype</family>
|
||||||
|
<family>TeX Gyre Pagella</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>New Century Schoolbook</family>
|
||||||
|
<accept>
|
||||||
|
<family>Century Schoolbook</family>
|
||||||
|
<family>TeX Gyre Schola</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>
|
236
gtk-nsis-pack/etc/fonts/conf.d/40-nonlatin.conf
Normal file
@ -0,0 +1,236 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Set substitutions for non-Latin fonts</description>
|
||||||
|
<!--
|
||||||
|
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>
|
136
gtk-nsis-pack/etc/fonts/conf.d/45-generic.conf
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Set substitutions for emoji/math fonts</description>
|
||||||
|
|
||||||
|
<!-- Keep in sync with 60-generic.conf -->
|
||||||
|
|
||||||
|
<!-- Emoji -->
|
||||||
|
|
||||||
|
<!-- System emoji -->
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Noto Color Emoji</family> <!-- Google -->
|
||||||
|
<default><family>emoji</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Apple Color Emoji</family> <!-- Apple -->
|
||||||
|
<default><family>emoji</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Segoe UI Emoji</family> <!-- Microsoft -->
|
||||||
|
<default><family>emoji</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Twitter Color Emoji</family> <!-- Twitter -->
|
||||||
|
<default><family>emoji</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>EmojiOne Mozilla</family> <!-- Mozilla -->
|
||||||
|
<default><family>emoji</family></default>
|
||||||
|
</alias>
|
||||||
|
<!-- Third-party emoji -->
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Emoji Two</family>
|
||||||
|
<default><family>emoji</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Emoji One</family>
|
||||||
|
<default><family>emoji</family></default>
|
||||||
|
</alias>
|
||||||
|
<!-- B&W -->
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Noto Emoji</family> <!-- Google -->
|
||||||
|
<default><family>emoji</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Android Emoji</family> <!-- Google -->
|
||||||
|
<default><family>emoji</family></default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- Add language for emoji, to match other emoji fonts. -->
|
||||||
|
<match>
|
||||||
|
<test name="family">
|
||||||
|
<string>emoji</string>
|
||||||
|
</test>
|
||||||
|
<edit name="lang" mode="prepend">
|
||||||
|
<string>und-zsye</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
<match>
|
||||||
|
<test name="lang">
|
||||||
|
<string>und-zsye</string>
|
||||||
|
</test>
|
||||||
|
<test qual="all" name="family" compare="not_eq">
|
||||||
|
<string>emoji</string>
|
||||||
|
</test>
|
||||||
|
|
||||||
|
<!-- Add generic family. -->
|
||||||
|
<edit name="family" mode="append" binding="strong">
|
||||||
|
<string>emoji</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Math -->
|
||||||
|
|
||||||
|
<!-- https://en.wikipedia.org/wiki/Category:Mathematical_OpenType_typefaces -->
|
||||||
|
<alias binding="same">
|
||||||
|
<family>XITS Math</family> <!-- Khaled Hosny -->
|
||||||
|
<default><family>math</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>STIX Two Math</family> <!-- AMS -->
|
||||||
|
<default><family>math</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Cambria Math</family> <!-- Microsoft -->
|
||||||
|
<default><family>math</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Latin Modern Math</family> <!-- TeX -->
|
||||||
|
<default><family>math</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Minion Math</family> <!-- Adobe -->
|
||||||
|
<default><family>math</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Lucida Math</family> <!-- Adobe -->
|
||||||
|
<default><family>math</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Asana Math</family>
|
||||||
|
<default><family>math</family></default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- Add language for math, to match other math fonts. -->
|
||||||
|
<match>
|
||||||
|
<test name="family">
|
||||||
|
<string>math</string>
|
||||||
|
</test>
|
||||||
|
<edit name="lang" mode="prepend">
|
||||||
|
<string>und-zmth</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
<match>
|
||||||
|
<test name="lang">
|
||||||
|
<string>und-zmth</string>
|
||||||
|
</test>
|
||||||
|
<test qual="all" name="family" compare="not_eq">
|
||||||
|
<string>math</string>
|
||||||
|
</test>
|
||||||
|
|
||||||
|
<!-- Add generic family -->
|
||||||
|
<edit name="family" mode="append" binding="strong">
|
||||||
|
<string>math</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
|
||||||
|
</fontconfig>
|
278
gtk-nsis-pack/etc/fonts/conf.d/45-latin.conf
Normal file
@ -0,0 +1,278 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Set substitutions for Latin fonts</description>
|
||||||
|
<!--
|
||||||
|
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>Cambria</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Constantia</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>DejaVu Serif</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Elephant</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Garamond</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Georgia</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Liberation Serif</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Luxi Serif</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>MS Serif</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Nimbus Roman No9 L</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Nimbus Roman</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Palatino Linotype</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>Times New Roman</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Times</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<!--
|
||||||
|
Sans-serif faces
|
||||||
|
-->
|
||||||
|
<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>Arial Unicode MS</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Arial</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Bitstream Vera Sans</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Britannic</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Calibri</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Candara</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Century Gothic</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Corbel</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>DejaVu Sans</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Helvetica</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Haettenschweiler</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Liberation Sans</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>MS Sans Serif</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Nimbus Sans L</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Nimbus Sans</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Luxi Sans</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Tahoma</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Trebuchet MS</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Twentieth Century</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Verdana</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<!--
|
||||||
|
Monospace faces
|
||||||
|
-->
|
||||||
|
<alias>
|
||||||
|
<family>Andale Mono</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Bitstream Vera Sans Mono</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Consolas</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>Cumberland AMT</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Cumberland</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>DejaVu Sans Mono</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Fixedsys</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Inconsolata</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Liberation Mono</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Luxi Mono</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Nimbus Mono L</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Nimbus Mono</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Nimbus Mono PS</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Terminal</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
<!--
|
||||||
|
Fantasy faces
|
||||||
|
-->
|
||||||
|
<alias>
|
||||||
|
<family>Bauhaus Std</family>
|
||||||
|
<default><family>fantasy</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Cooper Std</family>
|
||||||
|
<default><family>fantasy</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Copperplate Gothic Std</family>
|
||||||
|
<default><family>fantasy</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Impact</family>
|
||||||
|
<default><family>fantasy</family></default>
|
||||||
|
</alias>
|
||||||
|
<!--
|
||||||
|
Cursive faces
|
||||||
|
-->
|
||||||
|
<alias>
|
||||||
|
<family>Comic Sans MS</family>
|
||||||
|
<default><family>cursive</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>ITC Zapf Chancery Std</family>
|
||||||
|
<default><family>cursive</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Zapfino</family>
|
||||||
|
<default><family>cursive</family></default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
26
gtk-nsis-pack/etc/fonts/conf.d/49-sansserif.conf
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Add sans-serif to the family when no generic name</description>
|
||||||
|
<!--
|
||||||
|
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>
|
20
gtk-nsis-pack/etc/fonts/conf.d/50-user.conf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Load per-user customization files</description>
|
||||||
|
<!--
|
||||||
|
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>
|
11
gtk-nsis-pack/etc/fonts/conf.d/51-local.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Load local customization file</description>
|
||||||
|
<!-- Load local system customization file -->
|
||||||
|
<include ignore_missing="yes">local.conf</include>
|
||||||
|
</fontconfig>
|
67
gtk-nsis-pack/etc/fonts/conf.d/60-generic.conf
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Set preferable fonts for emoji/math fonts</description>
|
||||||
|
<!-- Keep in sync with 45-generic.conf -->
|
||||||
|
|
||||||
|
<!-- Emoji -->
|
||||||
|
|
||||||
|
<!-- Prefer to match color emoji font. -->
|
||||||
|
<match>
|
||||||
|
<test name="lang">
|
||||||
|
<string>und-zsye</string>
|
||||||
|
</test>
|
||||||
|
<test qual="all" name="color" compare="not_eq">
|
||||||
|
<bool>true</bool>
|
||||||
|
</test>
|
||||||
|
<test qual="all" name="color" compare="not_eq">
|
||||||
|
<bool>false</bool>
|
||||||
|
</test>
|
||||||
|
<edit name="color" mode="append">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
<!-- TODO
|
||||||
|
! Match on "color" and alias B&W ones first if no color is requested.
|
||||||
|
! That's "hard" because <alias> doesn't work in match and needs to be
|
||||||
|
! expanded to its non-sugar form.
|
||||||
|
!-->
|
||||||
|
<alias binding="same">
|
||||||
|
<family>emoji</family>
|
||||||
|
<prefer>
|
||||||
|
<!-- System fonts -->
|
||||||
|
<family>Noto Color Emoji</family> <!-- Google -->
|
||||||
|
<family>Apple Color Emoji</family> <!-- Apple -->
|
||||||
|
<family>Segoe UI Emoji</family> <!-- Microsoft -->
|
||||||
|
<family>Twitter Color Emoji</family> <!-- Twitter -->
|
||||||
|
<family>EmojiOne Mozilla</family> <!-- Mozilla -->
|
||||||
|
<!-- Third-Party fonts -->
|
||||||
|
<family>Emoji Two</family>
|
||||||
|
<family>Emoji One</family>
|
||||||
|
<!-- Non-color -->
|
||||||
|
<family>Noto Emoji</family> <!-- Google -->
|
||||||
|
<family>Android Emoji</family> <!-- Google -->
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- Math -->
|
||||||
|
<alias binding="same">
|
||||||
|
<!-- https://en.wikipedia.org/wiki/Category:Mathematical_OpenType_typefaces -->
|
||||||
|
<family>math</family>
|
||||||
|
<prefer>
|
||||||
|
<family>XITS Math</family> <!-- Khaled Hosny -->
|
||||||
|
<family>STIX Two Math</family> <!-- AMS -->
|
||||||
|
<family>Cambria Math</family> <!-- Microsoft -->
|
||||||
|
<family>Latin Modern Math</family> <!-- TeX -->
|
||||||
|
<family>Minion Math</family> <!-- Adobe -->
|
||||||
|
<family>Lucida Math</family> <!-- Adobe -->
|
||||||
|
<family>Asana Math</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
79
gtk-nsis-pack/etc/fonts/conf.d/60-latin.conf
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Set preferable fonts for Latin</description>
|
||||||
|
<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>Nimbus Roman</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>Nimbus Sans</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>Nimbus Mono</family>
|
||||||
|
<family>Nimbus Mono PS</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>
|
423
gtk-nsis-pack/etc/fonts/conf.d/65-fonts-persian.conf
Normal file
@ -0,0 +1,423 @@
|
|||||||
|
<?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>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- 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>
|
200
gtk-nsis-pack/etc/fonts/conf.d/65-nonlatin.conf
Normal file
@ -0,0 +1,200 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Set preferable fonts for non-Latin</description>
|
||||||
|
<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) -->
|
||||||
|
<family>Microsoft YaHei</family> <!-- han (zh-cn,zh-tw) -->
|
||||||
|
<family>Microsoft JhengHei</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>
|
32
gtk-nsis-pack/etc/fonts/conf.d/69-unifont.conf
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<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>
|
23
gtk-nsis-pack/etc/fonts/conf.d/80-delicious.conf
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<!-- 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>
|
68
gtk-nsis-pack/etc/fonts/conf.d/90-synthetic.conf
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
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>regular</const>
|
||||||
|
</test>
|
||||||
|
<!-- check to see if the pattern requests bold -->
|
||||||
|
<test target="pattern" name="weight" compare="more_eq">
|
||||||
|
<const>bold</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>
|
23
gtk-nsis-pack/etc/fonts/conf.d/README
Normal file
@ -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
|
94
gtk-nsis-pack/etc/fonts/fonts.conf
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<!-- /etc/fonts/fonts.conf file to configure system font access -->
|
||||||
|
<fontconfig>
|
||||||
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||||
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||||
|
</its:rules>
|
||||||
|
|
||||||
|
<description>Default configuration file</description>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
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>/var/cache/fontconfig</cachedir>
|
||||||
|
<cachedir prefix="xdg">fontconfig</cachedir>
|
||||||
|
<!-- the following element will be removed in the future -->
|
||||||
|
<cachedir>~/.fontconfig</cachedir>
|
||||||
|
|
||||||
|
<config>
|
||||||
|
<!--
|
||||||
|
Rescan configuration every 30 seconds when FcFontSetList is called
|
||||||
|
-->
|
||||||
|
<rescan>
|
||||||
|
<int>30</int>
|
||||||
|
</rescan>
|
||||||
|
</config>
|
||||||
|
|
||||||
|
</fontconfig>
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
!define GTK_VERSION "2.24.32"
|
!define GTK_VERSION "2.24.32"
|
||||||
!define GTK_BIN_VERSION "2.10.0"
|
!define GTK_BIN_VERSION "2.10.0"
|
||||||
!define PRODUCT_VERSION "${GTK_VERSION}-2018-03-12-ts-win64"
|
!define PRODUCT_VERSION "${GTK_VERSION}-2018-06-12-ts-win64"
|
||||||
!define PRODUCT_NAME "GTK2-Runtime Win64"
|
!define PRODUCT_NAME "GTK2-Runtime Win64"
|
||||||
!define PRODUCT_PUBLISHER "Tom Schoonjans"
|
!define PRODUCT_PUBLISHER "Tom Schoonjans"
|
||||||
!define PRODUCT_WEB_SITE "https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer"
|
!define PRODUCT_WEB_SITE "https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer"
|
||||||
@ -242,6 +242,7 @@ SectionIn 1 2 RO
|
|||||||
File bin\libffi-6.dll ; libffi is required by glib
|
File bin\libffi-6.dll ; libffi is required by glib
|
||||||
File bin\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
|
File bin\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
|
||||||
File bin\libfreetype-6.dll ; freetype is needed for ft2 pango backend
|
File bin\libfreetype-6.dll ; freetype is needed for ft2 pango backend
|
||||||
|
File bin\libfribidi-0.dll ; fribidi is needed for pango
|
||||||
File bin\libgailutil-18.dll ; from gtk
|
File bin\libgailutil-18.dll ; from gtk
|
||||||
File bin\libgdk_pixbuf-2.0-0.dll ; from gtk
|
File bin\libgdk_pixbuf-2.0-0.dll ; from gtk
|
||||||
File bin\libgdk-win32-2.0-0.dll ; from gtk
|
File bin\libgdk-win32-2.0-0.dll ; from gtk
|
||||||
@ -311,6 +312,7 @@ SectionIn 1 2 RO
|
|||||||
File /r etc\gtk-2.0
|
File /r etc\gtk-2.0
|
||||||
SetOverwrite On
|
SetOverwrite On
|
||||||
|
|
||||||
|
File /r etc\fonts
|
||||||
|
|
||||||
SetOutPath "$INSTDIR\lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}"
|
SetOutPath "$INSTDIR\lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}"
|
||||||
File lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}\loaders.cache
|
File lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}\loaders.cache
|
||||||
@ -602,6 +604,7 @@ Function un.DeleteDlls
|
|||||||
Delete $LIB_INSTDIR\libffi-6.dll ; libffi is required by glib
|
Delete $LIB_INSTDIR\libffi-6.dll ; libffi is required by glib
|
||||||
Delete $LIB_INSTDIR\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
|
Delete $LIB_INSTDIR\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
|
||||||
Delete $LIB_INSTDIR\libfreetype-6.dll ; freetype is needed for ft2 pango backend
|
Delete $LIB_INSTDIR\libfreetype-6.dll ; freetype is needed for ft2 pango backend
|
||||||
|
Delete $LIB_INSTDIR\libfribidi-0.dll
|
||||||
Delete $LIB_INSTDIR\libgailutil-18.dll ; from gtk
|
Delete $LIB_INSTDIR\libgailutil-18.dll ; from gtk
|
||||||
Delete $LIB_INSTDIR\libgdk_pixbuf-2.0-0.dll ; from gtk
|
Delete $LIB_INSTDIR\libgdk_pixbuf-2.0-0.dll ; from gtk
|
||||||
Delete $LIB_INSTDIR\libgdk-win32-2.0-0.dll ; from gtk
|
Delete $LIB_INSTDIR\libgdk-win32-2.0-0.dll ; from gtk
|
||||||
@ -759,14 +762,10 @@ Section Uninstall
|
|||||||
skip_config:
|
skip_config:
|
||||||
|
|
||||||
|
|
||||||
;Delete "$INSTDIR\etc\fonts\fonts.conf"
|
Delete "$INSTDIR\etc\fonts\fonts.conf"
|
||||||
;RMDir "$INSTDIR\etc\fonts" ; only if empty
|
RMDir /r "$INSTDIR\etc\fonts\conf.d"
|
||||||
;Delete "$INSTDIR\etc\pango\pango.modules"
|
RMDir "$INSTDIR\etc\fonts" ; only if empty
|
||||||
;RMDir "$INSTDIR\etc\pango" ; only if empty
|
|
||||||
; Delete "$INSTDIR\etc\gtk-2.0\gdk-pixbuf.loaders"
|
|
||||||
;Delete "$INSTDIR\etc\gtk-2.0\gtk.immodules"
|
|
||||||
Delete "$INSTDIR\etc\gtk-2.0\gtkrc.default"
|
Delete "$INSTDIR\etc\gtk-2.0\gtkrc.default"
|
||||||
;Delete "$INSTDIR\etc\gtk-2.0\im-multipress.conf"
|
|
||||||
RMDir "$INSTDIR\etc\gtk-2.0" ; only if empty
|
RMDir "$INSTDIR\etc\gtk-2.0" ; only if empty
|
||||||
RMDir "$INSTDIR\etc" ; only if empty
|
RMDir "$INSTDIR\etc" ; only if empty
|
||||||
|
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
; Directory and package names: gtk3-runtime.
|
; Directory and package names: gtk3-runtime.
|
||||||
|
|
||||||
|
|
||||||
!define GTK_VERSION "3.22.28"
|
!define GTK_VERSION "3.22.30"
|
||||||
!define GTK_BIN_VERSION "3.0.0"
|
!define GTK_BIN_VERSION "3.0.0"
|
||||||
!define PRODUCT_VERSION "${GTK_VERSION}-2018-03-12-ts-win64"
|
!define PRODUCT_VERSION "${GTK_VERSION}-2018-06-12-ts-win64"
|
||||||
!define PRODUCT_NAME "GTK3-Runtime Win64"
|
!define PRODUCT_NAME "GTK3-Runtime Win64"
|
||||||
!define PRODUCT_PUBLISHER "Tom Schoonjans"
|
!define PRODUCT_PUBLISHER "Tom Schoonjans"
|
||||||
!define PRODUCT_WEB_SITE "https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer"
|
!define PRODUCT_WEB_SITE "https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer"
|
||||||
@ -242,6 +242,7 @@ SectionIn 1 2 RO
|
|||||||
File bin\libffi-6.dll ; libffi is required by glib2
|
File bin\libffi-6.dll ; libffi is required by glib2
|
||||||
File bin\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
|
File bin\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
|
||||||
File bin\libfreetype-6.dll ; freetype is needed for ft2 pango backend
|
File bin\libfreetype-6.dll ; freetype is needed for ft2 pango backend
|
||||||
|
File bin\libfribidi-0.dll ; fribidi is needed for pango
|
||||||
File bin\libgailutil-3-0.dll ; from gtk
|
File bin\libgailutil-3-0.dll ; from gtk
|
||||||
File bin\libgdk_pixbuf-2.0-0.dll ; from gtk
|
File bin\libgdk_pixbuf-2.0-0.dll ; from gtk
|
||||||
File bin\liblzma-5.dll ; from gtk
|
File bin\liblzma-5.dll ; from gtk
|
||||||
@ -321,6 +322,7 @@ SectionIn 1 2 RO
|
|||||||
SetOverwrite off
|
SetOverwrite off
|
||||||
File /r etc\gtk-3.0
|
File /r etc\gtk-3.0
|
||||||
SetOverwrite On
|
SetOverwrite On
|
||||||
|
File /r etc\fonts
|
||||||
|
|
||||||
|
|
||||||
SetOutPath "$INSTDIR\lib\gdk-pixbuf-2.0\2.10.0"
|
SetOutPath "$INSTDIR\lib\gdk-pixbuf-2.0\2.10.0"
|
||||||
@ -622,6 +624,7 @@ Function un.DeleteDlls
|
|||||||
Delete $LIB_INSTDIR\libffi-6.dll ; libffi is required by glib
|
Delete $LIB_INSTDIR\libffi-6.dll ; libffi is required by glib
|
||||||
Delete $LIB_INSTDIR\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
|
Delete $LIB_INSTDIR\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
|
||||||
Delete $LIB_INSTDIR\libfreetype-6.dll ; freetype is needed for ft2 pango backend
|
Delete $LIB_INSTDIR\libfreetype-6.dll ; freetype is needed for ft2 pango backend
|
||||||
|
Delete $LIB_INSTDIR\libfribidi-0.dll
|
||||||
Delete $LIB_INSTDIR\libgailutil-3-0.dll ; from gtk
|
Delete $LIB_INSTDIR\libgailutil-3-0.dll ; from gtk
|
||||||
Delete $LIB_INSTDIR\libgdk_pixbuf-2.0-0.dll ; from gtk
|
Delete $LIB_INSTDIR\libgdk_pixbuf-2.0-0.dll ; from gtk
|
||||||
Delete $LIB_INSTDIR\liblzma-5.dll ; from gtk
|
Delete $LIB_INSTDIR\liblzma-5.dll ; from gtk
|
||||||
@ -790,13 +793,9 @@ Section Uninstall
|
|||||||
skip_config:
|
skip_config:
|
||||||
|
|
||||||
|
|
||||||
;Delete "$INSTDIR\etc\fonts\fonts.conf"
|
Delete "$INSTDIR\etc\fonts\fonts.conf"
|
||||||
;RMDir "$INSTDIR\etc\fonts" ; only if empty
|
RMDir /r "$INSTDIR\etc\fonts\conf.d"
|
||||||
;Delete "$INSTDIR\etc\pango\pango.modules"
|
RMDir "$INSTDIR\etc\fonts" ; only if empty
|
||||||
;RMDir "$INSTDIR\etc\pango" ; only if empty
|
|
||||||
; Delete "$INSTDIR\etc\gtk-2.0\gdk-pixbuf.loaders"
|
|
||||||
;Delete "$INSTDIR\etc\gtk-2.0\gtk.immodules"
|
|
||||||
;Delete "$INSTDIR\etc\gtk-2.0\gtkrc.default"
|
|
||||||
Delete "$INSTDIR\etc\gtk-3.0\im-multipress.conf"
|
Delete "$INSTDIR\etc\gtk-3.0\im-multipress.conf"
|
||||||
Delete "$INSTDIR\etc\gtk-3.0\settings.ini"
|
Delete "$INSTDIR\etc\gtk-3.0\settings.ini"
|
||||||
RMDir "$INSTDIR\etc\gtk-3.0" ; only if empty
|
RMDir "$INSTDIR\etc\gtk-3.0" ; only if empty
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# GdkPixbuf Image Loader Modules file
|
# GdkPixbuf Image Loader Modules file
|
||||||
# Automatically generated file, do not edit
|
# Automatically generated file, do not edit
|
||||||
# Created by gdk-pixbuf-query-loaders.exe from gdk-pixbuf-2.36.11
|
# Created by gdk-pixbuf-query-loaders.exe from gdk-pixbuf-2.36.12
|
||||||
#
|
#
|
||||||
# LoaderDir = C:\msys64\mingw64/lib/gdk-pixbuf-2.0/2.10.0/loaders
|
# LoaderDir = C:\msys64\mingw64\lib\gdk-pixbuf-2.0\2.10.0\loaders
|
||||||
#
|
#
|
||||||
"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-ani.dll"
|
"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-ani.dll"
|
||||||
"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
|
"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
|
||||||
|
Before Width: | Height: | Size: 961 B After Width: | Height: | Size: 753 B |
Before Width: | Height: | Size: 781 B After Width: | Height: | Size: 659 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 826 B |
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 563 B After Width: | Height: | Size: 436 B |