BRT Community
General Category => Discussion - EVE => Topic started by: Tristan 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.
-
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.
-
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
-
Hello,
EVE Screen Designer 4.12 has been released and can be downloaded at the following:
https://brtchip.com/esd/ (https://brtchip.com/esd/)
Best Regards,
BRT Community
-
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
-
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
-
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
-
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.
-
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
-
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
-
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
-
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