Update font attribution.

This commit is contained in:
Robbie Antenesse 2016-04-06 15:06:15 -06:00
parent f7adca5a79
commit 9c2e2ba64d
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ function randomSmidge() {
function drawPixelText(text, x, y, wrapWidth, color, size) {
// Draw the text at the given x and y on the canvas using the alphabet images.
// Remember to set the pixel scale for x and y when you call the function!
// 4x4 font from http://pixeljoint.com/forum/forum_posts.asp?TID=18755&PID=185995#185995
// 5x6 font from http://atariage.com/forums/topic/165697-fonts/page-4#entry2081600
// 4x4 font modified from http://pixeljoint.com/forum/forum_posts.asp?TID=18755&PID=185995#185995
// 5x6 font modified from http://atariage.com/forums/topic/165697-fonts/page-4#entry2081600
text = text.toString().toUpperCase();
var letterSizeX = ((size == 6) ? size - 1 : size) * OS.S.pixelScale;