Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Failed to load font "arial.ttf" (failed to create the font face)  (Read 74 times)

0 Members and 1 Guest are viewing this topic.

abrartanim

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Failed to load font "arial.ttf" (failed to create the font face)
« on: September 20, 2020, 01:55:55 am »
I am running SMFL on VSC and the SMFL vesion is 2.5.1. I have tested the 'SMFL works!' code and it works perfectly fine. I am stuck with this font problem. It is failing to load fonts

Stauricus

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • Email
Re: Failed to load font "arial.ttf" (failed to create the font face)
« Reply #1 on: September 20, 2020, 01:26:35 pm »
it seems the font is not in the same place as your cpp files. try changing "arial.ttf" for "Resources/arial.ttf"

 

anything