Handle fallback to default variable font in case of nonexistant generic

This commit is contained in:
Manish Goregaokar 2017-04-21 16:10:50 -07:00 committed by Manish Goregaokar
parent 7fc01437f4
commit 03e9264ea0
3 changed files with 19 additions and 0 deletions

View file

@ -1173,6 +1173,11 @@ extern "C" {
pub fn Gecko_nsStyleFont_CopyLangFrom(aFont: *mut nsStyleFont,
aSource: *const nsStyleFont);
}
extern "C" {
pub fn Gecko_nsStyleFont_FixupNoneGeneric(font: *mut nsStyleFont,
pres_context:
RawGeckoPresContextBorrowed);
}
extern "C" {
pub fn Gecko_GetBaseSize(lang: *mut nsIAtom) -> FontSizePrefs;
}