From 26a0741a46dbe1cdef229734e5e84d422f86c45d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 13 Jul 2014 08:44:01 -0400 Subject: write_fbcon(): Add "_WxH" to id, idx, and name --- 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", $_); -- cgit v0.9.1