Update default font (Cabin => Sansation)
This commit is contained in:
@@ -21,6 +21,7 @@ Miscellaneous:
|
|||||||
- ⚠ Appveyor nightlies are now compiled with VS2017
|
- ⚠ Appveyor nightlies are now compiled with VS2017
|
||||||
- Set libraries' rpath to current folder (.)
|
- Set libraries' rpath to current folder (.)
|
||||||
- Add ReleaseWithDebug target
|
- Add ReleaseWithDebug target
|
||||||
|
- ⚠ **Default font has been changed from Cabin to Sansation**
|
||||||
|
|
||||||
Nazara Engine:
|
Nazara Engine:
|
||||||
- VertexMapper:GetComponentPtr no longer throw an error if component is disabled or incompatible with template type, instead a null pointer is returned.
|
- 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
|
namespace
|
||||||
{
|
{
|
||||||
const UInt8 r_cabinRegular[] = {
|
const UInt8 r_sansationRegular[] = {
|
||||||
#include <Nazara/Utility/Resources/Fonts/Cabin-Regular.ttf.h>
|
#include <Nazara/Utility/Resources/Fonts/Sansation_Regular.ttf.h>
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -336,7 +336,7 @@ namespace Nz
|
|||||||
|
|
||||||
if (!s_defaultFont)
|
if (!s_defaultFont)
|
||||||
{
|
{
|
||||||
s_defaultFont = Font::OpenFromMemory(r_cabinRegular, sizeof(r_cabinRegular));
|
s_defaultFont = Font::OpenFromMemory(r_sansationRegular, sizeof(r_sansationRegular));
|
||||||
if (!s_defaultFont)
|
if (!s_defaultFont)
|
||||||
NazaraError("Failed to open default font");
|
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