- Added BMF (ByteMap Font) support. This was complicated somewhat by the fact that BMF can

specify a character advance separately from the glyph width. GetChar and GetCharWidth now
  return this value in place of the glyph width. (For non-BMF fonts, these should still
  return the same values as before.)

SVN r2180 (trunk)
This commit is contained in:
Randy Heit 2010-02-26 05:34:30 +00:00
commit d530fd7f90
4 changed files with 329 additions and 89 deletions

View file

@ -1935,15 +1935,13 @@ void WI_loadData(void)
}
else
{
int dummywidth;
star = BigFont->GetChar('*', &dummywidth); // just a dummy to avoid an error if it is being used
star = BigFont->GetChar('*', NULL);
bstar = star;
}
}
else // Strife needs some handling, too!
{
int dummywidth;
star = BigFont->GetChar('*', &dummywidth); // just a dummy to avoid an error if it is being used
star = BigFont->GetChar('*', NULL);
bstar = star;
}