We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc75a6 commit b3d7b3aCopy full SHA for b3d7b3a
crengine/src/lvfntman.cpp
@@ -6192,6 +6192,8 @@ class LVFreeTypeFontManager : public LVFontManager
6192
}
6193
name.trim(); // Remove any " " appended to avoid url override with duplicates
6194
LVStreamRef stream = container->OpenStream(name.c_str(), LVOM_READ);
6195
+ if (stream.isNull()) // Try again in case it is percent-encoded
6196
+ stream = container->OpenStream(DecodeHTMLUrlString(name).c_str(), LVOM_READ);
6197
if (stream.isNull())
6198
return false;
6199
lUInt32 size = (lUInt32)stream->GetSize();
0 commit comments