aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-devel
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>1999-10-20 06:06:31 +0800
committersada <sada@FreeBSD.org>1999-10-20 06:06:31 +0800
commite034345e59aefa7ca2718ca39c891ce4356f3cb4 (patch)
treed9dc0128480b0a47e9a2a004c41043f7ee4f93e3 /graphics/gimp-devel
parent65a84375a5ad845b9aaf9babd8ec88714d953dca (diff)
downloadfreebsd-ports-gnome-e034345e59aefa7ca2718ca39c891ce4356f3cb4.tar.gz
freebsd-ports-gnome-e034345e59aefa7ca2718ca39c891ce4356f3cb4.tar.zst
freebsd-ports-gnome-e034345e59aefa7ca2718ca39c891ce4356f3cb4.zip
Upgrade to 1.1.10.
PR: ports/14196 Submitted by: Maintainer
Diffstat (limited to 'graphics/gimp-devel')
-rw-r--r--graphics/gimp-devel/files/gimp.setfont49
1 files changed, 42 insertions, 7 deletions
diff --git a/graphics/gimp-devel/files/gimp.setfont b/graphics/gimp-devel/files/gimp.setfont
index fb92c6b9d8bf..5fd43b8498b3 100644
--- a/graphics/gimp-devel/files/gimp.setfont
+++ b/graphics/gimp-devel/files/gimp.setfont
@@ -5,7 +5,7 @@
# by MANTANI Nobutaka <nobutaka@nobutaka.com>
$progname = "gimp.setfont";
-$version = "Version 0.2 Aug 1 1999";
+$version = "Version 0.3 Sep 22 1999";
# Show usage
sub usage() {
@@ -14,21 +14,26 @@ Usage: gimp.setfont <language>
----------------------------------------------------------------
[language] [fontset]
+ czech -*-fixed-(iso8859-2)
+ danish -*-helvetica-(iso8859-1)
dutch -*-helvetica-(iso8859-1)
english -*-helvetica-(iso8859-1)
finnish -*-helvetica-(iso8859-1)
french -*-helvetica-(iso8859-1)
german -*-helvetica-(iso8859-1)
- hungarian -*-helvetica-(iso8859-2)
+ hungarian -*-fixed-(iso8859-2)
italian -*-helvetica-(iso8859-1)
japanese -*-fixed-(iso8859-1,jisx0201,jisx0208)
- korean -*-fixed-(iso8859-1)/-daewoo-gothic-(ksc5601)
- polish -*-helvetica-(iso8859-2)
+ korean -*-fixed-(iso8859-1),-daewoo-gothic-(ksc5601)
+ polish -*-fixed-(iso8859-2)
russian -*-helvetica-(koi8-r)
swedish -*-helvetica-(iso8859-1)
norwegian -*-helvetica-(iso8859-1)
----------------------------------------------------------------
+If you need iso8859-2 fonts, please install etlfonts
+(ports/x11-fonts/etlfonts).
+
EOF
}
@@ -40,11 +45,11 @@ sub write_gtkrc($) {
if (-d $path) {
if (-e "$path/gtkrc") {
chmod(0644, "$path/gtkrc");
- print "renaming $path/gtkrc to ${path}/gtkrc.old...\n";
+ print "Renaming $path/gtkrc to ${path}/gtkrc.old...\n";
rename($path, "${path}/gtkrc.old");
}
- print "writing $path/gtkrc...\n";
+ print "Writing $path/gtkrc...\n";
open(FILE, ">$path/gtkrc");
print FILE <<EOF;
\# style <name> [= <name>]
@@ -89,6 +94,36 @@ if (@ARGV != 1) {
exit;
}
+if ($lang eq "czech") {
+ $fontset = "-*-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-2";
+
+ print "Setting for Czech language...\n\n";
+
+ write_gtkrc($fontset);
+
+ print <<EOF;
+Please set "LANG" environment variable to "cs_CZ.ISO8859-2" and execute "gimp".
+And please make symbolic link from lt_LN.ISO_8859-2 to cs_CZ.ISO8859-2 in
+/usr/share/locale.
+
+EOF
+ exit;
+}
+
+if ($lang eq "danish") {
+ $fontset = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1";
+
+ print "Setting for Danish language...\n\n";
+
+ write_gtkrc($fontset);
+
+ print <<EOF;
+Please set "LANG" environment variable to "da_DK.ISO_8859-1" and execute "gimp".
+
+EOF
+ exit;
+}
+
if ($lang eq "dutch") {
$fontset = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1";
@@ -156,7 +191,7 @@ EOF
}
if ($lang eq "hungarian") {
- $fontset = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-2";
+ $fontset = "-*-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-2";
print "Setting for Hungarian language...\n\n";
write_gtkrc($fontset);