Font Importer issue in Unreal whereas font is being displayed correctly
Hi,
I am currently trying to declare a list of FontFamily Resources that I can reuse in styles for example like so :
This works both in the Blend solution and in Unreal runtime. However I have an issue when reimporting the xaml file as a uasset, the font importer says the following :
I have tried a bunch of approach, including absolute path like
So the problem here is that it kind of works but it with errors, which is both worrying but also throws lots of flag in CI pipeline.
Is there anything I am doing wrong/ have forgotten/preferred method?
I am currently trying to declare a list of FontFamily Resources that I can reuse in styles for example like so :
Code: Select all
<FontFamily x:Key="FontFamily.Helvetica">
../Fonts/#Helvetica
</FontFamily>
In Noesis Settings of the project, the font asset is added there properly.LogNoesisEditor: Error: Failed to import font family Helvetica from /Game/Project/ProjectUI/Fonts/
I have tried a bunch of approach, including absolute path like
(this still works, but due to the difference of root folder, the relative path would be preferable for me).pack://application:,,,/Project/ProjectUI/Fonts/#Helvetica
So the problem here is that it kind of works but it with errors, which is both worrying but also throws lots of flag in CI pipeline.
Is there anything I am doing wrong/ have forgotten/preferred method?
-
sfernandez
Site Admin
- Posts: 3013
- Joined:
Re: Font Importer issue in Unreal whereas font is being displayed correctly
Hello, can you post here the file/folder structure of the related assets (source directories and content directories)? I will try yo reproduce the problem.
Or if you can attach a minimal project reproducing the error it would be even better.
Thanks!
Or if you can attach a minimal project reproducing the error it would be even better.
Thanks!
Who is online
Users browsing this forum: No registered users and 3 guests