Skip to content

[Bug] text fontVariant 折行显示问题 #1594

@Rui-Sun

Description

@Rui-Sun

Version

Link to Minimal Reproduction

Steps to Reproduce

createText({
"fontFamily": "Arial",
"fontSize": 20,
"fontWeight": "bold",
"fontStyle": "italic",
"fontVariant": "small-caps",
"fill": "#F66",
"stroke": false,
"textAlign": "right",
"textBaseline": "top",
"lineHeight": 20,
"ellipsis": "...",
"text": "RecruitingManager",
"maxLineWidth": 150,
"autoWrapText": true,
"wordBreak": "break-word",
"heightLimit": 100,
"dx": 0,
"whiteSpace": "normal",
"x": 400,
"y": 600,
_debug_bounds: true,
})

Current Behavior

image

Expected Behavior

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions