mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05: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
|
||||
=========
|
||||
|
||||
LinLibertine_R.ttf
|
||||
The Libertine Font Project - http://www.linuxlibertine.org/
|
||||
|
||||
PugiXML
|
||||
http://pugixml.org/
|
||||
|
||||
|
|
Binary file not shown.
|
@ -82,19 +82,13 @@ namespace Renderer {
|
|||
|
||||
std::cout << "loading fonts...";
|
||||
|
||||
std::string fontPath = "LinLibertine_R.ttf";
|
||||
std::string fontPath = Font::getDefaultPath();
|
||||
|
||||
//make sure our font exists
|
||||
if(!boost::filesystem::exists(fontPath))
|
||||
{
|
||||
//std::cout << "Default font \"" << fontPath << "\" does not exist! Attempting to default to a system font...";
|
||||
//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;
|
||||
}
|
||||
std::cerr << "System font \"" << fontPath << "\" wasn't found! Well, you're kind of screwed. Sorry. Report this to Aloshi, please.\n";
|
||||
return;
|
||||
}
|
||||
|
||||
float fontSizes[] = {0.035, 0.045, 0.1};
|
||||
|
|
|
@ -18,7 +18,7 @@ GuiList<listType>::GuiList(int offsetX, int offsetY, Font* font)
|
|||
|
||||
mFont = font;
|
||||
mSelectorColor = 0x000000FF;
|
||||
mSelectedTextColorOverride = 0x0000FF;
|
||||
mSelectedTextColorOverride = 0x0000FFFF;
|
||||
mScrollSound = NULL;
|
||||
mDrawCentered = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue