Do not inherit fontfamily when language differs

Fixes https://bugzilla.wikimedia.org/show_bug.cgi?id=49151