diff --git a/modules/canvaskit/paragraph_bindings.cpp b/modules/canvaskit/paragraph_bindings.cpp index 35252fbb31..d2be3a1476 100644 --- a/modules/canvaskit/paragraph_bindings.cpp +++ b/modules/canvaskit/paragraph_bindings.cpp @@ -488,13 +488,6 @@ EMSCRIPTEN_BINDINGS(Paragraph) { para::TextStyle style; style.setTypeface(r["typeface"].as< sk_sp >()); style.setFontSize(r["size"].as()); - style.setFontStyle({ - r["fakeBold"].as() ? SkFontStyle::kBold_Weight - : SkFontStyle::kNormal_Weight, - SkFontStyle::kNormal_Width, - r["fakeItalic"].as() ? SkFontStyle::kItalic_Slant - : SkFontStyle::kUpright_Slant, - }); const size_t subTextCount = r["length"].as(); if (subTextCount > textCount) {