From b623727b1a60719d0599e6d686e6c1f3498d8857 Mon Sep 17 00:00:00 2001 From: Minjae Song Date: Sat, 3 Nov 2018 16:35:26 +0900 Subject: [PATCH] potential memory leak fixed (unbound cache size) --- .idea/workspace.xml | 166 ++++----- FontTestGDX/lib/TerrarumSansBitmap.jar | Bin 75500 -> 80020 bytes .../terrarumsansbitmap/gdx/GameFontBase.kt | 322 ++++++++++++------ 3 files changed, 310 insertions(+), 178 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 8506e9c..f4653ae 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -29,8 +29,8 @@ - - + + @@ -72,7 +72,7 @@ - + @@ -84,8 +84,8 @@ - - + + @@ -120,11 +120,6 @@ - - - - - @@ -170,29 +165,22 @@ - pro - system - posXbuffer - U+ - variable - TextureRe - xyswap isXYSwapped xySw getWidth getWidthOfCharSeq makeShadow - fun draw glyphWidthBuffer oldCharSequence charSeq.toCodeP resetH - println HashMap drawPixmap RGBA @@ -205,12 +193,22 @@ buildWidthAndPos flagMake pixmapHolder?.dis + glyphProps[ + textCache + glyphProps + (c: Int) + hashC + TreeNode + sear + fun draw + println .141 c har TEXH + (c: CodePoint) @@ -236,6 +234,9 @@ @@ -251,8 +252,6 @@ - - @@ -293,15 +292,17 @@