Skip to main content
Participant
February 26, 2014
Question

An oldie: Unable to find font: Serif.

  • February 26, 2014
  • 1 reply
  • 2117 views

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 has been closed for replies.

1 reply

Known Participant
April 23, 2014

Same here...

Cf10 on Windows working fine - on Linux: error

Any solution to this yet?

Regards

Joerg

Known Participant
April 23, 2014

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

Known Participant
December 8, 2021

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