Re: "UseWebKit" in NSAttributedString
Re: "UseWebKit" in NSAttributedString
- Subject: Re: "UseWebKit" in NSAttributedString
- From: Stéphane Sudre <email@hidden>
- Date: Sun, 30 May 2004 12:12:47 +0200
On dimanche, mai 30, 2004, at 11:28 AM, Charles Srstka wrote:
On May 29, 2004, at 7:48 PM, Douglas Davidson wrote:
On May 29, 2004, at 6:15 AM, Moray Taylor wrote:
I am using the "UseWebKit" option when importing HTML into an
NSAttributedString, it works OK, but the rendering isn't as good as
when I don't use the "UseWebKit" option, i.e. tables don't render
nearly as well.
However, when I don't use the UseWebKit option, images don't load.
So at the moment I can have good HTML rendering with no image
loading, or image loading but not as good HTML rendering, is there
any way I can get both?
Not at present.
Douglas Davidson
Why would WebKit not render as well as the old engine? For most
purposes, WebKit seems to be light-years ahead of the old proprietary
engines found in many of Apple's apps pre-Safari.
Maybe because the attributed string needs to be rebuilt from the
WebFrames instead of directly.
The main issue I have seen with the various HTML rendering (AppKit,
WebKit) is that the background color for the attributed string is not
correctly set. e.g. if you have a black background with white fonts,
the foreground color attribute of the attributed string is correctly
white, but the background color is said to be white too.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.