diff options
author | SADA Kenji <sada@FreeBSD.org> | 1999-08-12 17:47:17 +0000 |
---|---|---|
committer | SADA Kenji <sada@FreeBSD.org> | 1999-08-12 17:47:17 +0000 |
commit | 3bb7477cc99d018887e81e2b11fc7d92013164d4 (patch) | |
tree | 0df504c53346856b4802445f69a798725f2da1f7 /graphics/gimp-app | |
parent | 16968e569660bad44ad0dfbe4c401ef122c7ba18 (diff) | |
download | ports-3bb7477cc99d018887e81e2b11fc7d92013164d4.tar.gz ports-3bb7477cc99d018887e81e2b11fc7d92013164d4.zip |
Notes
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 9523db675a9d..fb92c6b9d8bf 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; |