Restore back AIHTMLDecoder's assumption that fonts are Helvetica and the sky is blue.
authorZachary West <zacw@adium.im>
Wed Oct 28 10:49:09 2009 -0400 (2009-10-28)
changeset 26673b3d1d6c5394
parent 2666 a81e3542ed8f
child 2668 51b737ca9b65
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.
Frameworks/Adium Framework/Source/AIHTMLDecoder.m
     1.1 --- a/Frameworks/Adium Framework/Source/AIHTMLDecoder.m	Wed Oct 28 10:44:02 2009 -0400
     1.2 +++ b/Frameworks/Adium Framework/Source/AIHTMLDecoder.m	Wed Oct 28 10:49:09 2009 -0400
     1.3 @@ -249,10 +249,10 @@
     1.4  	}	
     1.5  	
     1.6  	//Setup the default attributes
     1.7 -	NSString		*currentFamily = nil;
     1.8 +	NSString		*currentFamily = [@"Helvetica" retain];
     1.9  	NSString		*currentColor = nil;
    1.10  	NSString		*currentBackColor = nil;
    1.11 -	int				 currentSize = 0;
    1.12 +	int				 currentSize = 12;
    1.13  	BOOL			 currentItalic = NO;
    1.14  	BOOL			 currentBold = NO;
    1.15  	BOOL			 currentUnderline = NO;