Clarify that only ASCII is supported

This commit is contained in:
Anuken
2023-11-27 20:47:24 -05:00
parent e1ffc4ed62
commit bc308847f4
2 changed files with 4 additions and 2 deletions

View File

@@ -2347,7 +2347,7 @@ graphicstype.poly = Fill a regular polygon.
graphicstype.linepoly = Draw a regular polygon outline. graphicstype.linepoly = Draw a regular polygon outline.
graphicstype.triangle = Fill a triangle. graphicstype.triangle = Fill a triangle.
graphicstype.image = Draw an image of some content.\nex: [accent]@router[] or [accent]@dagger[]. graphicstype.image = Draw an image of some content.\nex: [accent]@router[] or [accent]@dagger[].
graphicstype.print = Draws text from the print buffer.\nClears the print buffer. graphicstype.print = Draws text from the print buffer.\nOnly ASCII characters are allowed.\nClears the print buffer.
lenum.always = Always true. lenum.always = Always true.
lenum.idiv = Integer division. lenum.idiv = Integer division.

View File

@@ -1005,7 +1005,9 @@ public class LExecutor{
curX = exec.numi(x); //reset curX = exec.numi(x); //reset
continue; continue;
} }
if(Fonts.logic.getData().hasGlyph(next)){
exec.graphicsBuffer.add(DisplayCmd.get(LogicDisplay.commandPrint, packSign(curX + xOffset), packSign(curY + yOffset), next, 0, 0, 0)); exec.graphicsBuffer.add(DisplayCmd.get(LogicDisplay.commandPrint, packSign(curX + xOffset), packSign(curY + yOffset), next, 0, 0, 0));
}
curX += advance; curX += advance;
} }