mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 19:56:17 -04:00
Logger adjusted for 1.7.
This commit is contained in:
parent
3a4efdffe2
commit
267a930932
@ -65,8 +65,8 @@ public class FontParserUnifont implements IGlyphProvider {
|
||||
final int expectedWidth = FontUtil.wcwidth(charCode);
|
||||
final int glyphWidth = glyph.length / 16;
|
||||
if (glyphWidth != expectedWidth) {
|
||||
if (OpenComputers.log().isLoggable(Level.FINEST)) {
|
||||
OpenComputers.log().finest(String.format("Size of glyph for code point U+%04X (%s) in Unifont (%d) does not match expected width (%d), ignoring.", charCode, String.valueOf((char) charCode), glyphWidth, expectedWidth));
|
||||
if (OpenComputers.log().isDebugEnabled()) {
|
||||
OpenComputers.log().debug("Size of glyph for code point U+%04X (%s) in Unifont (%d) does not match expected width (%d), ignoring.", charCode, String.valueOf((char) charCode), glyphWidth, expectedWidth);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user