Is it possible to use pango with skia for text rendering on linux?

538 views
Skip to first unread message

hl209...@gmail.com

unread,
Nov 11, 2017, 3:18:01 AM11/11/17
to skia-discuss
As far as I know android use Harfbuzz for text shaping. I want more powerful text layout function than Harfbuzz does. It's possible use pango with skia. I can'nt find any document or "hello world" about this. If any one know how to do this please tell me. Thanks a lot.

Adrien Tétar

unread,
Nov 11, 2017, 10:14:36 AM11/11/17
to skia-discuss
I'm not sure what you mean by "more powerful than harfbuzz". Pango is a high-level text rendering library that uses harfbuzz.

hl209...@gmail.com

unread,
Nov 12, 2017, 8:14:12 PM11/12/17
to skia-discuss
I want font fallback which pango has but Harfbuz don't. I want to render text which maybe include some color emojis, but color emoji font don't have latin character glyphs. How can I do this with skia ?

Ben Wagner

unread,
Nov 13, 2017, 10:28:20 AM11/13/17
to skia-d...@googlegroups.com
I'm currently working on some higher level paragraph layout code for Skia, which isn't quite ready yet. There's a fairly simple example of how to use HarfBuzz and ICU with Skia to do bidi, shaping, and font fallback (but no line breaking) in Skia's tools/shape/SShaper_harfbuzz . Hopefully we'll have a better answer soon.

--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages