David Pitt <pit...@pittdj.co.uk> wrote:

> Geoffrey Baxendale <thebe...@sarno.freeserve.co.uk> wrote:
> 
> > In message <mpro.le371m00000y30brc.pit...@pittdj.co.uk>
> >           David Pitt <pit...@pittdj.co.uk> wrote:
> > 
> > >
> > > Geoffrey Baxendale <thebe...@sarno.freeserve.co.uk> wrote:
> > >
> > > > In message <mpro.le0zz5000025i0aw0.pit...@pittdj.co.uk>
> > > >           David Pitt <pit...@pittdj.co.uk> wrote:
> > > >
> > > > >
> > > > > Geoffrey Baxendale <thebe...@sarno.freeserve.co.uk> wrote:
> 
> [snip - filetyping of PNGs in !Netsurf.Resources.Icons]
> 
> > > > > > > Just need to sort mimemap now as the system doesn't set the
> > > > > > > files types to png.
> > > > > > >
> > > > > > Thinking about this I realised that mimemap doesn't come into
> > > > > > this, so I tried unpacking with !Infozip. That works properly
> > > > > > and sets the file type of the icons to png. !Sparkplug sets them
> > > > > > as data. Is there an option in choices to change that?
> > > > >
> > > > > Are the two PNGs in !Netsurf.Docs filetyped correctly by
> > > > > SparkPlug?
> > > > >
> > > > No, they appear as DATA.
> > > > >
> > > It is unspeakably weird but using SparkPlug the two PNGs in Docs are
> > > correctly typed but the two in Icons are not. It does this
> > > consistently on VRPC OS4.39 on both Windows 7 and a Mac and also on a
> > > real OS4.04.
> > 
> > Ah, so we agree. It certainly is Bizarre
> 
> A bit more minor wierdness then. Netsurf does not mind that that the two
> PNGs in Resources.Icons are typed as Data, they are none the less
> displayed in the Hotlist window. Renaming them so that they are not found
> results in black rectangles in the Hotlist window.
> 
> Given that "it works anyway" SparkPlug is a satisfactory unzipper for
> NetSurf here.

Oops, missed a bit, the fix I believe.

2010-12-27 14:03 - tlsa - r11123 - (in trunk/netsurf)
When fetching a local file of type data, examine the extension to determine
mime type.


-- 
David Pitt

Reply via email to