ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.59 by root, Sun Apr 23 04:41:33 2006 UTC vs.
Revision 1.60 by root, Sun Apr 23 04:47:02 2006 UTC

66layout_update (CFClient__Layout self) 66layout_update (CFClient__Layout self)
67{ 67{
68 /* use a random scale factor to account for unknown descenders, 0.8 works 68 /* use a random scale factor to account for unknown descenders, 0.8 works
69 * reasonably well with bitstream vera 69 * reasonably well with bitstream vera
70 */ 70 */
71 PangoFontDescription *font = (PangoFontDescription *)
71 PangoFontDescription *font = pango_layout_get_font_description (self->pl); 72 pango_layout_get_font_description (self->pl);
72 73
73 int height = self->base_height * (PANGO_SCALE * 8 / 10); 74 int height = self->base_height * (PANGO_SCALE * 8 / 10);
74 75
75 if (height < MIN_FONT_HEIGHT) 76 if (height < MIN_FONT_HEIGHT)
76 height = MIN_FONT_HEIGHT; 77 height = MIN_FONT_HEIGHT;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines