mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
bug 558027 - gfxFontUtils::MakeEOTHeader is too fussy, an empty version string is acceptable. r=jdaggett
This commit is contained in:
parent
cae7487da9
commit
733d1e3812
@ -1802,8 +1802,8 @@ gfxFontUtils::MakeEOTHeader(const PRUint8 *aFontData, PRUint32 aFontDataLength,
|
||||
break;
|
||||
}
|
||||
|
||||
if (needNames != 0)
|
||||
{
|
||||
// the Version name is allowed to be null
|
||||
if ((needNames & ~(1 << EOTFixedHeader::EOT_VERSION_NAME_INDEX)) != 0) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user