BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: Importing custom fonts in EVE Designer 4.10  (Read 13528 times)

Tristan

  • Newbie
  • *
  • Posts: 6
    • View Profile
Importing custom fonts in EVE Designer 4.10
« on: March 31, 2021, 10:23:37 AM »

Hello,

Iā€™m having trouble setting up custom fonts for EVE Screen Designer 4.10.

In the user interface that I'm programming, i need to add the option to change the language from english to french.

Following the exemple "EVChargePoint" in which you can also change the language, I need to import a custom font since the one included in EVE Designer can't produce special french characters (among them, letters with accent).

However, when I try to add ant .ttf of .otf file, I get the following error:

Resource converter 'Font' for 'C:/Users/user/Documents/EVEworkspace/MyProject/Resources/myfont.ttf' failed
Reason: Cache invalid

(, 'fnt_cvt.py', '(, \'xfont.py\', "[Errno 2] No such file or directory: \'tmp.astc\'", 210)', 723)

I've tried several fonts and all of them produced the same error. The file format (.ttf or .otf) does not seem to make a difference.

Did anyone encountered this error ? If so, how can I fix this ?

Thank you in advance.
Logged

Tristan

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #1 on: April 12, 2021, 09:00:39 AM »

Hello again,

I've also found that this issue only seems to affect EVE Designer 4.10 as I've tried to import an external font on EVE Designer 4.8 and the conversion is performed as intended. The exemple projet "EVChargePoint" only shows the previouly explained error on EVE Designer 4.10 and not on EVE Designer 4.8.
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 745
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #2 on: April 12, 2021, 01:37:49 PM »

Hello,

Thank you for the update, there is a new version of ESD (4.12) which is due to be released shortly.

I believe this should resolve the issues within the "EVChargePoint" demo, but I will pre-emptively investigate this and let the development team know if the issue still persists with the new release.

Best Regards,
BRT Community
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 745
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #3 on: April 14, 2021, 03:21:10 PM »

Hello,

EVE Screen Designer 4.12 has been released and can be downloaded at the following:
https://brtchip.com/esd/

Best Regards,
BRT Community
Logged

Tristan

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #4 on: April 15, 2021, 09:32:21 AM »

Hello,

Thank you for the updated version of EVE screen designer. I've tried to launch the project "EVChargePoint" which seems to now work perfectly.

However, whenever I try to add a new font (on my previously mentioned project, on a new project or even in the "EVChargePoint" project) the resource conversion still fails but a new error is shown:

Resource converter 'Font' for 'C:/Users/user/Documents/EVEworkspace/MyProject/Resources/myfont.ttf' failed
Reason: Cache invalid

'NoneType' object is not iterable


Output files not found
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 745
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #5 on: April 15, 2021, 03:51:01 PM »

Hello Tristan,

Thank you for giving that a try.

I have managed to reproduce the error you are seeing and I have passed this onto the ESD developers for investigation.

I will reply as soon as I have a response from them.

Best Regards,
BRT Community
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 745
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #6 on: April 20, 2021, 11:11:49 AM »

Hello,

The developers are struggling to recreate this issue.

I believe it may be related to multiple iterative installations of ESD on the same PC.

Can I get you to try uninstalling ESD and deleting the 'EVE Screen Designer' folder from Documents, then re-installing ESD 4.12 onto your machine?

Please let me know if this helps.

Best Regards,
BRT Community
Logged

Tristan

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #7 on: April 20, 2021, 03:31:36 PM »

Hello,

I've tried, as you asked, to uninstall ESD as well as deleting the remaining folder while re-installing it in sevral different locations in my computer but no matter what I do the issue still persists. The same error message as mentioned previously still appears any time I try to add any font.
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 745
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #8 on: April 21, 2021, 10:53:39 AM »

Hello,

Thank you for the update, I am seeing this issue intermittently.

Could you give me the details of the machine you are testing on?

Also, would it be possible for you to try an installation on an alternative machine?

Best Regards,
BRT Community
Logged

Tristan

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #9 on: April 21, 2021, 01:53:45 PM »

Hello,

I've tried to do the same thing on several PCs of my colleagues and the same error always shows up. My PC specs are the following:

Device name   DESKTOP-8CNNH2B
Processor     Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz   2.11 GHz
Installed RAM   8,00 GB
Device ID           7E266BF9-7A32-4AB1-9FF2-F8E2D2D52D9D
Product ID     00330-53256-72777-AAOEM
System type   64 bit operating system, x64-based processor

Edition           Windows 10 Pro
Version           20H2
Installed on   ā€Ž01/ā€Ž07/ā€Ž2021
OS build           19042.928
Experience   Windows Feature Experience Pack 120.2212.551.0

Logged

DDSchrader

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #10 on: May 05, 2021, 01:50:35 PM »

Greetings,

I am experiencing the same problems with ESD 4.12. This is the first and only installation of this software on my machines and I get the same error as the original poster did, "Resource converter 'Font' for 'C:/Users/user/Documents/EVEworkspace/MyProject/Resources/myfont.ttf' failed
Reason: Cache invalid
'NoneType' object is not iterable"

Has anyone come up with a workaround for this? I have been able to convert the same fonts with the Asset Builder, but as I am trying to learn how to work with the EVE3 displays using the USB to SPI adapter with the PC as the host, I need to get these fonts into ESD, and have failed due to lack of experience and guidance. Please advise...

Best wishes,

Dan
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 745
    • View Profile
Re: Importing custom fonts in EVE Designer 4.10
« Reply #11 on: May 06, 2021, 01:11:01 PM »

Hello,

Thank you for the feedback, we are still struggling to recreate this issue.
could you give me details of the system you are seeing this on?

Best Regards,
BRT Community
Logged