mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Removed LinLibertine font, instead opting for a system default.
This commit is contained in:
parent
0c52bd2a20
commit
3e522998ce
|
@ -5,9 +5,6 @@ Programming
|
||||||
Resources
|
Resources
|
||||||
=========
|
=========
|
||||||
|
|
||||||
LinLibertine_R.ttf
|
|
||||||
The Libertine Font Project - http://www.linuxlibertine.org/
|
|
||||||
|
|
||||||
PugiXML
|
PugiXML
|
||||||
http://pugixml.org/
|
http://pugixml.org/
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -82,20 +82,14 @@ namespace Renderer {
|
||||||
|
|
||||||
std::cout << "loading fonts...";
|
std::cout << "loading fonts...";
|
||||||
|
|
||||||
std::string fontPath = "LinLibertine_R.ttf";
|
std::string fontPath = Font::getDefaultPath();
|
||||||
|
|
||||||
//make sure our font exists
|
//make sure our font exists
|
||||||
if(!boost::filesystem::exists(fontPath))
|
if(!boost::filesystem::exists(fontPath))
|
||||||
{
|
{
|
||||||
//std::cout << "Default font \"" << fontPath << "\" does not exist! Attempting to default to a system font...";
|
std::cerr << "System font \"" << fontPath << "\" wasn't found! Well, you're kind of screwed. Sorry. Report this to Aloshi, please.\n";
|
||||||
//fontPath = "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf";
|
|
||||||
fontPath = Font::getDefaultPath();
|
|
||||||
if(!boost::filesystem::exists(fontPath))
|
|
||||||
{
|
|
||||||
std::cerr << "System font \"" << fontPath << "\" wasn't found either! Well, you're kind of screwed. Sorry.\n";
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
float fontSizes[] = {0.035, 0.045, 0.1};
|
float fontSizes[] = {0.035, 0.045, 0.1};
|
||||||
for(unsigned int i = 0; i < 3; i++)
|
for(unsigned int i = 0; i < 3; i++)
|
||||||
|
|
|
@ -18,7 +18,7 @@ GuiList<listType>::GuiList(int offsetX, int offsetY, Font* font)
|
||||||
|
|
||||||
mFont = font;
|
mFont = font;
|
||||||
mSelectorColor = 0x000000FF;
|
mSelectorColor = 0x000000FF;
|
||||||
mSelectedTextColorOverride = 0x0000FF;
|
mSelectedTextColorOverride = 0x0000FFFF;
|
||||||
mScrollSound = NULL;
|
mScrollSound = NULL;
|
||||||
mDrawCentered = true;
|
mDrawCentered = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue