You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes I have just been trying a bunch of different fonts
This seems to only happen with fonts that have characters/glyphs which are not 1 "solid" "shape"
any fonts that have character that has a complicated shapes made up of many bits this error seems to occur
Error Using ImageSharp.Drawing, but the error is related to the font.
Not really sure if I should post the issue here or on ImageSharp, but as it seems to be font related I posted it here
I have the latest packages of
ImageSharp - 1.0.0-alpha5-00069
ImageSharp.Drawing - 1.0.0-alpha5-00063
SixLabors.Fonts - 0.1.0-alpha0006
Again using a font from Google Fonts, this is the font that caused the error
https://fonts.google.com/specimen/Love+Ya+Like+A+Sister
The error occurs in this method from previous answer for Text Wrapping issue thread
https://github.com/SixLabors/Demos/blob/master/WaterMarkSample/Program.cs#L71
at ImageSharp.Processing.ImageProcessor
1.Apply(ImageBase
1 source, Rectangle sourceRectangle)at ImageSharp.Image
1.ApplyProcessor(IImageProcessor
1 processor, Rectangle rectangle)at ImageSharp.ImageExtensions.DrawText[TColor](Image
1 source, String text, Font font, IBrush
1 brush, IPen1 pen, Vector2 location, TextGraphicsOptions options) at ImageSharp.ImageExtensions.DrawText[TColor](Image
1 source, String text, Font font, TColor color, Vector2 location, TextGraphicsOptions options)This is the Inner Exception
at SixLabors.Shapes.InternalPath.FindIntersections(Vector2 start, Vector2 end, Vector2[] buffer, Int32 count, Int32 offset)
at SixLabors.Shapes.ComplexPolygon.FindIntersections(Vector2 start, Vector2 end, Vector2[] buffer, Int32 count, Int32 offset)
at ImageSharp.Drawing.ShapeRegion.Scan(Single y, Single[] buffer, Int32 length, Int32 offset)
at ImageSharp.Drawing.Processors.FillRegionProcessor
1.OnApply(ImageBase
1 source, Rectangle sourceRectangle)at ImageSharp.Processing.ImageProcessor
1.Apply(ImageBase
1 source, Rectangle sourceRectangle)The text was updated successfully, but these errors were encountered: