Skip to content

Cannot get Arabic text path #3628

@keyre

Description

@keyre

Description

The font supports Arabic text, but I can not get a valid path from it. I have found Skia. ParagraphBuilder but I don’t know how to use it.

React Native Skia Version

1.12.4

React Native Version

0.76.9

Using New Architecture

  • Enabled

Steps to Reproduce

use Skia.Path.MakeFromText

Snack, Code Example, Screenshot, or Link to Repository

const path = Skia.Path.MakeFromText(props.text, x, y, font);
    // path?.isEmpty() >>> true

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