Mercurial > pidgin
comparison gtk/gtkimhtml.c @ 14679:c1253e944cd0
[gaim-migrate @ 17428]
Make smaller fonts less small
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 04 Oct 2006 18:13:22 +0000 |
parents | 737a6c286a65 |
children | f7b0c1a4b9a7 |
comparison
equal
deleted
inserted
replaced
14678:21bd0369ddd7 | 14679:c1253e944cd0 |
---|---|
118 static void imhtml_clear_formatting(GtkIMHtml *imhtml); | 118 static void imhtml_clear_formatting(GtkIMHtml *imhtml); |
119 | 119 |
120 /* POINT_SIZE converts from AIM font sizes to a point size scale factor. */ | 120 /* POINT_SIZE converts from AIM font sizes to a point size scale factor. */ |
121 #define MAX_FONT_SIZE 7 | 121 #define MAX_FONT_SIZE 7 |
122 #define POINT_SIZE(x) (_point_sizes [MIN ((x > 0 ? x : 1), MAX_FONT_SIZE) - 1]) | 122 #define POINT_SIZE(x) (_point_sizes [MIN ((x > 0 ? x : 1), MAX_FONT_SIZE) - 1]) |
123 static gdouble _point_sizes [] = { .69444444, .8333333, 1, 1.2, 1.44, 1.728, 2.0736}; | 123 static gdouble _point_sizes [] = { .85, .95, 1, 1.2, 1.44, 1.728, 2.0736}; |
124 | 124 |
125 enum { | 125 enum { |
126 TARGET_HTML, | 126 TARGET_HTML, |
127 TARGET_UTF8_STRING, | 127 TARGET_UTF8_STRING, |
128 TARGET_COMPOUND_TEXT, | 128 TARGET_COMPOUND_TEXT, |