ControlP5 ListBox cannot find glyphs
in
Contributed Library Questions
•
8 months ago
Hi everyone!
I am using a ControlP5 ListBox to display a list of tweets which are written in italian. I can input a new query and the listbox should update showing the first 50 retrieved tweets.
Sometimes I get a warning like these:
I am using a ControlP5 ListBox to display a list of tweets which are written in italian. I can input a new query and the listbox should update showing the first 50 retrieved tweets.
Sometimes I get a warning like these:
No glyph found for the è (\u00E8) character
No glyph found for the ò (\u00F2) character
While some other times it just crashes because of the exception below. Does someone know how to solve this problem? Thanks in advance :)
While some other times it just crashes because of the exception below. Does someone know how to solve this problem? Thanks in advance :)
Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 9733
at controlP5.BitFont.getGlyph(Unknown Source)
at processing.core.PGraphics.textCharImpl(PGraphics.java:4634)
at processing.core.PGraphics.textLineImpl(PGraphics.java:4622)
at processing.core.PGraphicsJava2D.textLineImpl(PGraphicsJava2D.java:1517)
at processing.core.PGraphics.textLineAlignImpl(PGraphics.java:4612)
at processing.core.PGraphics.text(PGraphics.java:4309)
at processing.core.PGraphics.text(PGraphics.java:4260)
at processing.core.PApplet.text(PApplet.java:12312)
at controlP5.ControlFont.draw(Unknown Source)
at controlP5.Label.draw(Unknown Source)
at controlP5.Label$SinglelineLabel.draw(Unknown Source)
at controlP5.Label.draw(Unknown Source)
at controlP5.Button$ButtonView.display(Unknown Source)
at controlP5.Button$ButtonView.display(Unknown Source)
at controlP5.Controller.draw(Unknown Source)
at controlP5.ControllerGroup.drawControllers(Unknown Source)
at controlP5.ControllerGroup.draw(Unknown Source)
at controlP5.ControllerGroup.drawControllers(Unknown Source)
at controlP5.ControllerGroup.draw(Unknown Source)
at controlP5.ControlWindow.draw(Unknown Source)
at controlP5.ControlP5.draw(Unknown Source)
1