From 88d500eac224cf9b7029ea0d23cdbdcc21f1292e Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Tue, 15 Jul 2014 21:18:02 -0500 Subject: [PATCH] Fixed Bug: #0642 - Unicode Font too small for item counts in terminals --- client/render/AppEngRenderItem.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/render/AppEngRenderItem.java b/client/render/AppEngRenderItem.java index b1e4bb59..8fbd6064 100644 --- a/client/render/AppEngRenderItem.java +++ b/client/render/AppEngRenderItem.java @@ -42,6 +42,9 @@ public class AppEngRenderItem extends RenderItem float RScaleFactor = 1.0f / ScaleFactor; int offset = AEConfig.instance.useTerminalUseLargeFont() ? 0 : -1; + boolean unicodeFlag = par1FontRenderer.getUnicodeFlag(); + par1FontRenderer.setUnicodeFlag( false ); + if ( is.isItemDamaged() ) { int k = (int) Math.round( 13.0D - is.getItemDamageForDisplay() * 13.0D / is.getMaxDamage() ); @@ -139,6 +142,8 @@ public class AppEngRenderItem extends RenderItem GL11.glEnable( GL11.GL_LIGHTING ); GL11.glEnable( GL11.GL_DEPTH_TEST ); } + + par1FontRenderer.setUnicodeFlag( unicodeFlag ); } } }