diff --git a/programs/cmm/lib/font.h b/programs/cmm/lib/font.h index 963a1b7f0c..c52512b59f 100644 --- a/programs/cmm/lib/font.h +++ b/programs/cmm/lib/font.h @@ -122,10 +122,10 @@ FONT font = 0; size.width++; IF(italic) { - size.w_italic = -size.height/3; - size.offset_i = -size.w_italic/size.height; - size.offset_x+=size.w_italic; - size.width += math.ceil(size.w_italic+4); + size.w_italic = size.height/3; + size.offset_i = size.w_italic/size.height; + size.width += size.w_italic; + size.w_italic = -size.w_italic; } return size.width; }