Rev 5757 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5757 | Rev 5758 | ||
---|---|---|---|
Line 120... | Line 120... | ||
120 | size.height += size.offset_y; |
120 | size.height += size.offset_y; |
121 | size.width += size.offset_x; |
121 | size.width += size.offset_x; |
122 | size.width++; |
122 | size.width++; |
123 | IF(italic) |
123 | IF(italic) |
124 | { |
124 | { |
125 | size.w_italic = -size.height/3; |
125 | size.w_italic = size.height/3; |
126 | size.offset_i = -size.w_italic/size.height; |
126 | size.offset_i = size.w_italic/size.height; |
127 | size.offset_x+=size.w_italic; |
127 | size.width += size.w_italic; |
128 | size.width += math.ceil(size.w_italic+4); |
128 | size.w_italic = -size.w_italic; |
129 | } |
129 | } |
130 | return size.width; |
130 | return size.width; |
131 | } |
131 | } |
132 | :byte FONT::symbol_size(byte s) |
132 | :byte FONT::symbol_size(byte s) |
133 | { |
133 | { |