summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/lang.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 3a3791115..91535a88c 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -511,6 +511,17 @@ sub get_x_fontset {
($big, $small);
}
+sub fs_options {
+ my ($lang) = @_;
+ my $l = $languages{$lang} or return;
+ my $c = $charsets{$l->[1]} or return;
+ my ($iocharset, $codepage) = @$c[3..4];
+ +{
+ if_($iocharset, iocharset => $iocharset),
+ if_($codepage, codepage => $codepage),
+ };
+}
+
sub charset {
my ($lang, $prefix) = @_;
my $l = $languages{$lang} && $languages{$lang}[2];