Skip to main content
Participant
Feb 26, 2014 8:59 PM UTC
Question

An oldie: Unable to find font: Serif.

This popped up with CF8.  I am using Ben's ImageDrawTextArea, which I have been using on CF8, CF9 and Railo.  Now that I ponied up for my nice new CF10 server, this code no longer works.  I have tried everything from copying the fonts into the JRE/Fonts directory to trying to use plain ole Arial.

When I run the code I throw the following error:

Unable to find font: Serif.

Any thoughts or solutions to try?

Thanks!

- Robert

This topic is closed to new replies. Start a new post to keep the conversation going.

11 replies

Known Participant
Apr 23, 2014 6:43 AM UTC

Same here...

Cf10 on Windows working fine - on Linux: error

Any solution to this yet?

Regards

Joerg

Translate
Known Participant
Apr 23, 2014 10:25 AM UTC

Finally got it working by using a TrueType(!) Font listed in CF-Admin:

Lucida Sans Regular

CF seems to default to Serif as Fallback-Font.

Too bad it's not available on Linux

Translate
Known Participant
Dec 8, 2021 5:45 AM UTC

Sorry for replying old post but I'm getting the same error. I'm using coldfusion 2018 and I'm getting the same error when using imageDrawText.

I even added random tiff fontsjust for testing but no luck. Is this limitation for image tags? Restarted server twice, restarted coldfusion twice with no improvement. Please help

 

Translate