diff options
-rwxr-xr-x | bin/bdf2fbcon | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon index fb145ad..0085b19 100755 --- a/bin/bdf2fbcon +++ b/bin/bdf2fbcon @@ -318,6 +318,9 @@ sub write_fbcon $font->{'name'} = $font->{'idx'}; $font->{'id'} = lc($font->{'id'}); $font->{'id'} =~ s/[^a-z0-9_]/_/g; + $font->{'id'} .= '_' . $font->{'width'} . 'x' . $font->{'height'}; + $font->{'idx'} .= '_' . $font->{'width'} . 'x' . $font->{'height'}; + $font->{'name'} .= '_' . $font->{'width'} . 'x' . $font->{'height'}; for (@{$font->{'comments'}}) { printf($output_fh "/* %s */\n", $_); |