summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2007-11-03 03:52:58 +0000
committerTor Lillqvist <tml@src.gnome.org>2007-11-03 03:52:58 +0000
commitacf1ca420ff317342db0ee7c365b8dd41b7941c3 (patch)
treedae71822ef30dd7547fe4d4facaa1bf1ee9a0060
parentaf4e1ec94ff91603dfc093035455513576e5228c (diff)
downloadpango-acf1ca420ff317342db0ee7c365b8dd41b7941c3.tar.gz
New file. Installed as pango.aliases on Windows.
2007-11-03 Tor Lillqvist <tml@novell.com> * pango.aliases.win32: New file. Installed as pango.aliases on Windows. * Makefile.am: Distribute it, install it. svn path=/branches/pango-1-18/; revision=2491
-rw-r--r--ChangeLog7
-rw-r--r--Makefile.am6
-rw-r--r--pango.aliases.win3223
3 files changed, 36 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 672b91bf..42717d9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-11-03 Tor Lillqvist <tml@novell.com>
+
+ * pango.aliases.win32: New file. Installed as pango.aliases on
+ Windows.
+
+ * Makefile.am: Distribute it, install it.
+
2007-11-02 Tor Lillqvist <tml@novell.com>
* pango/pango-utils.c (read_alias_file): Accept also a quoted
diff --git a/Makefile.am b/Makefile.am
index c8dc1a2a..38782815 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,6 +16,7 @@ EXTRA_DIST = \
pangoxft-uninstalled.pc.in \
pangoft2-uninstalled.pc.in \
pangowin32-uninstalled.pc.in \
+ pango.aliases.win32 \
ChangeLog.pre-1-0 \
ChangeLog.pre-1-2 \
ChangeLog.pre-1-4 \
@@ -72,4 +73,9 @@ if HAVE_WIN32
pkgconfig_DATA += pangowin32.pc
endif
+if OS_WIN32
+install-data-local: pango.aliases.win32
+ $(INSTALL) $(srcdir)/pango.aliases.win32 $(DESTDIR)$(sysconfdir)/pango/pango.aliases
+endif
+
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-doc-cross-references
diff --git a/pango.aliases.win32 b/pango.aliases.win32
new file mode 100644
index 00000000..a0fed983
--- /dev/null
+++ b/pango.aliases.win32
@@ -0,0 +1,23 @@
+# Default pango.aliases file used on Windows
+
+courier = "courier new"
+
+# Segoe UI is the default system font on Vista
+"segoe ui" = "segoe ui,arial unicode ms,browallia new,mingliu,simhei,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
+# Tahoma on XP
+tahoma = "tahoma,arial unicode ms,browallia new,mingliu,simhei,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
+
+# The standard pseudo fonts
+
+# It sucks to use the same GulimChe, MS Gothic, Sylfaen, Kartika,
+# Latha, Mangal and Raavi fonts for all three of sans, serif and
+# mono, but it isn't like there would be much choice. For most
+# non-Latin scripts that Windows includes any font at all for, it
+# has ony one. One solution is to install the free DejaVu fonts
+# that are popular on Linux. They are listed here first.
+
+sans = "dejavu sans,tahoma,arial unicode ms,browallia new,mingliu,simhei,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
+sans-serif = "dejavu sans,tahoma,arial unicode ms,browallia new,mingliu,simhei,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
+serif = "dejavu serif,georgia,angsana new,mingliu,simsun,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
+mono = "dejavu sans mono,courier new,courier monothai,mingliu,simsun,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
+monospace = "dejavu sans mono,courier new,courier monothai,mingliu,simsun,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"