comparison src/gtkimhtml.c @ 3928:fb60cd7a2506

[gaim-migrate @ 4100] bigger font sizes. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 08 Nov 2002 06:51:24 +0000
parents 30f52e7afd1d
children 23c430e780eb
comparison
equal deleted inserted replaced
3927:a29eff55f7dc 3928:fb60cd7a2506
36 36
37 /* POINT_SIZE converts from AIM font sizes to point sizes. It probably should be redone in such a 37 /* POINT_SIZE converts from AIM font sizes to point sizes. It probably should be redone in such a
38 * way that it base the sizes off the default font size rather than using arbitrary font sizes. */ 38 * way that it base the sizes off the default font size rather than using arbitrary font sizes. */
39 #define MAX_FONT_SIZE 7 39 #define MAX_FONT_SIZE 7
40 #define POINT_SIZE(x) (_point_sizes [MIN ((x), MAX_FONT_SIZE) - 1]) 40 #define POINT_SIZE(x) (_point_sizes [MIN ((x), MAX_FONT_SIZE) - 1])
41 static gint _point_sizes [] = { 4, 6, 8, 10, 20, 30, 40 }; 41 static gint _point_sizes [] = { 8, 10, 12, 14, 20, 30, 40 };
42 42
43 /* The four elements present in a <FONT> tag contained in a struct */ 43 /* The four elements present in a <FONT> tag contained in a struct */
44 typedef struct _FontDetail FontDetail; 44 typedef struct _FontDetail FontDetail;
45 struct _FontDetail { 45 struct _FontDetail {
46 gushort size; 46 gushort size;