Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

func SplitText returns a wrong result #87

@long-z-code

Description

@long-z-code

pdf.SetFont("msyh", "", 12)
fmt.Println(pdf.SplitText("你好哈哈哈哈哈哈哈哈哈哈哈啊哈哈啊哈哈哈哈哈", 95))
output: 你好哈哈哈哈哈哈哈哈哈哈哈啊哈哈啊哈哈哈哈
result is missing a chinese word '哈' when i use msyh.ttf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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