Update default font (Cabin => Sansation)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
src/Nazara/Utility/Resources/Fonts/Sansation_Regular.ttf
Normal file
BIN
src/Nazara/Utility/Resources/Fonts/Sansation_Regular.ttf
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user