I have a Skottie animation, from After Effects, that animates dynamic text. However, a single line text can have different characters, such as: "XYZ 新年快樂" that are not necessarily going found in a single font. Is there a way to designate a fallback font when a character is not found within a single line of text?
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/414c5cd8-1762-4d2c-9cae-f61a50914762n%40googlegroups.com.
Thanks. I was under the impression that SkFontMgr was only available for Paragraph builder. Does SkFontMgr apply to all text in Skottie? In particular purely defined in Lottie json from After Effects animations?
--On Wednesday, September 20, 2023 at 4:00:25 PM UTC-4 Florin Malita wrote:You can pass an SkFontMgr to the animation builder, and it will be used to resolve missing glyphs. Skia provides several SkFontMgr implementations, including a FontConfig flavor. Or you can always write your own if you need custom fallback rules.On Tue, Sep 19, 2023 at 8:31 PM 'dan.r...@dockyard.com' via skia-discuss <skia-d...@googlegroups.com> wrote:I have a Skottie animation, from After Effects, that animates dynamic text. However, a single line text can have different characters, such as: "XYZ 新年快樂" that are not necessarily going found in a single font. Is there a way to designate a fallback font when a character is not found within a single line of text?--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/414c5cd8-1762-4d2c-9cae-f61a50914762n%40googlegroups.com.
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/9f303a9c-5df4-495e-9ea9-29f0b821b64fn%40googlegroups.com.