diff --git a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/yinying.py b/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/yinying.py index 3415a9a1..55b2ea21 100644 --- a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/yinying.py +++ b/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/yinying.py @@ -13,20 +13,6 @@ class QGraphicsDropShadowEffect_multi(QGraphicsDropShadowEffect): class TextLine(TextLabel_0): - def moveoffset(self): - font = self.font() - fontOutLineWidth = ( - font.pointSizeF() * self.config["shadowR"] + self.config["shadowR_ex"] - ) - return fontOutLineWidth, fontOutLineWidth - - def extraWH(self): - font = self.font() - fontOutLineWidth = ( - font.pointSizeF() * self.config["shadowR"] + self.config["shadowR_ex"] - ) - fontOutLineWidth *= 2 - return fontOutLineWidth, fontOutLineWidth def usingcolor(self): return QColor(self.config["fillcolor"])