diff --git a/app/thirdparty/java/other/writeily/format/WrProportionalHeaderSpanCreator.java b/app/thirdparty/java/other/writeily/format/WrProportionalHeaderSpanCreator.java index fdc89572dc..a92b40790f 100644 --- a/app/thirdparty/java/other/writeily/format/WrProportionalHeaderSpanCreator.java +++ b/app/thirdparty/java/other/writeily/format/WrProportionalHeaderSpanCreator.java @@ -38,8 +38,6 @@ public LargerHeaderSpan(final @ColorInt int color, final float proportion) { @Override public void updateMeasureState(@NonNull TextPaint textPaint) { - textPaint.setFakeBoldText(true); - textPaint.setColor(_color); textPaint.setTextSize(textPaint.getTextSize() * _proportion); } @@ -47,7 +45,6 @@ public void updateMeasureState(@NonNull TextPaint textPaint) { public void updateDrawState(@NonNull TextPaint textPaint) { textPaint.setFakeBoldText(true); textPaint.setColor(_color); - textPaint.setTextSize(textPaint.getTextSize() * _proportion); } } } \ No newline at end of file