]> code.delx.au - refind/blobdiff - fonts/mkfont.sh
Added rudimentary debconf support for Debian package.
[refind] / fonts / mkfont.sh
index 2f035e516c7ec223015cc82f126cfbbf36b8a20f..0f87fa28fa049829092eb80f571ae5175c2688e5 100755 (executable)
@@ -1,5 +1,12 @@
 #!/bin/bash
 #
+# copyright (c) 2013 by Roderick W. Smith
+#
+# This program is licensed under the terms of the GNU GPL, version 3,
+# or (at your option) any later version.
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
 # Program to generate a PNG file suitable for use as a rEFInd font
 # To obtain a list of available font names, type:
 #
@@ -39,6 +46,7 @@ fi
 
 Height=$2
 let CellWidth=(${Height}*6+5)/10
+#let CellWidth=(${Height}*5)/10
 let Width=${CellWidth}*96
 echo "Creating ${Width}x${Height} font bitmap...."
 $Convert -size ${Width}x${Height} xc:transparent -gravity NorthWest -font $1 -pointsize $2 \