-[NSAttributedString initWithData:...] compresses spaces?
-[NSAttributedString initWithData:...] compresses spaces?
- Subject: -[NSAttributedString initWithData:...] compresses spaces?
- From: Glen Simmons <email@hidden>
- Date: Thu, 27 Apr 2006 17:12:47 -0500
I'm using -[NSAttributedString
initWithData:options:documentAttributes:error:] with some XHTML that
looks like this:
<html xmlns="http://www.w3.org/1999/xhtml">
<p>
<font face="Lucida Grande" size="5">a</font>
<font face="Garamond" size="5"> </font>
<font face="Lucida Grande" size="5">a</font>
</p>
</html>
The problem is that the NSAttributedString I end up with only has one
space between the two a's instead of the 4 that it should. How can I
get it to preserve the spaces?
Thanks,
Glen Simmons
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden