Use better fonts

ryzomclassic-develop
kaetemi 5 years ago
parent fb3e97db1d
commit ada4e5bfbf

@ -919,7 +919,7 @@ This MUST follow the Enum MISSION_DESC::TIconId
<param name="ctrl_sheet_greenify_color" value="140 255 140 150" />
<param name="ctrl_text_greenify_color" value="140 255 140 150" />
<param name="text_over_back_color" value="64 64 64 255" />
<param name="font" value="noto_sans_display.ttf" />
<param name="font" value="noto_sans.ttf" />
<param name="monospace_font" value="noto_mono.ttf" />
<param name="add_coef_font" value="1" />
<param name="mul_coef_anim" value="0.8" />

@ -428,7 +428,7 @@ This MUST follow the Enum MISSION_DESC::TIconId
<param name="ctrl_sheet_gray_color" value="255 255 255 100" />
<param name="ctrl_sheet_redify_color" value="255 100 100 100" />
<param name="ctrl_text_redify_color" value="255 32 32 160" />
<param name="font" value="noto_sans_display.ttf" />
<param name="font" value="noto_sans.ttf" />
<param name="monospace_font" value="noto_mono.ttf" />
<param name="add_coef_font" value="3" />
<param name="mul_coef_anim" value="0.8" />

@ -13,7 +13,7 @@
<param name="ctrl_sheet_gray_color" value="255 255 255 128" />
<param name="ctrl_sheet_redify_color" value="255 100 100 128" />
<param name="ctrl_text_redify_color" value="255 32 32 160" />
<param name="font" value="noto_sans_display.ttf" />
<param name="font" value="noto_sans.ttf" />
<param name="monospace_font" value="noto_mono.ttf" />
<param name="add_coef_font" value="0" />
<param name="mul_coef_anim" value="1.0" />

@ -13,7 +13,7 @@
<param name="ctrl_sheet_gray_color" value="255 255 255 128" />
<param name="ctrl_sheet_redify_color" value="255 100 100 128" />
<param name="ctrl_text_redify_color" value="255 32 32 160" />
<param name="font" value="noto_sans_display.ttf" />
<param name="font" value="noto_sans.ttf" />
<param name="monospace_font" value="noto_mono.ttf" />
<param name="add_coef_font" value="3" />
<param name="mul_coef_anim" value="0.8" />

@ -512,7 +512,7 @@ bool connection (const string &cookie, const string &fsaddr)
Actions.enable(false);
EditActions.enable(false);
resetTextContext("noto_sans_display.ttf", true);
resetTextContext("noto_sans.ttf", true);
if (InterfaceState == GOGOGO_IN_THE_GAME)
{
@ -651,7 +651,7 @@ bool reconnection()
Actions.enable(false);
EditActions.enable(false);
resetTextContext("noto_sans_display.ttf", true);
resetTextContext("noto_sans.ttf", true);
if (InterfaceState == GOGOGO_IN_THE_GAME)
{

@ -1342,7 +1342,7 @@ void prelogInit()
// Create a text context. We need to put the full path because we not already add search path
resetTextContext("noto_sans_display.ttf", true);
resetTextContext("noto_sans.ttf", true);
CInterfaceManager::getInstance();

@ -371,7 +371,7 @@ void CEntityViewService::init()
// Text context
pDriver->setDisplay (UDriver::CMode(640, 480, 0));
pDriver->setFontManagerMaxMemory (2000000);
textContext=pDriver->createTextContext ("R:\\code\\ryzom\\data\\3d\\common\\fonts\\arialuni.ttf");
textContext=pDriver->createTextContext ("R:\\graphics\\fonts\\noto_sans.ttf");
textContext->setHotSpot (UTextContext::TopLeft);
textContext->setColor (CRGBA (255,255,255));
textContext->setFontSize (12);

@ -598,7 +598,7 @@ bool CConfigFile::areRyzomDataInstalledIn(const QString &directory) const
if (dir.entryList(QStringList() << "*.bnp", QDir::Files).size() < 200) return false;
// ryzom.ttf or fonts.bnp is required
if (!dir.exists("fonts/ryzom.ttf") && !dir.exists("fonts.bnp")) return false;
if (!dir.exists("fonts/noto_sans.ttf") && !dir.exists("fonts.bnp")) return false;
// gamedev.bnp is required
if (!dir.exists("gamedev.bnp")) return false;

@ -1289,7 +1289,7 @@ struct CViewerConfig
ShapePath = "./";
MapsPath = "./";
Bank = "bank.bank";
FontPath = "\\\\server\\code\\fonts\\arialuni.ttf";
FontPath = "R:\\graphics\\fonts\\noto_sans.ttf";
ZFar = 1000;
LandscapeTileNear = 50.0f;
LandscapeThreshold = 0.001f;

@ -71,7 +71,7 @@ namespace GUIEditor
NLMISC::CPath::remapExtension( "png", "tga", true );
w->init();
w->createTextContext( "Ryzom.ttf" );
w->createTextContext("noto_sans.ttf");
NLGUI::CAHManager::setEditorMode( true );
NLGUI::CLuaManager::setEditorMode( true );

@ -460,7 +460,7 @@ void CObjectViewer::loadConfig()
#endif
_CameraFocal = settings->value("CameraFocal", 75).toInt();
_FontName = settings->value(Constants::FONT, "andbasr.ttf").toString().toUtf8().constData();
_FontName = settings->value(Constants::FONT, "noto_sans.ttf").toString().toUtf8().constData();
_BloomEffect = settings->value(Constants::ENABLE_BLOOM, false).toBool();
_BloomDensity = settings->value(Constants::BLOOM_DENSITY, 0).toInt();
_BloomSquare = settings->value(Constants::ENABLE_SQUARE_BLOOM, false).toBool();

Loading…
Cancel
Save