Re: [webkit-dev] How to get mimeType for decidePolicyForResponse ??

2011-05-25 Thread Sam Weinig
It doesn't look like they have have exposed API to do this yet. Please file an enhancement request at bugs.webkit.org. -Sam On May 24, 2011, at 8:33 PM, naren.me...@gmail.com wrote: Thanks for the response, Sam. On Tue, May 24, 2011 at 10:19 PM, Sam Weinig wei...@apple.com wrote: It

Re: [webkit-dev] SVG Fonts in webkit

2011-05-25 Thread Nikolas Zimmermann
Am 25.05.2011 um 00:42 schrieb Saba Taseer: It executes the code in the following #if ENable but the if statement returns false. Thus I presume that SVG_FONTS is enabled. It is instead going to drawSimpleText. #if ENABLE(SVG_FONTS) if (primaryFont()-isSVGFont()) {

[webkit-dev] SVG font file location

2011-05-25 Thread Saba Taseer
I am trying to study SVG fonts rendering in webkit. I followed the instructions at http://frabru.de/c.php/article/SVGFonts-usage and got my SVG font running for Chrome. I added the same script as a string in winlauncher to see the course of events SVG text goes through to render SVG text, but

Re: [webkit-dev] SVG font file location

2011-05-25 Thread Rob Buis
Hi Saba, On 25 May 2011 16:08, Saba Taseer stehs...@hotmail.com wrote: I am trying to study SVG fonts rendering in webkit. I followed the instructions at http://frabru.de/c.php/article/SVGFonts-usage and got my SVG font running for Chrome. I added the same script as a string in winlauncher to

Re: [webkit-dev] SVG font file location

2011-05-25 Thread Saba Taseer
I am winLauncher to debug the svg fonts course. I have to define my script as a string but the svg font is in a seperate file. The glyphs file you mentioned in layouttests/svg/custom is also giving different font than in chrome. I think this is a file location issue, but I cant find a way to

Re: [webkit-dev] Early deletion of DocumentLoader instances

2011-05-25 Thread Brady Eidson
On May 24, 2011, at 09:31 , Darin Adler wrote: On May 24, 2011, at 6:56 AM, Raphael Kubo da Costa wrote: we should fix it by making some better relationship between the Document and DocumentLoader that guarantees we won’t have a dangling pointer. Either reference counting to keep the

Re: [webkit-dev] Early deletion of DocumentLoader instances

2011-05-25 Thread Adam Barth
On Wed, May 25, 2011 at 6:26 PM, Brady Eidson beid...@apple.com wrote: On May 24, 2011, at 09:31 , Darin Adler wrote: On May 24, 2011, at 6:56 AM, Raphael Kubo da Costa wrote: we should fix it by making some better relationship between the Document and DocumentLoader that guarantees we won’t

Re: [webkit-dev] Early deletion of DocumentLoader instances

2011-05-25 Thread Maciej Stachowiak
On May 25, 2011, at 9:30 PM, Adam Barth wrote: Reading my comments on the bug, I was happy that the document had a pointer to the DocumentLoader. My apologies for misunderstanding the ownership relations between these objects. I thought that DocumentLoader had Document-lifetime, but it