added some (yet unused) font fallback resolution code