I´ve been using BCToast, which requieres BCTextEngine.
I can add any FontAwesome icon OK, but when I try to add a MaterialIcons y the engine gets in a loop and then crashes. Not to much info in the logs that I can understand. It crashes in the same way with B4J BBCodeDesigner
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Logs after MaterialIcons:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			I can add any FontAwesome icon OK, but when I try to add a MaterialIcons y the engine gets in a loop and then crashes. Not to much info in the logs that I can understand. It crashes in the same way with B4J BBCodeDesigner
			
				B4X:
			
		
		
		    Dim dayText As String="AA[MaterialIcons=0xE145/] AA"
    Dim nightText As String="[FontAwesome=0xF186/] " & xc.tr("MENU.NIGHT")Logs after MaterialIcons:
			
				B4X:
			
		
		
		setNavBar
updateTopIcons
Error occurred on line: 841 (BCTextEngine)
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.keywords.Common.CallSubDebug2(Common.java:1055)
    at cl.abreme.android.b4xmainpage._showtoast(b4xmainpage.java:5479)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
    at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:1082)
    at anywheresoftware.b4a.keywords.Common.CallSubNew(Common.java:1029)
    at cl.abreme.android.clsactionbar._actionbaricon_click(clsactionbar.java:571)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
    at android.view.View.performClick(View.java:7509)
    at android.view.View.performClickInternal(View.java:7486)
    at android.view.View.access$3600(View.java:841)
    at android.view.View$PerformClick.run(View.java:28709)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:236)
    at android.app.ActivityThread.main(ActivityThread.java:8057)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at anywheresoftware.b4a.debug.Debug.CallSub4(Debug.java:336)
    at anywheresoftware.b4a.debug.Debug.CallSubNew2(Debug.java:285)
    ... 31 more
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.debug.Debug.CallSub4(Debug.java:318)
    ... 32 more
Caused by: java.lang.StackOverflowError: stack size 8192KB
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4j.object.JavaObject.RunMethod(JavaObject.java:132)
    at b4a.example.bitmapcreator._copypixelsfrombitmap(bitmapcreator.java:552)
    at cl.abreme.android.bctextengine._createglyph(bctextengine.java:1335)
    at cl.abreme.android.bctextengine._createglyph(bctextengine.java:1382)
    ***** LAST TWO LINES REPEATED A WHOLE BUNCH OF TIMES
    
(Exception) java.lang.Exception:  java.lang.reflect.InvocationTargetException 
				 
 
		 
 
		 
						
					 
 
		 
 
		 
 
		