comparison src/gtkimhtml.c @ 5367:fc0441fbf159

[gaim-migrate @ 5743] javabsp fixed y!m point sizes (again) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 14 May 2003 04:11:23 +0000
parents ead927e2543f
children e2f2d8857f9f
comparison
equal deleted inserted replaced
5366:23898d72679c 5367:fc0441fbf159
69 69
70 70
71 /* POINT_SIZE converts from AIM font sizes to point sizes. It probably should be redone in such a 71 /* POINT_SIZE converts from AIM font sizes to point sizes. It probably should be redone in such a
72 * way that it base the sizes off the default font size rather than using arbitrary font sizes. */ 72 * way that it base the sizes off the default font size rather than using arbitrary font sizes. */
73 #define MAX_FONT_SIZE 7 73 #define MAX_FONT_SIZE 7
74 #define POINT_SIZE(x) (_point_sizes [MIN ((x), MAX_FONT_SIZE) - 1]) 74 #define POINT_SIZE(x) (options & GTK_IMHTML_USE_POINTSIZE ? x : _point_sizes [MIN ((x), MAX_FONT_SIZE) - 1])
75 static gint _point_sizes [] = { 8, 10, 12, 14, 20, 30, 40 }; 75 static gint _point_sizes [] = { 8, 10, 12, 14, 20, 30, 40 };
76 76
77 /* The four elements present in a <FONT> tag contained in a struct */ 77 /* The four elements present in a <FONT> tag contained in a struct */
78 typedef struct _FontDetail FontDetail; 78 typedef struct _FontDetail FontDetail;
79 struct _FontDetail { 79 struct _FontDetail {