Fix font file unicode name is not supported

This commit is contained in:
ema
2025-08-15 02:09:38 +08:00
parent e12bb2201b
commit ebb48366a0

View File

@@ -149,7 +149,7 @@ public class WebfontPanel : WebpagePanel
}
else
{
var localPath = _fallbackPath + requestedUri.AbsolutePath.Replace('/', '\\');
var localPath = _fallbackPath + Uri.UnescapeDataString(requestedUri.AbsolutePath).Replace('/', '\\');
if (File.Exists(localPath))
{