SixLabors / Fonts

:black_nib: Font loading and layout library.
https://sixlabors.com/products/fonts
Other
308 stars 71 forks source link

Wrong character orientation when drawing brackets #355

Closed Hellobaka closed 1 year ago

Hellobaka commented 1 year ago

Prerequisites

Description

Wrong character orientation when drawing brackets. Characters should be like this【】「」. But drawing with code, they become like this. image

I have tried 1.0.0-beta15. This version can work properly. image

Steps to Reproduce

Image<Rgba32> img = new(200, 100);
Font font = SystemFonts.CreateFont("Microsoft YaHei", 15);
img.Mutate(x => x.DrawText("()【】「」", font, Color.Black, new PointF(10, 10)));

img.Save("1.png");

System Configuration

JimBobSquarePants commented 1 year ago

Updating to SixLabors.Fonts v1.0.1 will fix the issue

Hellobaka commented 1 year ago

Updating to SixLabors.Fonts v1.0.1 will fix the issue

Thank You!