changeset 24863:3d3376237a7c

Change the font size mapping table in purple_markup_html_to_xhtml() to use the values suggested in the CSS 2.1 specification. This should make fonts sent and received by Pidgin closer to their intended size. http://www.w3.org/TR/CSS21/fonts.html#font-size-props
author Mark Doliner <mark@kingant.net>
date Mon, 22 Dec 2008 19:14:50 +0000
parents a9b4599a5367
children 01bd85f65fa1
files libpurple/util.c
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/util.c	Mon Dec 22 19:02:33 2008 +0000
+++ b/libpurple/util.c	Mon Dec 22 19:14:50 2008 +0000
@@ -1676,20 +1676,18 @@
 							  size = "xx-small";
 							  break;
 							case 2:
-							  size = "x-small";
+							  size = "small";
 							  break;
 							case 3:
-							  size = "small";
+							  size = "medium";
 							  break;
 							case 4:
-							  size = "medium";
+							  size = "large";
 							  break;
 							case 5:
-							  size = "large";
+							  size = "x-large";
 							  break;
 							case 6:
-							  size = "x-large";
-							  break;
 							case 7:
 							  size = "xx-large";
 							  break;