diff -r febf3dc10011 -r 0d94fd280c6e src/text.c --- a/src/text.c Tue Apr 29 21:51:29 2025 +0200 +++ b/src/text.c Thu May 01 15:26:01 2025 +0200 @@ -89,6 +89,8 @@ node->flags = args.alignment; node->position.x = (float) args.x; node->position.y = (float) args.y; + node->position.z = ASC_SCENE_2D_DEPTH_OFFSET; + node->scale.depth = 1.f; text->max_width = args.max_width; text->font = asc_active_font; text->color = asc_context.ink;