forked from organicmaps/organicmaps
[fonts] Substitute new font with old to prevent request for downloading
This commit is contained in:
parent
45e112525f
commit
2922b55e0c
1 changed files with 4 additions and 0 deletions
|
@ -83,6 +83,10 @@ extern "C"
|
|||
}
|
||||
catch (RootException const &)
|
||||
{
|
||||
// TODO: A hack for a changed font file name. Remove when this stops being relevant.
|
||||
// This is because we don't want to force update users with the old font (which is good enough)
|
||||
if (name == "02_droidsans-fallback.ttf")
|
||||
return NeedToDownload(pl, "02_wqy-microhei.ttf", size); // Size is not checked anyway
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue