Skip to content

Text shaping backend switch: SkShaper and SkParagraph #39420

Closed
@GaryQian

Description

@GaryQian

This is a tracking issue to monitor, document, and discuss the development of Skia's SkParagraph module as a replacement for LibTxt.

SkParagraph is currently enabled under a flag --enable-skshaper as of flutter/engine#9556 (eg, ./flutter/tools/gn --unoptimized --android --enable-skshaper)

SkParagraph's POC on Skia is @Rusino

Activity

GaryQian

GaryQian commented on Aug 28, 2019

@GaryQian
ContributorAuthor

cc @Hixie You probably want to be kept in the loop regarding this! :)

GaryQian

GaryQian commented on Oct 8, 2019

@GaryQian
ContributorAuthor

flutter/engine#13008 further integrates SkParagraph with LibTxt

added this to the Near-term Goals milestone on Dec 18, 2019
chunhtai

chunhtai commented on Jan 30, 2020

@chunhtai
Contributor

any update on this?

suragch

suragch commented on Feb 11, 2020

@suragch
Contributor

@chunhtai See comments here for a few updates.

GaryQian

GaryQian commented on Feb 25, 2020

@GaryQian
ContributorAuthor

Update: We are currently working on bringing SkParagraph to parity with LibTxt. Please see the skia bug tracker "TextLayout" label for issues we have uncovered and are working on: https://bugs.chromium.org/p/skia/issues/list?q=Area=%22TextLayout%22

GaryQian

GaryQian commented on Feb 25, 2020

@GaryQian
ContributorAuthor

If anyone wants help with the effort, you can try using SkParagraph with a local engine build and including the --enable-skshaper flag in the gn command (eg, ./flutter/tools/gn --android --android-cpu=arm64 --unoptimized --no-lto --enable-skshaper)

Reporting any bugs found to https://bugs.chromium.org/p/skia/issues/list, particularly around text editing would be extremely helpful!

suragch

suragch commented on Feb 26, 2020

@suragch
Contributor

@GaryQian I'm interested in trying it out, but could you include a few more setup steps (or link to directions)? I've never done a local engine build.

66 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P1High-priority issues at the top of the work lista: typographyText rendering, possibly libtxtcustomer: bytedanceengineflutter/engine repository. See also e: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @yjbanov@Hixie@goderbauer@p30arena@kf6gpe

      Issue actions

        Text shaping backend switch: SkShaper and SkParagraph · Issue #39420 · flutter/flutter