Skip to content

Draw String

Mikkel102454 edited this page Oct 6, 2026 · 2 revisions

draw_string (removed)

This page is retained for links to the old wiki. draw_string is not registered in the protocol 2.0 renderer. The font8, font12, font16, font20, and font24 bitmap-font names are obsolete.

Use Draw Text with a positive-size text box and a spans array. Put the old foreground color in each span's color, and select the embedded family explicitly. A numeric size is not a pixel-identical replacement for the old bitmap font.

See Versioning for a complete v2 example.

Implementation references

Clone this wiki locally