Update default font (Cabin => Sansation)

This commit is contained in:
Lynix 2020-01-06 18:26:39 +01:00
parent c73d08af9b
commit 16d0345502
6 changed files with 5 additions and 4 deletions

View File

@ -21,6 +21,7 @@ Miscellaneous:
- ⚠ Appveyor nightlies are now compiled with VS2017
- Set libraries' rpath to current folder (.)
- Add ReleaseWithDebug target
- ⚠ **Default font has been changed from Cabin to Sansation**
Nazara Engine:
- VertexMapper:GetComponentPtr no longer throw an error if component is disabled or incompatible with template type, instead a null pointer is returned.

View File

@ -13,8 +13,8 @@ namespace Nz
{
namespace
{
const UInt8 r_cabinRegular[] = {
#include <Nazara/Utility/Resources/Fonts/Cabin-Regular.ttf.h>
const UInt8 r_sansationRegular[] = {
#include <Nazara/Utility/Resources/Fonts/Sansation_Regular.ttf.h>
};
}
@ -336,7 +336,7 @@ namespace Nz
if (!s_defaultFont)
{
s_defaultFont = Font::OpenFromMemory(r_cabinRegular, sizeof(r_cabinRegular));
s_defaultFont = Font::OpenFromMemory(r_sansationRegular, sizeof(r_sansationRegular));
if (!s_defaultFont)
NazaraError("Failed to open default font");
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long