Create pdf runtime error with v4.4.7

Creating a pdf of drawing to the screen with beginRecord(PDF, fileName) now gives and error:
“java.lang.RuntimeException: Use createFont() instead of loadFont() when drawing text using the PDF library”
My code uses createFont() and it used to work fine until this update to 4.4.7