Project

General

Profile

bug in WRasterImage-skia.C occurs in 3.3.6 RC 2 (Issue #5039 created)

Added by Dennis Felippa over 8 years ago

Dear sirs

In

WRasterImage-skia.C

method "CreateFromName" is no longer supported

Please around line 387 replace

impl*->textPaint*.setTypeface(SkTypeface::CreateFromName(base,

(SkTypeface::Style)style))->unref();

with:

impl*->textPaint*.setTypeface(sk_ref_sp(SkTypeface::MakeFromName(base, SkFontStyle::FromOldStyle(style)).release()));

I already created a bug (#5039) for it

Thank you,

Dennis