character-map-uwp / Character-Map-UWP

A modern, native UWP replacement for the Win32 Character Map and Windows Font Viewer with flawless high DPI and touch support.
MIT License
615 stars 52 forks source link

Failure during ImportFonts #241

Closed JohnnyWestlake closed 1 year ago

JohnnyWestlake commented 1 year ago

There is the list image

Have trouble:

Ext 32 bit

   at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
   at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32, Void*, Void*) + 0xc2
   at CharacterMapCX.__IDirectWriteStatics__Impl.Stubs.HasValidFonts(__ComObject, Uri) + 0x5e
   at CharacterMapCX.DirectWrite.HasValidFonts(Uri) + 0x26
   at CharacterMap.Core.FontFinder.<>c__DisplayClass58_0.<<ImportFontsAsync>b__0>d.MoveNext() + 0xb85
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at CharacterMap.Views.MainPage.<Grid_Drop>d__67.MoveNext() + 0x1ba
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__7_0(Object) + 0x1e
   at System.Action`1.Invoke(T) + 0x28
   at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33

OS Version: 10.0.22621.1265 OS Architecture: X64 App Version: 2023.1.2.0 App Culture: zh-CN

Originally posted by @BUGProtectionAssociation in https://github.com/character-map-uwp/Character-Map-UWP/issues/238#issuecomment-1442711307