Files
Terrarum/src/com/Torvald/ImageFont/GameFontBlack.java
Song Minjae 954076d944 better console command parsing (now you can use quots), font support for Latin Extension A, now you can draw Runics also
Former-commit-id: 76aef3e704f171e23d6f0a6f78b051717e0f3212
Former-commit-id: 03373859fb5d858afbf4e92528dceb2dc118c763
2016-02-07 14:17:51 +09:00

50 lines
1.4 KiB
Java

package com.Torvald.ImageFont;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.SpriteSheet;
/**
* Created by minjaesong on 16-01-27.
*/
public class GameFontBlack extends GameFontBase {
public GameFontBlack() throws SlickException {
super();
hangulSheet = new SpriteSheet(
"./res/graphics/fonts/han_atlas_black.png"
, W_CJK, H_CJK
);
asciiSheet = new SpriteSheet(
"./res/graphics/fonts/ascii_majuscule_black.png"
, W_LATIN_WIDE, H
);
asciiSheetEF = new SpriteSheet(
"./res/graphics/fonts/ascii_special_ef_black.png"
, W_LATIN_NARROW, H
);
runicSheet = new SpriteSheet(
"./res/graphics/fonts/futhark_black.png"
, W_LATIN_WIDE, H
);
extASheet = new SpriteSheet(
"./res/graphics/fonts/LatinExtA_majuscule_black.png"
, W_LATIN_WIDE, H
);
extASheetEF = new SpriteSheet(
"./res/graphics/fonts/LatinExtA_ef_black.png"
, W_LATIN_NARROW, H
);
SpriteSheet[] shk = {
asciiSheet
, asciiSheetEF
, hangulSheet
, runicSheet
, extASheet
, extASheetEF
};
sheetKey = shk;
}
}