Skip to content

Simplified Chinese text wrapping does not take effect #115

@StandOutstar

Description

@StandOutstar

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

Steps to Reproduce

  1. create a .net 5 console app
  2. install SixLabors.ImageSharp.Drawing version 1.0.0-beta11
  3. load a image, then write simplified chinese text
image.Mutate(x => x.
    DrawText(
        new TextGraphicsOptions()
        {
            TextOptions = new TextOptions
            {
                WrapTextWidth = 800,
            }
        }, 
        "这是一段长度超出设定的换行宽度的文本,但是没有在设定的宽度处换行。这段文本用于演示问题。希望可以修复。如果有需要可以联系我。",
        textFont,
        Color.Black,
        new PointF(300, 200)
    ));

System Configuration

  • ImageSharp version: 1.0.0-beta11
  • Other ImageSharp packages and versions:
  • Environment (Operating system, version and so on): macOS 10.15.7
  • .NET Framework version: 5.0.0
  • Additional information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtext

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions