W3C home > Mailing lists > Public > www-svg@w3.org > June 2000

Adobe's SVG-Viewer bug?

From: Justin Friedl <justin.friedl@aspentech.com>
Date: Fri, 23 Jun 2000 18:30:16 -0400
Message-ID: <B1612D837360D111A9C000805FBBCCC901E87D35@geoffrey.sea.aspentech.com>
To: "'www-svg@w3.org'" <www-svg@w3.org>
The Adobe-SVG-viewer makes three trips to the Server when rendering an SVG
file based on the following ASP page? Is this a bug?

<%@ Language=VBScript %>
<%Response.ContentType = "image/svg-xml"%>
<%
'write to log file
Const ForAppending = 8
dim strLogFileName
strLogFileName = "c:\ApplogFile.Log"
dim objLogFileFSO
set objLogFileFSO = CreateObject("Scripting.FileSystemObject")
dim objLogFileTS
if objLogFileFSO.FileExists(strLogFileName) then 
	set objLogFileTS = objLogFileFSO.OpenTextFile(strLogFileName,
ForAppending)
else
	set objLogFileTS = objLogFileFSO.CreateTextFile(strLogFileName)
end if
sub WriteToLog (strNewEntry)
	dim strLogEntry
	strLogEntry = FormatDateTime(Now) & " - "
	strLogEntry = strLogEntry & strNewEntry
	objLogFileTS.WriteLine strLogEntry
end sub
sub CloseLog()
	objLogFileTS.Close
end sub 
%>
<%
WriteToLog "pass"
CloseLog
%><?xml version="1.0" standalone="no"?>
<svg width="11.3cm" height="2.2cm" viewBox="0 0 1130 220"
enableZoomAndPanControls="true" preserveAspectRatio="xMidYMid meet"
xmlns="http://www.w3.org/2000/svg-20000303-stylable">
  	<defs>
    <filter id="3DFilter" filterUnits="userSpace">
			<feGaussianBlur in="SourceAlpha" stdDeviation="4"
result="blur"/>
			<feOffset in="blur" dx="4" dy="4"
result="offsetBlur"/>
			<feSpecularLighting in="blur" surfaceScale="5"
specularConstant="1" specularExponent="10" lightColor="white"
result="specOut">
				<fePointLight x="-5000" y="-10000"
z="20000"/>
			</feSpecularLighting>
			<feComposite in="specOut" in2="SourceAlpha"
operator="in" result="specOut"/>
			<feComposite in="SourceGraphic" in2="specOut"
operator="arithmetic" k1="0" k2="1" k3="1" k4="0" result="litPaint"/>
			<!--<feMerge>
				<feMergeNode in="offsetBlur"/>
				<feMergeNode in="litPaint"/>
			</feMerge>-->
		</filter>
	</defs>
  <g style="font-family:Verdana; font-size:30">
    <rect x="1" y="1" width="528" height="218" style="fill:gray;
stroke:blue"/>

  </g>
  <g style="filter:url(#3DFilter)">
    <rect x="100" y="45" width="190" height="70" style="fill:red"/>
  </g>
</svg>




> 	Justin Friedl
> 	Software Engineer
> 	Web and eCommerce
> 	Supply Chain Division
> 	Aspen Technology
> 	19204 North Creek Parkway
> 	Bothell, WA 98011
> 	425-492-2379
> 	425-492-2125 (fax)
> 	mailto:justin.friedl@aspentech.com
> 
> 
Received on Friday, 23 June 2000 18:30:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:47 GMT