Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
134 user(s) are online (38 user(s) are browsing News)

Members: 2
Guests: 132

skynet, emeck, more...

Support us!

Headlines


Recent Replied Topics
Software News : Scalable Vector Graphics (SVG) Datatype
Posted by ssolie on 2006/12/13 17:16:10 (1753 reads) News by the same author

Fredrik Wikstrom has managed to put together an SVG datatype for OS4.

Grab it from OS4 Depot.

Installation:

1. Copy svg.datatype to SYS:Classes/DataTypes/.
2. Copy SVG to DEVS:DataTypes/.

SDK users can just use "make install".

The OS4 native expat.library is needed in order for the datatype to work (it is not enough to just use a .l.main glue file!). This library can be found as part of the expat-ppc archive on OS4Depot.

Compiling:

"make".

Bugs:

None known.

Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
Chris
Published: 2006/12/13 19:01  Updated: 2006/12/13 19:01
Amigans Defender
Joined: 11/17/2006
From: England
Comments: 3419
 Re: Scalable Vector Graphics (SVG) Datatype
Something OS4 could do with is a scalable graphics datatype superclass - so you can specify the picture size you want (Multiview could then scale it to the size of the current window).

Chris
yoodoo2
Published: 2006/12/13 20:09  Updated: 2006/12/13 20:09
Just popping in
Joined: 12/09/2006
From: The Bostin' Black Country
Comments: 113
 Re: Scalable Vector Graphics (SVG) Datatype
Indeed. This is a good start though, and I'm sure I'll find a use for it in MindSpace.
eXec
Published: 2006/12/14 1:17  Updated: 2006/12/14 1:17
Just popping in
Joined: 12/04/2006
From:
Comments: 33
 Re: Scalable Vector Graphics (SVG) Datatype
salass00
Published: 2006/12/14 14:26  Updated: 2006/12/14 14:26
Just can't stay away
Joined: 11/30/2006
From: Finland
Comments: 1890
 Re: Scalable Vector Graphics (SVG) Datatype
I've uploaded a new version (0.2) to OS4Depot which fixes some of the crashing. It's not perfect (see the Bugs section in the readme) but at least it doesn't crash so often (instead it fails silently...).

BTW I tried increasing the priority on the descriptor file like someone suggested, only it didn't work so well, so I changed it back. With the priority 1 descriptor all svg files were opened as text files. It seems the priority works the opposite to what you would expect, and there is unfortunately no way to set a negative priority...
Chris
Published: 2006/12/15 0:20  Updated: 2006/12/15 0:20
Amigans Defender
Joined: 11/17/2006
From: England
Comments: 3419
 Re: Scalable Vector Graphics (SVG) Datatype
I've set negative priorities before using dtdesc. However, it sounds like Sebastian Bauer might need to fix the priority of the HTML descriptor, or make it a bit more strict.
salass00
Published: 2006/12/15 9:29  Updated: 2006/12/15 9:29
Just can't stay away
Joined: 11/30/2006
From: Finland
Comments: 1890
 Re: Scalable Vector Graphics (SVG) Datatype
@Chris

I checked one of the datatypes header files and the priority field is an unsigned 16-bit integer. I even tried inputting 65535 which would produce -1 if it was treated as signed and it gave the same result as before...
Raziel
Published: 2006/12/16 18:58  Updated: 2006/12/16 18:58
Home away from home
Joined: 11/26/2006
From: a dying planet
Comments: 5572
 Re: Scalable Vector Graphics (SVG) Datatype
Thanks a lot Fredrik, another one from you, cool
poweramiga
Published: 2006/12/29 3:41  Updated: 2006/12/29 3:41
Amigans Defender
Joined: 11/18/2006
From: Flinders NSW Australia
Comments: 772
 Re: Scalable Vector Graphics (SVG) Datatype
insalled and using but not 100% sure what its doing
General
Site sponsors
 
Contact us on discord to advertise here.

Site statistics
Registered members
  1722
Logged in last:
  24 hours, 69
  7 days, 106
  30 days, 173

Random Photo
Replacing Amiga 4000 capacitors 2

New Articles List

New Members
Amigafreak02
Amigafreak02 11/15/2024
Drakken
Drakken 11/14/2024
ybbasepiw
ybbasepiw 11/11/2024
Mr_byte
Mr_byte 11/06/2024
ghettofinger
ghettofinger 10/30/2024
VaultDweller
VaultDweller 10/30/2024
Greenslade
Greenslade 10/11/2024
komyash
komyash 09/20/2024
Correine
Correine 09/16/2024
Falke_34
Falke_34 09/14/2024


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project