adium-1.4 2667:3b3d1d6c5394: Restore back AIHTMLDecoder's assump...

commits at adium.im commits at adium.im
Wed Oct 28 14:49:15 UTC 2009


details:	http://hg.adium.im/adium-1.4/rev/3b3d1d6c5394
revision:	2667:3b3d1d6c5394
author:		Zachary West <zacw at adium.im>
date:		Wed Oct 28 10:49:09 2009 -0400

Restore back AIHTMLDecoder's assumption that fonts are Helvetica and the sky is blue.

This fixes the "italics" case talked about in adium-1.4/a81e3542ed8f. Refs #12906.

Pre-SL behavior now fully achieved. Hooray.

diffs (16 lines):

diff -r a81e3542ed8f -r 3b3d1d6c5394 Frameworks/Adium Framework/Source/AIHTMLDecoder.m
--- a/Frameworks/Adium Framework/Source/AIHTMLDecoder.m	Wed Oct 28 10:44:02 2009 -0400
+++ b/Frameworks/Adium Framework/Source/AIHTMLDecoder.m	Wed Oct 28 10:49:09 2009 -0400
@@ -249,10 +249,10 @@
 	}	
 	
 	//Setup the default attributes
-	NSString		*currentFamily = nil;
+	NSString		*currentFamily = [@"Helvetica" retain];
 	NSString		*currentColor = nil;
 	NSString		*currentBackColor = nil;
-	int				 currentSize = 0;
+	int				 currentSize = 12;
 	BOOL			 currentItalic = NO;
 	BOOL			 currentBold = NO;
 	BOOL			 currentUnderline = NO;




More information about the commits mailing list