SecondaryException: 无法找到指定文件。 --Message: 无法找到指定文件。 --Source: PresentationCore --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) 在 MS.Internal.PtsHost.Line.Format(FormattingContext ctx, Int32 dcp, Int32 width, Int32 trackWidth, TextParagraphProperties lineProps, TextLineBreak textLineBreak) 在 MS.Internal.PtsHost.TextParagraph.FormatLineCore(Line line, IntPtr pbrLineIn, FormattingContext ctx, Int32 dcp, Int32 width, Int32 trackWidth, Boolean firstLine, Int32 dcpLine) 在 MS.Internal.PtsHost.TextParagraph.FormatLine(TextParaClient paraClient, Int32 iArea, Int32 dcp, IntPtr pbrlineIn, UInt32 fswdir, Int32 urStartLine, Int32 durLine, Int32 urStartTrack, Int32 durTrack, Int32 urPageLeftMargin, Boolean fAllowHyphenation, Boolean fClearOnLeft, Boolean fClearOnRight, Boolean fTreatAsFirstInPara, Boolean fTreatAsLastInPara, Boolean fSuppressTopSpace, IntPtr& lineHandle, Int32& dcpLine, IntPtr& ppbrlineOut, Int32& fForcedBroken, FSFLRES& fsflres, Int32& dvrAscent, Int32& dvrDescent, Int32& urBBox, Int32& durBBox, Int32& dcpDepend, Int32& fReformatNeighborsAsLastLine) 在 MS.Internal.PtsHost.PtsHost.FormatLine(IntPtr pfsclient, IntPtr pfsparaclient, IntPtr nmp, Int32 iArea, Int32 dcp, IntPtr pbrlineIn, UInt32 fswdir, Int32 urStartLine, Int32 durLine, Int32 urStartTrack, Int32 durTrack, Int32 urPageLeftMargin, Int32 fAllowHyphenation, Int32 fClearOnLeft, Int32 fClearOnRight, Int32 fTreatAsFirstInPara, Int32 fTreatAsLastInPara, Int32 fSuppressTopSpace, IntPtr& pfsline, Int32& dcpLine, IntPtr& ppbrlineOut, Int32& fForcedBroken, FSFLRES& fsflres, Int32& dvrAscent, Int32& dvrDescent, Int32& urBBox, Int32& durBBox, Int32& dcpDepend, Int32& fReformatNeighborsAsLastLine) 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) 在 MS.Internal.PtsHost.Line.Format(FormattingContext ctx, Int32 dcp, Int32 width, Int32 trackWidth, TextParagraphProperties lineProps, TextLineBreak textLineBreak) 在 MS.Internal.PtsHost.TextParagraph.FormatLineCore(Line line, IntPtr pbrLineIn, FormattingContext ctx, Int32 dcp, Int32 width, Int32 trackWidth, Boolean firstLine, Int32 dcpLine) 在 MS.Internal.PtsHost.TextParagraph.FormatLine(TextParaClient paraClient, Int32 iArea, Int32 dcp, IntPtr pbrlineIn, UInt32 fswdir, Int32 urStartLine, Int32 durLine, Int32 urStartTrack, Int32 durTrack, Int32 urPageLeftMargin, Boolean fAllowHyphenation, Boolean fClearOnLeft, Boolean fClearOnRight, Boolean fTreatAsFirstInPara, Boolean fTreatAsLastInPara, Boolean fSuppressTopSpace, IntPtr& lineHandle, Int32& dcpLine, IntPtr& ppbrlineOut, Int32& fForcedBroken, FSFLRES& fsflres, Int32& dvrAscent, Int32& dvrDescent, Int32& urBBox, Int32& durBBox, Int32& dcpDepend, Int32& fReformatNeighborsAsLastLine) 在 MS.Internal.PtsHost.PtsHost.FormatLine(IntPtr pfsclient, IntPtr pfsparaclient, IntPtr nmp, Int32 iArea, Int32 dcp, IntPtr pbrlineIn, UInt32 fswdir, Int32 urStartLine, Int32 durLine, Int32 urStartTrack, Int32 durTrack, Int32 urPageLeftMargin, Int32 fAllowHyphenation, Int32 fClearOnLeft, Int32 fClearOnRight, Int32 fTreatAsFirstInPara, Int32 fTreatAsLastInPara, Int32 fSuppressTopSpace, IntPtr& pfsline, Int32& dcpLine, IntPtr& ppbrlineOut, Int32& fForcedBroken, FSFLRES& fsflres, Int32& dvrAscent, Int32& dvrDescent, Int32& urBBox, Int32& durBBox, Int32& dcpDepend, Int32& fReformatNeighborsAsLastLine) 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) 在 MS.Internal.PtsHost.Line.Format(FormattingContext ctx, Int32 dcp, Int32 width, Int32 trackWidth, TextParagraphProperties lineProps, TextLineBreak textLineBreak) 在 MS.Internal.PtsHost.TextParagraph.FormatLineCore(Line line, IntPtr pbrLineIn, FormattingContext ctx, Int32 dcp, Int32 width, Int32 trackWidth, Boolean firstLine, Int32 dcpLine) 在 MS.Internal.PtsHost.TextParagraph.FormatLine(TextParaClient paraClient, Int32 iArea, Int32 dcp, IntPtr pbrlineIn, UInt32 fswdir, Int32 urStartLine, Int32 durLine, Int32 urStartTrack, Int32 durTrack, Int32 urPageLeftMargin, Boolean fAllowHyphenation, Boolean fClearOnLeft, Boolean fClearOnRight, Boolean fTreatAsFirstInPara, Boolean fTreatAsLastInPara, Boolean fSuppressTopSpace, IntPtr& lineHandle, Int32& dcpLine, IntPtr& ppbrlineOut, Int32& fForcedBroken, FSFLRES& fsflres, Int32& dvrAscent, Int32& dvrDescent, Int32& urBBox, Int32& durBBox, Int32& dcpDepend, Int32& fReformatNeighborsAsLastLine) 在 MS.Internal.PtsHost.PtsHost.FormatLine(IntPtr pfsclient, IntPtr pfsparaclient, IntPtr nmp, Int32 iArea, Int32 dcp, IntPtr pbrlineIn, UInt32 fswdir, Int32 urStartLine, Int32 durLine, Int32 urStartTrack, Int32 durTrack, Int32 urPageLeftMargin, Int32 fAllowHyphenation, Int32 fClearOnLeft, Int32 fClearOnRight, Int32 fTreatAsFirstInPara, Int32 fTreatAsLastInPara, Int32 fSuppressTopSpace, IntPtr& pfsline, Int32& dcpLine, IntPtr& ppbrlineOut, Int32& fForcedBroken, FSFLRES& fsflres, Int32& dvrAscent, Int32& dvrDescent, Int32& urBBox, Int32& durBBox, Int32& dcpDepend, Int32& fReformatNeighborsAsLastLine)