An error occurs when trying to use the font "PMINGLIU":
SixLabors.Fonts.InvalidFontTableException: 'Unable to find table'
This exception was originally thrown at this call stack:
SixLabors.Fonts.FontReader.GetReaderAtTablePosition(string)
SixLabors.Fonts.Tables.General.VerticalMetricsTable.Load(SixLabors.Fonts.FontReader)
SixLabors.Fonts.Tables.TableLoader.Load<TTable>(SixLabors.Fonts.FontReader)
SixLabors.Fonts.FontReader.TryGetTable<TTableType>()
SixLabors.Fonts.StreamFontMetrics.LoadTrueTypeFont(SixLabors.Fonts.FontReader)
SixLabors.Fonts.StreamFontMetrics.LoadFont(string, long)
System.Lazy<T>.ViaFactory(System.Threading.LazyThreadSafetyMode)
In the properties of the font, you can see the line:
SubscriptXOffset = {"Unable to find table"}
Steps to Reproduce
var textOptions = new SixLabors.Fonts.TextOptions(sixFont);
var text = "文字測試文字測試文字測試文字測試文字測試";
var rect = SixLabors.Fonts.TextMeasurer.Measure(text, textOptions);
Description
An error occurs when trying to use the font "PMINGLIU": SixLabors.Fonts.InvalidFontTableException: 'Unable to find table'
In the properties of the font, you can see the line:
SubscriptXOffset = {"Unable to find table"}
Steps to Reproduce
Font: PMINGLIU.zip
System Configuration