mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
freetype: Rename to osd-font.tff
This commit is contained in:
parent
da6b7987f1
commit
8a96062ed0
@ -270,7 +270,7 @@ error:
|
|||||||
* but should hopefully work ... */
|
* but should hopefully work ... */
|
||||||
|
|
||||||
static const char *font_paths[] = {
|
static const char *font_paths[] = {
|
||||||
"assets://pkg/DejaVuSansMono.ttf",
|
"assets://pkg/osd-font.ttf",
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
"C:\\Windows\\Fonts\\consola.ttf",
|
"C:\\Windows\\Fonts\\consola.ttf",
|
||||||
"C:\\Windows\\Fonts\\verdana.ttf",
|
"C:\\Windows\\Fonts\\verdana.ttf",
|
||||||
@ -304,9 +304,9 @@ static const char *font_renderer_ft_get_default_font(void)
|
|||||||
for (i = 0; i < ARRAY_SIZE(font_paths); i++)
|
for (i = 0; i < ARRAY_SIZE(font_paths); i++)
|
||||||
{
|
{
|
||||||
/* Check if we are getting the font from the assets directory. */
|
/* Check if we are getting the font from the assets directory. */
|
||||||
if (string_is_equal(font_paths[i], "assets://pkg/DejaVuSansMono.ttf"))
|
if (string_is_equal(font_paths[i], "assets://pkg/osd-font.ttf"))
|
||||||
{
|
{
|
||||||
fill_pathname_join(asset_path, settings->paths.directory_assets, "pkg/DejaVuSansMono.ttf", PATH_MAX_LENGTH);
|
fill_pathname_join(asset_path, settings->paths.directory_assets, "pkg/osd-font.ttf", PATH_MAX_LENGTH);
|
||||||
font_paths[i] = asset_path;
|
font_paths[i] = asset_path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user