Exception:找不到指定的檔案。

报错信息

FileNotFoundException: 找不到指定的檔案。
--Message: 找不到指定的檔案。
StackTrace:
   於 MS.Internal.Text.TextInterface.Native.Util.ConvertHresultToException(Int32 hr)
   於 MS.Internal.Text.TextInterface.Font.CreateFontFace()
   於 MS.Internal.Text.TextInterface.Font.AddFontFaceToCache()
   於 MS.Internal.Text.TextInterface.Font.GetFontFace()
   於 MS.Internal.FontCache.FontFaceLayoutInfo.IntMap.TryGetValues(UInt32* pKeys, UInt32 characterCount, UInt16* pIndices)
   於 System.Windows.Media.GlyphTypeface.GetGlyphMetricsAndIndicesOptimized(UInt32* pCodepoints, Int32 characterCount, Double emSize, Single pixelsPerDip, UInt16[] glyphIndices, GlyphMetrics[] glyphMetrics, TextFormattingMode textFormattingMode, Boolean isSideways)
   於 System.Windows.Media.GlyphTypeface.GetGlyphMetricsOptimized(CharacterBufferRange characters, Double emSize, Single pixelsPerDip, UInt16[] glyphIndices, GlyphMetrics[] glyphMetrics, TextFormattingMode textFormattingMode, Boolean isSideways)
   於 System.Windows.Media.Typeface.CheckFastPathNominalGlyphs(CharacterBufferRange charBufferRange, Double emSize, Single pixelsPerDip, Double scalingFactor, Double widthMax, Boolean keepAWord, Boolean numberSubstitution, CultureInfo cultureInfo, TextFormattingMode textFormattingMode, Boolean isSideways, Boolean breakOnTabs, Int32& stringLengthFit)
   於 MS.Internal.TextFormatting.SimpleRun.CreateSimpleTextRun(CharacterBufferRange charBufferRange, TextRun textRun, TextFormatterImp formatter, Int32 widthLeft, Boolean emergencyWrap, Boolean breakOnTabs, Double pixelsPerDip)
   於 MS.Internal.TextFormatting.SimpleRun.Create(FormatSettings settings, CharacterBufferRange charString, TextRun textRun, Int32 cp, Int32 cpFirst, Int32 runLength, Int32 widthLeft, Int32 idealRunOffsetUnRounded, Double pixelsPerDip)
   於 MS.Internal.TextFormatting.SimpleTextLine.Create(FormatSettings settings, Int32 cpFirst, Int32 paragraphWidth, Double pixelsPerDip)
   於 MS.Internal.TextFormatting.TextFormatterImp.FormatLineInternal(TextSource textSource, Int32 firstCharIndex, Int32 lineLength, Double paragraphWidth, TextParagraphProperties paragraphProperties, TextLineBreak previousLineBreak, TextRunCache textRunCache)
   於 MS.Internal.TextFormatting.TextFormatterImp.FormatLine(TextSource textSource, Int32 firstCharIndex, Double paragraphWidth, TextParagraphProperties paragraphProperties, TextLineBreak previousLineBreak, TextRunCache textRunCache)
   於 System.Windows.Controls.TextBlock.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   於 System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.Controls.Border.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.Controls.Control.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint)
   於 System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   於 System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   於 System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.Controls.Border.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   於 System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   於 System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.Controls.Border.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   於 System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.Controls.Border.MeasureOverride(Size constraint)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.Window.MeasureOverrideHelper(Size constraint)
   於 System.Windows.Window.MeasureOverride(Size availableSize)
   於 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   於 System.Windows.UIElement.Measure(Size availableSize)
   於 System.Windows.ContextLayoutManager.UpdateLayout()
   於 System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   於 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   於 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   於 System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   於 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   於 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

解决方法

暂无解决方案。

相关信息
0 查看
2024-08-11 22:35
Quicker版本
版本 反馈次数