Make a proper BDF out of uismall font - no need to try and load an orphaned BDC

This commit is contained in:
Vas Crabb 2016-03-21 01:56:10 +11:00
parent 5314fc0b00
commit d5aa425387
3 changed files with 2650 additions and 19 deletions

View file

@ -153,25 +153,6 @@ render_font::render_font(render_manager &manager, const char *filename)
if (filename != nullptr && core_stricmp(filename, "default") == 0)
filename = "ui.bdf";
// attempt to open the cached version of the font
if (filename != nullptr)
{
emu_file cachefile(manager.machine().options().font_path(), OPEN_FLAG_READ);
osd_file::error const filerr = cachefile.open(filename);
if (filerr == osd_file::error::NONE)
{
// if we have a cached version, load it
bool const result = load_cached(cachefile, 0);
// if that worked, we're done
if (result)
{
render_font_command_glyph();
return;
}
}
}
// attempt to load the cached version of the font first
if (filename != nullptr && load_cached_bdf(filename))
{

Binary file not shown.

2650
uismall.bdf Normal file

File diff suppressed because it is too large Load diff