diff options
author | sada <sada@FreeBSD.org> | 1999-08-13 01:47:17 +0800 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 1999-08-13 01:47:17 +0800 |
commit | 232df3992d9bde87d6c6bbae049870b859333bdd (patch) | |
tree | 9cbe029bcd51b9c56be06c6eec6f462a256805ed /graphics/gimp-app | |
parent | 9e32f36fb100797b0b0376078ff43471e8ed5c39 (diff) | |
download | freebsd-ports-graphics-232df3992d9bde87d6c6bbae049870b859333bdd.tar.gz freebsd-ports-graphics-232df3992d9bde87d6c6bbae049870b859333bdd.tar.zst freebsd-ports-graphics-232df3992d9bde87d6c6bbae049870b859333bdd.zip |
Upgrade to 1.1.8.
PR: ports/13004
Submitted by: maintainer
Diffstat (limited to 'graphics/gimp-app')
-rw-r--r-- | graphics/gimp-app/files/gimp.setfont | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/graphics/gimp-app/files/gimp.setfont b/graphics/gimp-app/files/gimp.setfont index 9523db675a9..fb92c6b9d8b 100644 --- a/graphics/gimp-app/files/gimp.setfont +++ b/graphics/gimp-app/files/gimp.setfont @@ -5,7 +5,7 @@ # by MANTANI Nobutaka <nobutaka@nobutaka.com> $progname = "gimp.setfont"; -$version = "Version 0.1 Mar 1 1999"; +$version = "Version 0.2 Aug 1 1999"; # Show usage sub usage() { @@ -26,6 +26,7 @@ Usage: gimp.setfont <language> polish -*-helvetica-(iso8859-2) russian -*-helvetica-(koi8-r) swedish -*-helvetica-(iso8859-1) + norwegian -*-helvetica-(iso8859-1) ---------------------------------------------------------------- EOF @@ -74,7 +75,6 @@ EOF } } - $lang = $ARGV[0]; $fontset = ""; @@ -246,5 +246,18 @@ EOF exit; } +if ($lang eq "norwegian") { + $fontset = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1"; + print "Setting for Norwegian language...\n\n"; + + write_gtkrc($fontset); + + print <<EOF; +Please set "LANG" environment variable to "no_NO.ISO_8859-1" and execute "gimp". + +EOF + exit; +} + usage(); exit; |