I doubt what I did was correct, since there were more issues once I had gotten the string to draw, which I did by grabbing the font of the controls theme's default font instead of trying to import it. But the string was turning to a smear of broken lines I guess because drawing text on already drawn rectangles is bad?
I thought it was the order it was all being drawn as any text drawn off the rectangles was fine, but reordering didn't help.
I instead made a scene with a label, instantiated for each rectangle i was drawing to show the info on them I needed. But the smearing was there even with the label text. So then I edited the labels themes font to show a strong outline and shadow, reduced its size and made the actual text color the color of the rectangles(so I didn't have to look at the weird smearing) and all that showed up was the shadow and outline. That actually worked good enough for the A* debugging I was trying to do, but it was still ugly.