comparison src/gtkimhtml.c @ 8380:4a5b36510665

[gaim-migrate @ 9108] Just a minor WYSIWYG fix; now the grow and shrink buttons work properly. Also, the CSS standard says that each font size should be 1.2 times the size of the next smallest, and W3C tends to be smart about these things, so I did that. Also, timestamps are once again size=2, which I think looks better. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 01 Mar 2004 20:52:57 +0000
parents 5f78e96ff135
children c25c697525b7
comparison
equal deleted inserted replaced
8379:1a9388ae699e 8380:4a5b36510665
68 68
69 /* POINT_SIZE converts from AIM font sizes to point sizes. It probably should be redone in such a 69 /* POINT_SIZE converts from AIM font sizes to point sizes. It probably should be redone in such a
70 * way that it base the sizes off the default font size rather than using arbitrary font sizes. */ 70 * way that it base the sizes off the default font size rather than using arbitrary font sizes. */
71 #define MAX_FONT_SIZE 7 71 #define MAX_FONT_SIZE 7
72 #define POINT_SIZE(x) (options & GTK_IMHTML_USE_POINTSIZE ? x : _point_sizes [MIN ((x), MAX_FONT_SIZE) - 1]) 72 #define POINT_SIZE(x) (options & GTK_IMHTML_USE_POINTSIZE ? x : _point_sizes [MIN ((x), MAX_FONT_SIZE) - 1])
73 static gdouble _point_sizes [] = { .75, .85, 1, 1.2, 1.7, 2.5, 3.5}; 73 static gdouble _point_sizes [] = { .69444444, .8333333, 1, 1.2, 1.44, 1.728, 2.0736};
74 74
75 enum { 75 enum {
76 TARGET_HTML, 76 TARGET_HTML,
77 TARGET_UTF8_STRING, 77 TARGET_UTF8_STRING,
78 TARGET_COMPOUND_TEXT, 78 TARGET_COMPOUND_TEXT,