I've updated today from 2022.2.6 to 2022.3.1 but in console got error
I've tested also github Blazor examples(I've updated to .NET 6) https://github.com/stimulsoft/Samples-B ... ebAssembly but the same error
thanks
Code: Select all
blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Invalid value for 'classFormat' 0. Should be '1' or '2'.
SixLabors.Fonts.InvalidFontFileException: Invalid value for 'classFormat' 0. Should be '1' or '2'.
at SixLabors.Fonts.Tables.AdvancedTypographic.ClassDefinitionTable.Load(BigEndianBinaryReader reader, Int64 offset)
at SixLabors.Fonts.Tables.AdvancedTypographic.GlyphDefinitionTable.Load(BigEndianBinaryReader reader)
at SixLabors.Fonts.Tables.AdvancedTypographic.GlyphDefinitionTable.Load(FontReader reader)
at SixLabors.Fonts.Tables.TableLoader.Load[GlyphDefinitionTable](FontReader reader)
at SixLabors.Fonts.FontReader.TryGetTable[GlyphDefinitionTable]()
at SixLabors.Fonts.StreamFontMetrics.LoadFont(FontReader reader)
at SixLabors.Fonts.StreamFontMetrics.LoadFont(Stream stream)
at SixLabors.Fonts.FontCollection.AddImpl(Stream stream, CultureInfo culture, FontDescription& description)
at SixLabors.Fonts.FontCollection.Add(Stream stream, FontDescription& description)
at SixLabors.Fonts.FontCollection.Add(Stream stream)
at Stimulsoft.Drawing.Text.PrivateFontCollection.AddFontBytesInternal(Byte[] fontData)
at Stimulsoft.Base.StiFontCollection.AddFontBytes(PrivateFontCollection collection, Byte[] fontData)
at Stimulsoft.Base.Drawing.FontV..ctor(String name, Byte[] content, String extension, Boolean allowFileCache, String hash, PrivateFontCollection masterFontCollection)
at Stimulsoft.Base.StiFontCollection.AddContentToCache(Byte[] content, String extension, String alias, Nullable`1 fontStyle, Boolean isResource)
at Stimulsoft.Base.StiFontCollection.AddFontBytes(Byte[] content, String alias, Nullable`1 fontStyle)
at Stimulsoft.Base.StiFontCollection.AddFontBase64(String fontBase64, String alias, Nullable`1 fontStyle)
at Showing_a_Viewer_without_Toolbar.Pages.Index.OnInitializedAsync() in D:\downloads\Samples-Blazor-WebAssembly-main\Showing a Viewer without Toolbar\Pages\Index.razor:line 30
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()