ofBeginSaveScreenAsPDF does not allow me to render text


I’m having trouble rendering a TTF font (SourceCodePro) in the saved screen. It does show up on my screen, but not in the final PDF file.

    font.loadFont("SourceCodePro-Regular.ttf", fontSize, true, false, true);
    font.drawString("hi!", 100,100);
    font.drawStringAsShapes(""hello", 100, 200);

Fixed it, needed to call a ofSetColor() before the drawStringAsShapes().