Only installed fonts will work in Noesis Studio
Posted: 25 Jul 2025, 02:23
v0.1.227-beta
I'm having issues that a font will not work in Noesis Studio unless I install the font on the PC.
I have the following textblock that will fail to use the font.
If I install the font on the machine and then reference it like so, it works.
However if I take the second one, and turn it into a resource and place it in a dictionary, the dictionary file will report an error and the font will no longer work.
I'm having issues that a font will not work in Noesis Studio unless I install the font on the PC.
I have the following textblock that will fail to use the font.
Code: Select all
<TextBlock Text="TextBlock" TextWrapping="Wrap" FontFamily="D:/Projects/C++/ZEngine/Assets/UI/Fonts/F_SuperFortrees.ttf"/>
Code: Select all
<TextBlock Text="TextBlock" TextWrapping="Wrap" FontFamily="Fonts/#Super Fortrees"/>
Code: Select all
// Default.xaml
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<FontFamily x:Key="Font">Fonts/#Super Fortrees</FontFamily>
</ResourceDictionary>
// MainMenu.xaml
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignWidth="1920"
d:DesignHeight="1080">
<Page.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Themes/Default.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Page.Resources>