From e002a729ca22fcb12e425f46c47ba61547f4fbb1 Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Wed, 23 Jun 1999 10:50:31 +0000 Subject: [PATCH] added gtkrc.* files for all encodings I know --- gtk/Makefile.am | 44 +++++++++++++++++++-------------- gtk/gtkrc.iso88592 | 12 +++++++++ gtk/gtkrc.iso88595 | 12 +++++++++ gtk/gtkrc.ka_GE.georgianacademy | 18 ++++++++++++++ gtk/gtkrc.ka_GE.georgianps | 17 +++++++++++++ gtk/gtkrc.ru | 15 +++++++++-- gtk/gtkrc.th | 17 ++++++++----- gtk/gtkrc.uk | 14 +++++++++++ gtk/gtkrc.vi_VN.tcvn | 19 ++++++++++++++ gtk/gtkrc.vi_VN.viscii | 18 ++++++++++++++ gtk/gtkrc.zh_CN | 14 +++++++++++ gtk/gtkrc.zh_TW | 14 +++++++++++ 12 files changed, 187 insertions(+), 27 deletions(-) create mode 100644 gtk/gtkrc.iso88592 create mode 100644 gtk/gtkrc.iso88595 create mode 100644 gtk/gtkrc.ka_GE.georgianacademy create mode 100644 gtk/gtkrc.ka_GE.georgianps create mode 100644 gtk/gtkrc.uk create mode 100644 gtk/gtkrc.vi_VN.tcvn create mode 100644 gtk/gtkrc.vi_VN.viscii create mode 100644 gtk/gtkrc.zh_CN create mode 100644 gtk/gtkrc.zh_TW diff --git a/gtk/Makefile.am b/gtk/Makefile.am index ffc635c683..59213574ea 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -314,9 +314,11 @@ libgtk_la_LDFLAGS = \ # $(top_builddir)/gdk/libgdk.la gtkconfdir = $(sysconfdir)/gtk -gtkconf_DATA = gtkrc gtkrc.cs gtkrc.el gtkrc.eo gtkrc.he gtkrc.hr gtkrc.hu \ - gtkrc.hy gtkrc.ja gtkrc.ko gtkrc.pl gtkrc.ru gtkrc.sk gtkrc.sl \ - gtkrc.sr gtkrc.tr gtkrc.th +gtkconf_DATA = gtkrc gtkrc.el gtkrc.eo gtkrc.he gtkrc.hy gtkrc.ja \ + gtkrc.ko gtkrc.ru gtkrc.tr gtkrc.th gtkrc.uk \ + gtkrc.iso88592 gtkrc.iso88595 gtkrc.zh_CN gtkrc.zh_TW \ + gtkrc.ka_GE.georgianacademy gtkrc.ka_GE.georgianps \ + gtkrc.vi_VN.tcvn gtkrc.vi_VN.viscii gtkrc: : @@ -327,11 +329,31 @@ install-data-local: $(mkinstalldirs) $(DESTDIR)$(datadir)/themes/Default/gtk echo "# Empty gtkrc for default theme" > \ $(DESTDIR)$(datadir)/themes/Default/gtk/gtkrc + cd $(DESTDIR)$(gtkconfdir) ; \ + ln gtkrc.iso88592 gtkrc.cs ; \ + ln gtkrc.iso88592 gtkrc.hr ; \ + ln gtkrc.iso88592 gtkrc.hu ; \ + ln gtkrc.iso88592 gtkrc.pl ; \ + ln gtkrc.iso88592 gtkrc.ro ; \ + ln gtkrc.iso88592 gtkrc.sk ; \ + ln gtkrc.iso88592 gtkrc.sl ; \ + ln gtkrc.iso88592 gtkrc.sq ; \ + ln gtkrc.iso88592 gtkrc.sr_YU.iso88592 ; \ + ln gtkrc.iso88595 gtkrc.bg ; \ + ln gtkrc.iso88595 gtkrc.mk ; \ + ln gtkrc.iso88595 gtkrc.sr ; \ + ln gtkrc.iso88595 gtkrc.ru_RU.iso88595 ; \ + $(LN_S) gtkrc.ka_GE.georgianacademy gtkrc.ka ; \ + ln gtkrc.vi_VN.viscii gtkrc.vi_VN.viscii111 ; \ + ln gtkrc.vi_VN.tcvn gtkrc.vi_VN.tcvn5712 ; \ + $(LN_S) gtkrc.vi_VN.tcvn5712 gtkrc.vi + uninstall-local: rm -f $(DESTDIR)$(datadir)/themes/Default/gtkrc EXTRA_DIST = \ + $(gtkconf_DATA) \ line-arrow.xbm \ line-wrap.xbm \ testgtk.1 \ @@ -362,22 +384,6 @@ EXTRA_DIST = \ tree_plus.xbm \ tree_minus.xbm \ circles.xbm \ - gtkrc.cs \ - gtkrc.el \ - gtkrc.eo \ - gtkrc.he \ - gtkrc.hr \ - gtkrc.hu \ - gtkrc.hy \ - gtkrc.ja \ - gtkrc.ko \ - gtkrc.pl \ - gtkrc.ru \ - gtkrc.sk \ - gtkrc.sl \ - gtkrc.sr \ - gtkrc.tr \ - gtkrc.th \ gtk.def \ makefile.msc diff --git a/gtk/gtkrc.iso88592 b/gtk/gtkrc.iso88592 new file mode 100644 index 0000000000..cfe71a2e48 --- /dev/null +++ b/gtk/gtkrc.iso88592 @@ -0,0 +1,12 @@ +#$(gtkconfigdir)/gtkrc.iso88592 +# +# This file defines the fontsets for iso-8859-2 encoding +# make symliks or hardlinks to gtkrc.$LANG if your language uses iso-8859-2 +# and a gtkrc.$LANG doesn't exist yet. + +style "default" { + fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\ + -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-2" +} +class "GtkWidget" style "default" + diff --git a/gtk/gtkrc.iso88595 b/gtk/gtkrc.iso88595 new file mode 100644 index 0000000000..34ab1dbbff --- /dev/null +++ b/gtk/gtkrc.iso88595 @@ -0,0 +1,12 @@ +#$(gtkconfigdir)/gtkrc.iso88595 +# +# This file defines the fontsets for iso-8859-5 encoding +# make symliks or hardlinks to gtkrc.$LANG if your language uses iso-8859-5 +# and a gtkrc.$LANG doesn't exist yet. + +style "default" { + fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\ + -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-5" +} +class "GtkWidget" style "default" + diff --git a/gtk/gtkrc.ka_GE.georgianacademy b/gtk/gtkrc.ka_GE.georgianacademy new file mode 100644 index 0000000000..7c35b9a1bb --- /dev/null +++ b/gtk/gtkrc.ka_GE.georgianacademy @@ -0,0 +1,18 @@ +# $(gtkconfigdir)/gtkrc.ka_GE.georgianacademy +# +# This file defines the fontsets for Georgian language (ka) using +# the GEORGIAN-ACADEMY charset encoding. +# +# You can find links for georgian-academy True Type fonts following the +# links at my page on georgian localisation at +# http://www.ping.be/linux/georgian/ +# +# 1999, Pablo Saratxaga +# + +style "default" { + fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\ + -*-*-medium-r-normal--14-*-*-*-*-*-georgian-academy" +} +class "GtkWidget" style "default" + diff --git a/gtk/gtkrc.ka_GE.georgianps b/gtk/gtkrc.ka_GE.georgianps new file mode 100644 index 0000000000..21c87eab59 --- /dev/null +++ b/gtk/gtkrc.ka_GE.georgianps @@ -0,0 +1,17 @@ +# $(gtkconfigdir)/gtkrc.ka_GE.georgianps +# +# This file defines the fontsets for Georgian language (ka) using +# the GEORGIAN-PS (Parliament-Soros found) charset encoding. +# +# You can find links for georgian-ps True Type fonts following the +# links at my page on georgian local +# +# 1999, Pablo Saratxaga +# + +style "default" { + fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\ + -*-*-medium-r-normal--14-*-*-*-*-*-georgian-ps" +} +class "GtkWidget" style "default" + diff --git a/gtk/gtkrc.ru b/gtk/gtkrc.ru index 727b124d1b..a52ef174e4 100644 --- a/gtk/gtkrc.ru +++ b/gtk/gtkrc.ru @@ -1,6 +1,17 @@ +# $(gtkconfigdir)/gtkrc.ru +# +# This file defines the fontsets for Russian language (ru) using +# the KOI8-R charset encoding. +# +# 1999, Pablo Saratxaga +# +# Changelog: +# 1999-06-23: changed -cronyx-helvetica-...koi8-r to -*-helvetica-...koi8-r +# everybody doesn't has cronyx fonts (I haven't :) ) + style "default" { - fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-*,\ - -cronyx-helvetica-medium-r-normal--12-*-*-*-*-*-koi8-r" + fontset = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1,\ + -*-helvetica-medium-r-normal--14-*-*-*-*-*-koi8-r" } class "GtkWidget" style "default" diff --git a/gtk/gtkrc.th b/gtk/gtkrc.th index 20cc50b5fd..91dad95efd 100644 --- a/gtk/gtkrc.th +++ b/gtk/gtkrc.th @@ -1,10 +1,15 @@ +# $(gtkconfigdir)/gtkrc.th +# +# This file defines the fontsets for Thai language (th) using +# the TIS-620 charset encoding. +# +# 1999, Pablo Saratxaga +# + style "default" { - fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\ - -*-phaisarn-medium-r-normal--12-*-*-*-*-*-tis620.2533-0,\ - -*-*-medium-r-normal--12-*-*-*-*-*-tis620.2533-1,\ - -*-*-medium-r-normal--12-*-*-*-*-*-tis620.2529-0,\ - -*-*-medium-r-normal--12-*-*-*-*-*-tis620.2529-1,\ - -*-*-medium-r-normal--12-*-*-*-*-*-iso8859-11" + fontset = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1,\ + -*-phaisarn-medium-r-normal--14-*-*-*-*-*-tis620.2533-1,\ + -*-*-medium-r-normal--14-*-*-*-*-*-tis620.2533-1" } class "GtkWidget" style "default" diff --git a/gtk/gtkrc.uk b/gtk/gtkrc.uk new file mode 100644 index 0000000000..91a5dbda40 --- /dev/null +++ b/gtk/gtkrc.uk @@ -0,0 +1,14 @@ +# $(gtkconfigdir)/gtkrc.uk +# +# This file defines the fontsets for Ukrainian language (uk) using +# the KOI8-U charset encoding. +# +# 1999, Pablo Saratxaga +# + +style "default" { + fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\ + -*-helvetica-medium-r-normal--14-*-*-*-*-*-koi8-u" +} +class "GtkWidget" style "default" + diff --git a/gtk/gtkrc.vi_VN.tcvn b/gtk/gtkrc.vi_VN.tcvn new file mode 100644 index 0000000000..57db2481ed --- /dev/null +++ b/gtk/gtkrc.vi_VN.tcvn @@ -0,0 +1,19 @@ +# $(gtkconfigdir)/gtkrc.vi_VN.tcvn +# +# +# This file defines the fontsets for Vietnamese language (vi) using +# the Vietnam's official tcvn-5712 charset encoding. +# +# You can find links for tcvn True Type fonts following the +# links at my page on vietnamese localisation at +# http://www.ping.be/linux/viet/ +# +# 1999, Pablo Saratxaga +# + +style "default" { + fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\ + -*-verdana-medium-r-normal--14-*-*-*-*-*-tcvn-5712" +} +class "GtkWidget" style "default" + diff --git a/gtk/gtkrc.vi_VN.viscii b/gtk/gtkrc.vi_VN.viscii new file mode 100644 index 0000000000..9769c63443 --- /dev/null +++ b/gtk/gtkrc.vi_VN.viscii @@ -0,0 +1,18 @@ +# $(gtkconfigdir)/gtkrc.vi_VN.viscii +# +# This file defines the fontsets for Vietnamese language (vi) using +# the viscii 1.1 charset encoding. +# +# You can find links for viscii True Type fonts following the +# links at my page on vietnamese localisation at +# http://www.ping.be/linux/viet/ +# +# 1999, Pablo Saratxaga +# + +style "default" { + fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\ + -*-verdana-medium-r-normal--14-*-*-*-*-*-viscii1.1-1" +} +class "GtkWidget" style "default" + diff --git a/gtk/gtkrc.zh_CN b/gtk/gtkrc.zh_CN new file mode 100644 index 0000000000..e72b6787fb --- /dev/null +++ b/gtk/gtkrc.zh_CN @@ -0,0 +1,14 @@ +# $(gtkconfigdir)/gtkrc.zh_CN +# +# This file defines the fontsets for Chinese language (zh) using +# the simplified chinese standard GuoBiao as in mainland China (CN) +# +# 1999, Pablo Saratxaga +# + +style "default" { + fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\ + -*-*-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0" +} +class "GtkWidget" style "default" + diff --git a/gtk/gtkrc.zh_TW b/gtk/gtkrc.zh_TW new file mode 100644 index 0000000000..37b01e66f9 --- /dev/null +++ b/gtk/gtkrc.zh_TW @@ -0,0 +1,14 @@ +# $(gtkconfigdir)/gtkrc.zh_TW +# +# This file defines the fontsets for Chinese language (ch) using +# the traditional chinese Big5 encoding as used in Taiwan (TW) +# +# 1999, Pablo Saratxaga +# + +style "default" { + fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\ + -*-*-medium-r-normal--14-*-*-*-*-*-big5-0" +} +class "GtkWidget" style "default" +