- 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:
parent
8ecafcc15a
commit
d530fd7f90
4 changed files with 329 additions and 89 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue