forked from KolibriOS/kolibrios
font.h: fixed offset italic
git-svn-id: svn://kolibrios.org@5758 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
dd4c9d80fd
commit
6768401e31
@ -122,10 +122,10 @@ FONT font = 0;
|
|||||||
size.width++;
|
size.width++;
|
||||||
IF(italic)
|
IF(italic)
|
||||||
{
|
{
|
||||||
size.w_italic = -size.height/3;
|
size.w_italic = size.height/3;
|
||||||
size.offset_i = -size.w_italic/size.height;
|
size.offset_i = size.w_italic/size.height;
|
||||||
size.offset_x+=size.w_italic;
|
size.width += size.w_italic;
|
||||||
size.width += math.ceil(size.w_italic+4);
|
size.w_italic = -size.w_italic;
|
||||||
}
|
}
|
||||||
return size.width;
|
return size.width;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user