| 1 |
Change Log |
| 2 |
========== |
| 3 |
|
| 4 |
The following log records some of the most important changes. |
| 5 |
Bug fixing is an ongoing task, so it is implied in all sub-releases. |
| 6 |
|
| 7 |
1.19 |
| 8 |
---- |
| 9 |
|
| 10 |
BATIK-1374: Automatic-Module-Name incorrect |
| 11 |
BATIK-1373: Squiggle has wrong version text |
| 12 |
BATIK-1375: Optimise mvn repo checking |
| 13 |
FOP-3180: Glyph positions ignored when using a custom font |
| 14 |
|
| 15 |
1.18 |
| 16 |
---- |
| 17 |
|
| 18 |
BATIK-1225: PNG transcoder references nonexistent class |
| 19 |
BATIK-1285: Set offset to 0 if missing in stop tag |
| 20 |
BATIK-1318: Validate throws NPE |
| 21 |
BATIK-1355: Missing arabic characters |
| 22 |
BATIK-1361: Animated rotate tranform ignores y-origin at exactly 270 degrees |
| 23 |
BATIK-1362: Set an automatic module name |
| 24 |
BATIK-1363: Ignore inkscape properties |
| 25 |
BATIK-1364: Switch to spotbugs |
| 26 |
FOP-3135: Allow source and target resolution configuration |
| 27 |
|
| 28 |
1.17 |
| 29 |
---- |
| 30 |
|
| 31 |
BATIK-1346: Allow configuration of rhino whitelist |
| 32 |
BATIK-1347: Switch to empty whitelist for rhino |
| 33 |
BATIK-1349: Block loading external resource by default |
| 34 |
|
| 35 |
1.16 |
| 36 |
---- |
| 37 |
|
| 38 |
Java 8 or later is minimum runtime required |
| 39 |
|
| 40 |
BATIK-1338: Block loading jar inside svg |
| 41 |
BATIK-1345: Restrict what java classes can be run thru rhino |
| 42 |
|
| 43 |
1.14 -> 1.15 |
| 44 |
------------ |
| 45 |
|
| 46 |
BATIK-1260: Java 11 module error |
| 47 |
BATIK-1321: Remove Xerces |
| 48 |
BATIK-1299: Batik-all jar has all classes so should not pull other jars also |
| 49 |
BATIK-1329: Remove xalan |
| 50 |
BATIK-1331: Jar url should be blocked by DefaultExternalResourceSecurity |
| 51 |
BATIK-1333: Block external resource before calling fop |
| 52 |
BATIK-1335: Jar url should be blocked by DefaultScriptSecurity |
| 53 |
|
| 54 |
1.13 -> 1.14 |
| 55 |
------------ |
| 56 |
|
| 57 |
BATIK-1284: Dont load DTDs in NodePickerPanel |
| 58 |
BATIK-1292: Remove console message "About to transcoder source of type: ..." |
| 59 |
|
| 60 |
1.12 -> 1.13 |
| 61 |
------------ |
| 62 |
|
| 63 |
BATIK-1276: Allow blocking of external resources |
| 64 |
BATIK-1275: Refactor shared resources. |
| 65 |
BATIK-1274: Add .gitignore |
| 66 |
|
| 67 |
1.11 -> 1.12 |
| 68 |
------------ |
| 69 |
|
| 70 |
Java 7 or later is minimum runtime required |
| 71 |
|
| 72 |
BATIK-1203: ImageTagRegistry forgets to reinitialize cache |
| 73 |
BATIK-1251: Correct policy file in Squiggle |
| 74 |
BATIK-1253: build.sh referenced from build.xml |
| 75 |
BATIK-1257: Rasterizer - insufficient permissions when transcoding to PDF |
| 76 |
BATIK-1272: Update Xerces to 2.12 |
| 77 |
|
| 78 |
1.10 -> 1.11 |
| 79 |
------------ |
| 80 |
|
| 81 |
BATIK-1232: Zip release should use mvn jars |
| 82 |
BATIK-1233: Add policy file for batik-rasterizer |
| 83 |
BATIK-1234: Tools cannot be run using java -jar xxx.jar when built with Maven |
| 84 |
BATIK-1240: Java 11 compile error |
| 85 |
BATIK-1249: Fix Java 11 module error |
| 86 |
|
| 87 |
1.9 -> 1.10 |
| 88 |
----------- |
| 89 |
|
| 90 |
BATIK-906: Should never use Error to report runtime errors |
| 91 |
BATIK-1123: Missing import of ImportInfo class |
| 92 |
BATIK-1125: Rasterizer fails with base64 embedded png |
| 93 |
BATIK-1140: Show line numbers on exception |
| 94 |
BATIK-1142: Remove e.printStackTrace for BridgeException in SVGAbstractTranscoder |
| 95 |
BATIK-1157: Wrong value for default JPEG quality in documentation |
| 96 |
BATIK-1170: Incorrect ColorConvertOp alpha handling breaks masking |
| 97 |
BATIK-1196: Run batik tests from junit |
| 98 |
BATIK-1197: Make jython and rhino optional |
| 99 |
BATIK-1198: TIFF transcoder looks for invalid class name for its WriteAdapter |
| 100 |
BATIK-1200: ImagingOpException: Unable to transform src image |
| 101 |
BATIK-1204: Remove hashtable |
| 102 |
BATIK-1212: Show real error on URL failure |
| 103 |
BATIK-1216: Compile error on Java 10 |
| 104 |
BATIK-1222: Only call DOMImplementation in deserialization |
| 105 |
|
| 106 |
1.8 -> 1.9 |
| 107 |
---------- |
| 108 |
|
| 109 |
- Maven build support |
| 110 |
- Java 6 or later is minimum runtime required |
| 111 |
- FOP-2489: An SVG file using markers is not rendered by FOP 2.0 |
| 112 |
|
| 113 |
1.7 -> 1.8 |
| 114 |
---------- |
| 115 |
|
| 116 |
1. Bugzilla problem reports fixed: |
| 117 |
|
| 118 |
42408, 43411, 43847, 43950, 44553, 44590, 44919, 44936, 44966, |
| 119 |
45112, 45114, 45117, 45397, 45520, 45883, 45958, 46072, 46124, |
| 120 |
46202, 46227, 46430, 46431, 46513, 46855, 46871, 47201, 47202, |
| 121 |
48182, 48411, 49889, 49968, 50006, 50100, 51908, 42395 |
| 122 |
|
| 123 |
2. New features |
| 124 |
|
| 125 |
* Support for the printNode() script function. |
| 126 |
* Support for the Window and Location interface subsets from |
| 127 |
SVG Tiny 1.2. |
| 128 |
|
| 129 |
3. Improvements |
| 130 |
|
| 131 |
* DocumentType nodes are now created for XML documents where one was |
| 132 |
supplied in the markup (although only the name, publicId and systemId |
| 133 |
properties of the DocumentType object are filled in). |
| 134 |
* Dynamically created <script> elements inserted into the document are |
| 135 |
now executed (at most once, as with HTML). |
| 136 |
* The location bar in Squiggle is now updated if the requested document |
| 137 |
followed an HTTP redirect. |
| 138 |
* Improve Batik's Rhino class shutter so that it works with Rhino 1.6R7. |
| 139 |
* Allow SVGGenerator2D to embed fonts that weren't obtained from the |
| 140 |
standard AWT font lookup mechanism. |
| 141 |
* ttf2svg no longer outputs hkern elements outside user-provided glyph range. |
| 142 |
* Batik now tries to access content in HTTP error responses (for example, one |
| 143 |
is able to setup custom content for missing - HTTP code 404 - and/or other |
| 144 |
erroneous situations). |
| 145 |
* Internally registers not only font families but also makes font available |
| 146 |
through their font names. |
| 147 |
* All CSS font weights are now handled for font selection |
| 148 |
* Compatibility with GNU Classpath, OpenJDK and other open JVM was improved |
| 149 |
(image I/O is now used by default, over the Sun proprietary classes). |
| 150 |
|
| 151 |
4. Bug fixes |
| 152 |
|
| 153 |
* Better DOM serialization code. |
| 154 |
* The prompt() script function now returns a proper ECMAScript String |
| 155 |
value instead of an object. |
| 156 |
* Changes to a CDATA section in a <style> element are now detected. |
| 157 |
* Fixed tight bounds calculation for Quadradic Bezier curves. |
| 158 |
* Now uses float for Document Dimensions. |
| 159 |
* Ensure motion animations that are removed from a document don't |
| 160 |
cause an NPE. |
| 161 |
* Animations that become frozen are now not incorrectly deprioritised |
| 162 |
compared to other animations on the same attribute. |
| 163 |
* Avoid canvas repaint problems that occur in some circumstances when |
| 164 |
it is being resized. |
| 165 |
* Exceptions are now thrown if an invalid QName is passed to |
| 166 |
DOMImplementation.createDocumentType(). |
| 167 |
* DocumentType.getName() now returns the correct value. |
| 168 |
* Fixed SVGLocatable.farthestViewportElement to return null when |
| 169 |
called on the outermost <svg> element. |
| 170 |
* JavaScript fragments using different types within the one document |
| 171 |
(such as text/javascript and application/ecmascript) now share the |
| 172 |
same script interpreter. |
| 173 |
* Exporting 256 color indexed PNG files in Squiggle now works. |
| 174 |
* Avoid an NPE in ttf2svg when resolving substitutions for Arabic script. |
| 175 |
* ttf2svg now correctly writes out kerning pairs for characters that have |
| 176 |
no name. |
| 177 |
* SVGGraphics2D now serializes font-size values in style="" attributes |
| 178 |
with a unit. |
| 179 |
* Avoid an NPE when disposing a document that had animations targetting |
| 180 |
CSS properties on elements that subsequently became display:none. |
| 181 |
* The startOffset="" attribute on textPath elements now allows negative |
| 182 |
percentages. |
| 183 |
* Correctly handle individual missing <view> attributes by looking at |
| 184 |
the closest ancestor SVG element. |
| 185 |
* Fixed HeadlessExceptions related to WMF transcoding. |
| 186 |
* Font families containing numbers (like "Univers 45 Light") no longer |
| 187 |
cause errors. |
| 188 |
* Compiling on Oracle JDK 7 and JDK 8 now works. |
| 189 |
* On Windows, spaces within environment variables like JAVA_HOME no longer |
| 190 |
cause errors (JDK 6 and above default install location were moved from |
| 191 |
the system drive root to a Java folder inside Program Files). |
| 192 |
* Fixed a manifest issue affecting several Jars which prevented proper |
| 193 |
integration with NetBeans and other third-party IDEs and tools. |
| 194 |
* Several fixes for Rasterizer Task contribution (which was not building |
| 195 |
in Linux nor Cygwin and more). |
| 196 |
|
| 197 |
5. Misc |
| 198 |
|
| 199 |
* Minimum required Java version was raised to 1.5. |
| 200 |
|
| 201 |
|
| 202 |
1.7beta1 -> 1.7 |
| 203 |
--------------- |
| 204 |
|
| 205 |
1. Bugzilla problem reports fixed: |
| 206 |
|
| 207 |
26815, 28344, 35165, 36570, 37496, 38498, 40163, 40727, 41205, |
| 208 |
41820, 41947, 41955, 41988, 42014, 42021, 42032, 42075, 42118, |
| 209 |
42137, 42168, 42169, 42196, 42209, 42210, 42212, 42221, 42228, |
| 210 |
42255, 42258, 42311, 42312, 42333, 42381, 42386, 42479, 42504, |
| 211 |
42505, 42543, 42645, 42651, 42697, 42698, 42807, 42961, 42963, |
| 212 |
442968, 3022, 43043, 43045, 43165, 43194, 43195, 43370, 43418, |
| 213 |
443446, 3638, 43657, 43744, 43760, 43764, 43787, 43854, 43871, |
| 214 |
443904, 3953, 44029, 44054, 44092, 44146 |
| 215 |
|
| 216 |
2. New features |
| 217 |
|
| 218 |
* xml:id support (http://www.w3.org/TR/xml-id/). |
| 219 |
* ElementTraversal support (http://www.w3.org/TR/ElementTraversal/). |
| 220 |
* Enhanced DOM Viewer window, contributed from Ivan Andjelkovic, |
| 221 |
a Google Summer of Code student. |
| 222 |
|
| 223 |
3. Improvements |
| 224 |
|
| 225 |
* Support for cursor="move" on OS X, and cursor="help" on all |
| 226 |
platforms. |
| 227 |
* Improved conversion to/from WMF. |
| 228 |
* data: URIs now supported as external stylesheets, scripts, filters. |
| 229 |
* SVG 1.1 feature strings now reported. |
| 230 |
* The viewBox="" attribute on <svg> is now animatable. |
| 231 |
* Implemented SVGSVGelement.getViewBox(). |
| 232 |
* A document's document element can now be replaced. |
| 233 |
* Performing animation hyperlinking backwards is now supported, as |
| 234 |
well as using <a> elements to hyperlink to animations. |
| 235 |
* Updated pdf-transcoder.jar to one built from FOP 0.94. |
| 236 |
* Squiggle's View Source window is now syntax highlighted. |
| 237 |
|
| 238 |
4. Bug fixes |
| 239 |
|
| 240 |
* XPath interface objects now exposed to ECMAScript. |
| 241 |
* The three other MIME types for ECMAScript are now really supported |
| 242 |
(text/javascript, application/javascript, application/ecmascript). |
| 243 |
* Pseudo-elements now parsed properly in CSS selectors. |
| 244 |
* Avoid null pointer exception when event-base timing specifiers |
| 245 |
in animations reference an element by ID within a <use> shadow tree. |
| 246 |
* Invalid min="" and max="" values on animation elements now ignored. |
| 247 |
* Corrected CSS cascade order for rules of equal specificity. |
| 248 |
* Fixed CSS :lang() processing so that it matches case insenstiviely, |
| 249 |
using xml:lang="" as well as lang="", and using proper hyphen- |
| 250 |
separated tokens. |
| 251 |
* Gradients with gradientUnits="objectBoundingBox" disabled when the |
| 252 |
bounding box has zero width or height. |
| 253 |
* Avoid an array index exception for certain degenerate motion path |
| 254 |
animations. |
| 255 |
* Fixed mouse event button reporting. |
| 256 |
* Avoid null pointer exception when cloning <symbol> and <image> |
| 257 |
elements. |
| 258 |
* Make empty <filter> elements result in no rendering for the |
| 259 |
filtered element. |
| 260 |
* SVGStylable.getPresentationAttribute() now returns null if the given |
| 261 |
presentation attribute is not specified on the element. |
| 262 |
* Specifying textLength="" on text elements that have non-text nodes |
| 263 |
as their first children now works. |
| 264 |
* Avoid numerical accuracy issues when sampling frozen animations. |
| 265 |
* Event listeners are now removed when <text> elements are removed |
| 266 |
from the document. |
| 267 |
* Invalid SVG 1.0 feature string removed. |
| 268 |
* Ensure animation elements are properly deinitialised when they are |
| 269 |
removed from the document. |
| 270 |
* Allowed animations in <use> element shadow trees to have syncbase |
| 271 |
timing specifiers that refer to elements outside the shadow tree. |
| 272 |
* Fixed bug in DOM event removal/dispatch. |
| 273 |
* Ensure the animation engine is resumed if it is sleeping when a |
| 274 |
beginElement() call is made. |
| 275 |
* Avoid a null pointer exception in JSVGScrollPane if the document |
| 276 |
doesn't return a bounds. |
| 277 |
* Avoid a null pointer exception when painting a GraphicsNode on to an |
| 278 |
SVGGraphics2D. |
| 279 |
* Rasterizer -cssUser command line argument now resolved against |
| 280 |
current working directory. |
| 281 |
* Fixed bug in key event dispatching code. |
| 282 |
* Decrease memory required for storing animation elements' previous |
| 283 |
intervals (used for hyperlinking). |
| 284 |
* Avoid infinite loop for animations with multiple, identical begin |
| 285 |
(or end) instance times. |
| 286 |
* Ensure TIFF and JPEG codecs really aren't compiled unless the relevant |
| 287 |
Sun classes are present. |
| 288 |
* Avoid null pointer exception when accessing animated marker orient |
| 289 |
values. |
| 290 |
* Patched Rhino so that the ECMAScript debugger runs on OS X. |
| 291 |
* Ensure the animation engine is initialised before the SVGLoad event |
| 292 |
is dispatched. |
| 293 |
* Restored exception throwing from bridge classes when required |
| 294 |
length attributes are missing. |
| 295 |
* Duplicated codec classes removed from awt-util jar. |
| 296 |
* Avoid null pointer exceptions in DOMMouseEvent objects. |
| 297 |
* Motion animation transforms are now applied after the transform="" |
| 298 |
attribute. |
| 299 |
* Fixed bug in DOM event default action invocation in SVG 1.2 documents. |
| 300 |
* Fixed bug in CSS class name matching, which occured only when an |
| 301 |
element was declared to be a member of multiple classes, where one |
| 302 |
is a prefix of another. |
| 303 |
* Fixed bug on OS X where the zoom interactor overlay was not shown. |
| 304 |
|
| 305 |
5. Misc |
| 306 |
|
| 307 |
* Official maven artifacts are now supplied. |
| 308 |
|
| 309 |
|
| 310 |
1.6 -> 1.7beta1 |
| 311 |
--------------- |
| 312 |
|
| 313 |
1. Bugzilla problem reports fixed: |
| 314 |
|
| 315 |
22260, 25428, 28337, 29417, 29552, 32415, 34217, 34234, 34364, |
| 316 |
34847, 34938, 35349, 35480, 35549, 35655, 35661, 35683, 35722, |
| 317 |
35727, 35773, 35878, 35976, 35977, 36165, 36253, 36278, 36309, |
| 318 |
36455, 36483, 36485, 36493, 36511, 36613, 36614, 36615, 36743, |
| 319 |
36745, 36746, 36747, 36769, 36889, 36924, 36933, 37276, 37497, |
| 320 |
37890, 37891, 37892, 37986, 37989, 38045, 38158, 38176, 38178, |
| 321 |
38183, 38379, 38475, 38497, 38549, 38558, 38568, 38750, 38775, |
| 322 |
38782, 38785, 38831, 38872, 38930, 38932, 38933, 38990, 39032, |
| 323 |
39058, 39202, 39297, 39303, 39318, 39361, 39751, 39755, 39784, |
| 324 |
39831, 39838, 40098, 40167, 40336, 40368, 40392, 40393, 40397, |
| 325 |
40403, 40405, 40594, 40605, 40631, 40681, 40686, 40857, 40898, |
| 326 |
40927, 40994, 41079, 41165, 41216, 41234, 41288, 41329, 41331, |
| 327 |
41336, 41473, 43954 |
| 328 |
|
| 329 |
2. New features |
| 330 |
|
| 331 |
* DOM Level 3 Core/Events/XPath support. |
| 332 |
* Improved WMF transcoder support. |
| 333 |
* Override style declaration support. |
| 334 |
* Near complete SMIL Animation support. |
| 335 |
* SVG 1.2 features: |
| 336 |
* resource documents |
| 337 |
* shapechange and RenderedBBoxChange events |
| 338 |
* SVGGlobal startMouseCapture/stopMouseCapture methods |
| 339 |
* handler elements |
| 340 |
|
| 341 |
3. Improvements |
| 342 |
|
| 343 |
* The SVG namespace declaration is now not assumed for the document element |
| 344 |
when an SVG declaration is not present. Certain non-conformant content |
| 345 |
will now be identified as being in error. |
| 346 |
* New MacRenderer implementation that avoids 10x slowdown on |
| 347 |
Tiger. |
| 348 |
* Mutations to flowText contents now cause the rendering to update, and |
| 349 |
flowRegion objects are now rendered. |
| 350 |
* Support for normalized path segments on SVGAnimatedPathData, thanks to |
| 351 |
Andres Toussaint. |
| 352 |
* Updated pdf-transcoder.jar to one built from FOP 0.9alpha1: |
| 353 |
* This fixes text being drawn as text in PDF. |
| 354 |
* JPEG streams being embedded as JPEG. |
| 355 |
* Default bitmap dpi is 300. |
| 356 |
* Most gradients and patterns are now correct (pattern overflow isn't |
| 357 |
handled properly although most of the code is present), and |
| 358 |
gradients with complex repeats are rasterized due to difficulties |
| 359 |
expressing them in PDF. |
| 360 |
* Transcoders with the KEY_EXECUTE_ONLOAD hint set force the document |
| 361 |
to be dynamic. |
| 362 |
* Added JIIO codecs to Batik (not enabled by default) |
| 363 |
* Support for finding XML Parser through JAXP. |
| 364 |
* Enhancements to ArabicTextHandler. |
| 365 |
* Update Manager's MIN_REPAINT time is now adjustable. |
| 366 |
* GraphicsUtil warning about Graphics from BufferedImage |
| 367 |
w/o BUFFERED_IMAGE hint is now controllable with property. |
| 368 |
* JSVGScrollPane now has 'scrollbarAlwaysVisible' mode. |
| 369 |
* Improved Path parser so it is more conformant. |
| 370 |
* Updated Rhino to 1.6R5. |
| 371 |
* Documents in Squiggle's Go menu now have the full URI as a tooltip. |
| 372 |
* Better version number reporting from org.apache.batik.Version. |
| 373 |
* Implemented SVGPathElement.getPathSegAtLength. |
| 374 |
* Implemented 'getFunctionName' for built in CSS functions. |
| 375 |
* Exposed SAXDocumentFactory's parser to subclasses. |
| 376 |
* Added a -snapshotTime option to the rasteriser. |
| 377 |
* Now using Apache XML Commons External, for SAC, DOM 3 Core, SMIL Animation |
| 378 |
and SVG 1.1 DOM bindings. |
| 379 |
* Encoding as specified in a Content-Type header's charset parameter is now |
| 380 |
honoured when scripts are loaded. |
| 381 |
* Changed InterpreterFactory so that multiple MIME types can be associated |
| 382 |
with a given Interpreter. |
| 383 |
* text/javascript, text/ecmascript, application/javascript and |
| 384 |
application/ecmascript are now all supported as script types for Rhino. |
| 385 |
Processing of application/ecmascript is as specified in RFC 4329. |
| 386 |
* Improved integration when running under Mac OS X: Squiggle's menu bar |
| 387 |
is now at the top of the screen, the application window has a proper |
| 388 |
name and functional About/Preferences/Quit menu items, and a Squiggle.app |
| 389 |
application bundle can now be created. |
| 390 |
* JAR files now have Implementation-* attributes. |
| 391 |
* Added an interface for all ImageRenderers to get/set RenderingHints. |
| 392 |
|
| 393 |
3. Bug fixes |
| 394 |
|
| 395 |
* SVGMatrix.rotate now takes deg rather than radians. |
| 396 |
* Fixed mouseout/mouseover tracking, which regressed some time between |
| 397 |
1.5beta5 and 1.6. |
| 398 |
* Fixed misplaced glyph for mixed LTR and RTL text. |
| 399 |
* Fixed handling of tooltips from title elements. |
| 400 |
* Fixed rendering error (bug 36511). |
| 401 |
* Fix for broken event propagation across 'use' element shadow tree boundary. |
| 402 |
* Fixed a bug in the handling of 'x', 'y', 'width', 'height', |
| 403 |
on feImage elements. |
| 404 |
* Fixed bug in EventTarget.{add,remove}EventListenerNS wrapper |
| 405 |
for Rhino. |
| 406 |
* Fixed memory leak with dynamically added title tooltips. |
| 407 |
* Fixed bug with update regions and filters. |
| 408 |
* Fixed a problem with feSpotLight and feSpecular lighting (bug 36745). |
| 409 |
* Fixed bug with event removal for multiple events and the same target |
| 410 |
(thanks Andreas). |
| 411 |
* Fixed problem with lowercase 'European' vowels (accented vowels). |
| 412 |
* Fixed duplicated fragment identifier bug. |
| 413 |
* Fix to allow transcoders that execute onload to work with SVG 1.2 |
| 414 |
documents. |
| 415 |
* Fix incorrect reporting of modifier key states in DOM UI event objects. |
| 416 |
* The broken link image works again now. |
| 417 |
* Convert "" to null for namespace URIs given to public DOM interfaces. |
| 418 |
* Gradient scaleback is now 0.999 rather than 0.97. |
| 419 |
* ttf2svg now emits a document with an SVG namespace declaration. |
| 420 |
* Include the o.a.b.ext.awt.image.spi.{ImageWriter,RegistryEntry} service |
| 421 |
resource files in the codec jar. (Fixes problems with data: URIs for |
| 422 |
images when Squiggle is run from the jars.) |
| 423 |
* Fixed problem with ZoomAndPan handling overriding user disabling of |
| 424 |
interactors. |
| 425 |
* More sensible handling of source 'URLs' in svgrasterizer. |
| 426 |
* Greyscale sources are now treated as if they have sRGB Gamma. |
| 427 |
* Fixed SVGTextContentElement.getExtentOfChar to use glyph metrics rather |
| 428 |
than the glyph shape bounding box. |
| 429 |
* Changed Errors to UnsupportedOperationExceptions for unimplemented methods. |
| 430 |
* JSVGViewerFrame uses reflection for the Rhino debugger to enable |
| 431 |
compilation without Rhino. |
| 432 |
* Fixed phantom 'double click' bug. |
| 433 |
* Handle 'style' elements added and removed from the document when they are |
| 434 |
not at the root of the addition/removal. |
| 435 |
* Make CSS engine not throw an NPE for extension elements that don't expose |
| 436 |
an OverrideStyleProvider. |
| 437 |
* Fixes for text-on-a-path with glyphs who's geometry doesn't "start" at 0. |
| 438 |
* Various deadlock fixes. |
| 439 |
* Fixed bug where writing TIFF with JPEG compression fails. |
| 440 |
* Fixed significant performance bug in creating geometry (it was |
| 441 |
parsing the entire path for each entry in the path, O(N^2)). |
| 442 |
* Fixed SVGTextContent interfaces on FlowRoot elements. |
| 443 |
* Fixed NPE when reloading an SVG 1.2 document quickly. |
| 444 |
* Fixed bug where mousing over 'a' elements would result in exceptions. |
| 445 |
* Avoid NPEs when loading scripts from file: URIs. |
| 446 |
* Fixed flowText regression by rebasing off SVGOMTextPositioningElement. |
| 447 |
* radialGradient has a default value of "50%" for 'r' (thanks Tonny). |
| 448 |
* Fixed bug in key event dispatching when compiled under JDK 1.3. |
| 449 |
* Avoid precision errors in stringification of transform list values |
| 450 |
(thanks Nick). |
| 451 |
* Unmaximize Squiggle window if the "Automatically resize window when |
| 452 |
loading documents" option is turned on. |
| 453 |
* Fixed improper rendering of the batik70.svg sample under OS X. |
| 454 |
* Fixed synchronization bug in the SVG generator. |
| 455 |
|
| 456 |
4. Misc |
| 457 |
|
| 458 |
* Code now compiles under Java 1.5 and 1.6. |
| 459 |
* Lots of code/javadoc cleanups. |
| 460 |
* New Forrest-based website for Batik. |
| 461 |
* New about box/splash screen. |
| 462 |
* Visual refresh for Squiggle's toolbar icons and Preferences window. |
| 463 |
|
| 464 |
|
| 465 |
1.5.1 -> 1.6 |
| 466 |
------------ |
| 467 |
|
| 468 |
1. Bugzilla problem reports fixed: |
| 469 |
|
| 470 |
28035, 28188, 28429, 28432, 28487, 29110, 29891, 30580, 30584, |
| 471 |
30739, 30923, 30925, 30948, 31603, 32108, 32435, 32872, 32951, |
| 472 |
33242, 33733, 33890, 33923, 33986, 34030, 34041, 34115 |
| 473 |
|
| 474 |
2. SVG 1.2 Features: |
| 475 |
|
| 476 |
* All SVG 1.2 elements/features have been moved from |
| 477 |
the Batik namespace into the SVG 1.2 namespace (except for |
| 478 |
flowText which remains, due to some loss of functionality |
| 479 |
with the current flowRoot and potential spec instability). |
| 480 |
* Implementation of SVG 1.2 flowRoot element (text flow into |
| 481 |
arbitrary regions with bidi support). |
| 482 |
* There is now an SVG12CSSEngine which has support for new |
| 483 |
properties in SVG 1.2 |
| 484 |
|
| 485 |
3. Improvements: |
| 486 |
|
| 487 |
* Massive performance improvement (>10X) for drawing on Mac OS X. |
| 488 |
* Document.getElementById now uses a Hashtable to speedup lookups. |
| 489 |
* JavaScript can now be used in an Applet out of the box. |
| 490 |
* Added support for 'font' shorthand property. |
| 491 |
* Added support for 'deselectAll' SVG DOM call. |
| 492 |
* getEncolsureList and getIntersectionList are implemented. |
| 493 |
* Added support for get[Screen]PixelUnitToMillimeterX/Y |
| 494 |
* SVG DOM getTotalLength, and getPointAtLength are now implemented. |
| 495 |
* Support for preserveAspectRatio DOM methods. |
| 496 |
* Squiggle browser now has a 'Save As' menu item. |
| 497 |
* Can toggle if xml:base should be added to saved SVG. |
| 498 |
* Can 'pretty print' saved XML for readability. |
| 499 |
* ExtensibleSVGDOMImplementation no longer exists, |
| 500 |
the SVGDOMImplementation is now extensible. There is a |
| 501 |
new baseclass ExtensibleDOMImplementation that provides |
| 502 |
extension capabilities to any DOMImplementation subclass. |
| 503 |
As a result the name of the services meta-file has moved to: |
| 504 |
'org.apache.batik.dom.DomExtension' |
| 505 |
from: |
| 506 |
'org.apache.batik.dom.svg.DomExtension'. |
| 507 |
People with DOM extension will have to update the service file |
| 508 |
accordingly. |
| 509 |
* ExtensibleDOMImplementation now allows 'extension' elements in |
| 510 |
the SVG Namespace (they are always lower priority than 'buit ins'). |
| 511 |
* When a new Document is loaded a new BridgeContext is created for it. |
| 512 |
As a result each document now get's it's own CSS engine. |
| 513 |
* ttf2svg now supports 'auto ranging' so it looks at the font |
| 514 |
to decide what to output. |
| 515 |
* DOM will now detect when the child passed to insert/remove |
| 516 |
* AbstractParentNode will now throw a DOM Hierarchy exception |
| 517 |
if you try to append a node as a child of it's self (PR 34030) |
| 518 |
* Anti-aliased clips (hqClip patch). This can be disabled by setting |
| 519 |
the transcoding hint to vector or print (so content doesn't get |
| 520 |
rasterized). PR 29110. |
| 521 |
* Control of tiled image rendering based on rendering hint. |
| 522 |
Using this hint may greatly increase the amount of memory used. |
| 523 |
* The Marker interface now has a 'getCharIndex()' method to |
| 524 |
get the index of the character the Mark is associated with. |
| 525 |
node is not the child of the node insert/remove is called on. |
| 526 |
* DrawImage now defaults color model to sRGB_Unpre if the destination |
| 527 |
doesn't include alpha. |
| 528 |
* The pattern element now shares one rendering tree across all |
| 529 |
references. |
| 530 |
* Some improvements for Kerning in SVG Font (faster) |
| 531 |
* Arabic diacritics are now positioned relative to the right edge |
| 532 |
of the base glyph. Bug 28429 |
| 533 |
* Basic DocumentType implementation, if present DOMUtilities will |
| 534 |
now emit a proper doctype specification |
| 535 |
* GVT Tree walker can now be given any node in the GVT tree and it |
| 536 |
walk just that subtree. |
| 537 |
* Many places now use getResource as Stream instead of Resource |
| 538 |
bundles where localization is not wanted/needed. |
| 539 |
* Tweaked UpdateManager repaint scheduling alg. |
| 540 |
It now tracks when the rendering goes 'out of date' |
| 541 |
with the document and runs runnables until it is out of |
| 542 |
them or MIN_REPAINT_TIME is exceeded. |
| 543 |
* Arc2D now translated to path with elliptical arc commands |
| 544 |
in SVGGraphics2D interface. |
| 545 |
* JSVGScrollPane now uses bbox of geometry if no viewBox is provided. |
| 546 |
* Refactored the text and flow bridges so make things cleaner. |
| 547 |
* Implemented textLength to return the value of |
| 548 |
getComputedTextLength when the textLength attribute is not |
| 549 |
set. |
| 550 |
* Potentially large optimization in BBox generation |
| 551 |
* The DOM tree viewer now has an option to hide text nodes that |
| 552 |
only contain whitespace. |
| 553 |
* The DOM tree viewer now includes the id of an element in the |
| 554 |
tree view if it has one. |
| 555 |
* Improvements to empty bounds handling, should decrease update areas. |
| 556 |
* GVT Render requests are now compressed. This helps when doing |
| 557 |
live resize of large documents. |
| 558 |
* Some refactoring/restructuring of svggen.XmlWriter to potentially |
| 559 |
make it a pretty printing DOM serializer. |
| 560 |
* Latest pdf-transcoder from FOP which supports '-dpi' switch. |
| 561 |
* ScrollPane now should do a better job of fitting document w/o |
| 562 |
scrollbars |
| 563 |
* title and desc changes are now dynamically tracked. |
| 564 |
* ScriptFactorys now loaded via Services interface. |
| 565 |
* Made the JDK image loading Mediatracker static |
| 566 |
(so others could use it easier). |
| 567 |
* ParsedURL now uses the current Batik version as it's default |
| 568 |
UserAgent |
| 569 |
* Rationalized Text Selection code. Copy to clipboard is now done |
| 570 |
by JGVTComponent only if 'unix style' text selection is requested |
| 571 |
(default). |
| 572 |
|
| 573 |
4. Bug Fixes: |
| 574 |
|
| 575 |
* Fixed all known memory leaks with loading images. |
| 576 |
* Changing documents in JSVGScrollPane now works properly. |
| 577 |
* Fixed a small memory leak when changing xlink:href on a |
| 578 |
use referencing a local element. |
| 579 |
* No longer uses Thread.interrupt. On some JVM's this can confuse the |
| 580 |
class loader. |
| 581 |
* Adding elements in the 'null' namespace nolonger causes a NPE exception. |
| 582 |
* Fixed colorspace error in ColorMatrixRed. |
| 583 |
* Line element no longer has a fill associated with it. |
| 584 |
* Fixed bug #29416 - problem with empty quotes in CSS. |
| 585 |
* Fixed bug #34210 - element selectors are now case sensitive |
| 586 |
* Index out of bounds error fixed in linear gradient. |
| 587 |
* AOI problem in PrintTranscoder now fixed. |
| 588 |
* Null Pointer exception when PrintingTranscoding documents |
| 589 |
using SVG fonts is fixed (the BridgeContext was being |
| 590 |
disposed of too early). |
| 591 |
* PrintTranscoder now uses UserAgent to report exceptions |
| 592 |
rather than silently swallowing them. |
| 593 |
* Fixed some minor bugs in the GlyphLayout code for flow regions. |
| 594 |
* Very minor tweaks in JSVGScrollPane. |
| 595 |
* Applied patch 28188, fixed tooltip text & title text, thanks Glen |
| 596 |
* Applied patch 28487, fixed enabled/disabled state for |
| 597 |
toolbar buttons, thanks Glen |
| 598 |
* Fixed bug in text selection (programatically selected text wouldn't |
| 599 |
clear properly. |
| 600 |
* Fixed bug 23035 - Xlink attributes initialized with wrong values. |
| 601 |
* Fixed Bug 28785 - 'a' element not clickable with namespace prefix. |
| 602 |
* Bug 30584 - Concurrent Modification believed fixed (couldn't get |
| 603 |
test case to fail after fix). |
| 604 |
* Bug 29891 - Rasterizer problem if w/h == viewBox w/h |
| 605 |
* No more 'flicker' when panning a dynamic document. |
| 606 |
* CmapFormat4 now clips charCode 0->65534. |
| 607 |
* All Object.wait calls are now in while loops to prevent spurious wakeups. |
| 608 |
* DOM keypress events will now be generated for so called |
| 609 |
Java 'action' keyEvents (previously only keydown/up were |
| 610 |
generated). |
| 611 |
* Fixed a bug in the PNG Encoder for some 1,2 or 4 bit/pixel images. |
| 612 |
* Fixed bug in PackBits TIFF files with multiple IFD's |
| 613 |
* The 'debug' messages are now synced with GUI messages. Also they |
| 614 |
are localizable. |
| 615 |
* Tweaked the way we generate paths to avoid a bug |
| 616 |
in the Mac OS X Java implemention where a close |
| 617 |
followed by a moveto didn't join the path properly. |
| 618 |
* Fixed width/height change onload bug in transcoders submitted |
| 619 |
by Simon Mieth. Thanks! |
| 620 |
* Fixed a bug with CSS shorthand properties not being set by presentation |
| 621 |
attributes. |
| 622 |
* DOMImplementations now return empty documents if |
| 623 |
qualifiedName in createDocument is null (PR 32108) |
| 624 |
* Fixed 'flashing' with JSVGScrollPane. |
| 625 |
* Fixed PR: 30923. Text children now respect display and |
| 626 |
visibility properties (including dynamic changes). |
| 627 |
* Fixed visibility update bug reported by George Armhold. |
| 628 |
* Fixed visibility bug on image elements. |
| 629 |
* getBBox should now work per the specification. |
| 630 |
a) fill="none" will still give bbox |
| 631 |
b) It is now the tight bounds of the geometry |
| 632 |
c) It does not include the stroke anymore. |
| 633 |
d) When called on 'undisplayed' elements returns null (not sure |
| 634 |
what the spec really says about this). |
| 635 |
* Modification of use element's width/height now works. |
| 636 |
* Fixed potential interrupted bug in the RunnableQueue class. |
| 637 |
* The document loader cache now uses soft references to avoid |
| 638 |
being a memory leak. |
| 639 |
* Improved the xml:space support. |
| 640 |
* textPath no longer supports 'position attributes' on it's self |
| 641 |
* textPath now supports progression position attributes provided |
| 642 |
by parent/child tspan/text nodes. |
| 643 |
* systemLanguage, requiredFeatures, requiredExtensions now all fail |
| 644 |
to match when given an empty string (as specified by the SVG |
| 645 |
specification). Bug #33242 (thanks Rick Graham). |
| 646 |
* Fixed potential synchronization issues in JavaScript intervals. |
| 647 |
* Small optimization in Event dispatch. |
| 648 |
* Removed debug print from SVGOMAnimatedPreserveAspectRatio.java |
| 649 |
* Synchronization fix in SoftReferenceCache. |
| 650 |
* SAXParser now includes 'ignorableWhitespace' when building the |
| 651 |
DOM tree. I also tweaked the way text and CDATA sections are |
| 652 |
created. |
| 653 |
* UpdateManager is now always the 'source' of UpdateManagerEvents |
| 654 |
previously in some cases it was an inner class. |
| 655 |
* Fix for masks when using Alpha Premultiplied (Mac OS X). |
| 656 |
* Improved consistency of events from the RunnableQueue. |
| 657 |
Calling suspend/resumeExecution should now always generate |
| 658 |
a runHandler event (although the events may be "compressed" |
| 659 |
so suspend/resume may only generate one resume event). |
| 660 |
* Fixed bug in handling kerning elements with multiple glyph entries |
| 661 |
in g/u 1or2. |
| 662 |
* Removed use of 'getTagName' to use 'getLocalName' to avoid issues with |
| 663 |
prefixed svg elements. |
| 664 |
* Fixed a mistake in the generation of SVG fonts that include |
| 665 |
arabic forms (PR 33733) |
| 666 |
* Fixed handling of complex paint types (base types with |
| 667 |
fallbacks). |
| 668 |
* Fixed CSS SVG DOM interfaces for complex paint types |
| 669 |
(see bug 33923). Added new test for same. |
| 670 |
* Text Selection events are now generated even when the |
| 671 |
done event is not over a graphics node. |
| 672 |
* The double '#' bug is gone in the SVG Pretty Printer. PR 33890 |
| 673 |
* The worst of the 'extra spaces' problem with the pretty printer |
| 674 |
is solved. |
| 675 |
* Fixed updates to SVG Font based text (PR 34041) |
| 676 |
* Bug fix in NumberParser (thanks dvholten) |
| 677 |
* Fixed bug 34115 - CSSStyleDecl doesn't collapse properties. |
| 678 |
* JSVGCanvas no longer holds cached viewBox so it responds |
| 679 |
properly when viewBox is updated in SVG content. |
| 680 |
|
| 681 |
5. Misc: |
| 682 |
|
| 683 |
Documentation updates |
| 684 |
JavaDoc will now reference W3 and JDK docs |
| 685 |
Updated MAINTAIN file |
| 686 |
Splash/startup screen now embed font (a little simpler SVG as well). |
| 687 |
Some Rhino improvements. |
| 688 |
New Tests for bugs. |
| 689 |
|
| 690 |
Thanks to everyone on batik-dev/users for reporting problems and |
| 691 |
working on finding solutions. |
| 692 |
|
| 693 |
|
| 694 |
1.5 -> 1.5.1 |
| 695 |
------------ |
| 696 |
1. Security: |
| 697 |
|
| 698 |
A script security issue was reported in the Batik Squiggle |
| 699 |
browser. Squiggle uses the Rhino scripting engine and some features |
| 700 |
of that engine can be leveraged by malicious scripts to gain access |
| 701 |
to otherwise protected resources (like the file system). |
| 702 |
|
| 703 |
The Batik team has worked with the Rhino team to fix the isssue |
| 704 |
that was reported and the Batik 1.5.1 patch release addresses the |
| 705 |
issue. |
| 706 |
|
| 707 |
2. Features: |
| 708 |
|
| 709 |
Rhino JavaScript Debugger now integrated with Squiggle. |
| 710 |
Better line numbers in error messages. |
| 711 |
Zachary DelProposto's Scroll pane class is added. Allows for |
| 712 |
scrollbars on SVG documents. |
| 713 |
Cool solitaire examples in SVG. |
| 714 |
|
| 715 |
3. Performance fixes: |
| 716 |
|
| 717 |
Parents who have children added/removed no longer invalidate |
| 718 |
their entire area. |
| 719 |
When a element is removed or CSS properties changed all next |
| 720 |
siblings are not repainted unless CSS rules change them. |
| 721 |
First event dispatch is much quicker than the past. |
| 722 |
Switched to Xerces 2.5.0 to improve performance of data protocol. |
| 723 |
Changes to paint properties on text is now _much_ faster. |
| 724 |
When using many objects from an external file the file will only |
| 725 |
be loaded/parsed once. |
| 726 |
Modifying x/y and some viewBox changes on SVG elements is now much |
| 727 |
faster. |
| 728 |
Better JPEG embedding in PDF. |
| 729 |
|
| 730 |
4. Conformance: |
| 731 |
Batik now passes all non SMIL-Animation tests from the SVG Working |
| 732 |
Group beSuite. |
| 733 |
|
| 734 |
@font-face CSS property and font-face elements are now compliant |
| 735 |
with SVG specification. |
| 736 |
|
| 737 |
Changes to the 'class' attribute now update rendering tree |
| 738 |
correctly. |
| 739 |
|
| 740 |
selectSubString now implemented. |
| 741 |
|
| 742 |
Dynamic modification of display, and marker properties supported. |
| 743 |
SVG 'a' element respects 'preventDefault' on event object. |
| 744 |
Pattern element no longer applies object bounding box transform |
| 745 |
if viewBox is specified. |
| 746 |
|
| 747 |
5. Bugs: |
| 748 |
|
| 749 |
Fullscreen mode (F11) works again. |
| 750 |
getExtentOfChar() returns bbox in text elements coordinate system. |
| 751 |
SVGPoint now supports matrixTransform in more cases |
| 752 |
clientX/Y now correct when target is a text element. |
| 753 |
Bugfix in parsing some TrueType fonts fixed. |
| 754 |
Now applies the 'all' media type to all content. |
| 755 |
Image transcoders default to 400x400 rather than issuing an error |
| 756 |
(consistent with viewer). |
| 757 |
The properties opacity/filter/masking/pointer-events now work |
| 758 |
on SVG elements. |
| 759 |
Clearing text selection now works |
| 760 |
Zero width/height image elements now work properly. |
| 761 |
BBox info is correct for zero width/height items. |
| 762 |
Fills/strokes text when text-rendering is set to geometricPrecision |
| 763 |
rather than using drawGlyphVector. |
| 764 |
getCssText() returns the relative version of URI's |
| 765 |
SVG Graphics2D outputs correct rendering hints for text. |
| 766 |
TextNodes returns the correct bounds. |
| 767 |
Proper text child set as 'target' of events. |
| 768 |
Events handled correctly for documents that reference the same |
| 769 |
image multiple times. |
| 770 |
Image are displayed as 'broken links' instead of being an error. |
| 771 |
FeColorMatrix now respects color-interpolation-filters property. |
| 772 |
elem.style.setProperty now works for shorthand properties. |
| 773 |
Fixed race condition in JSVGComponent.set[SVG]Document. |
| 774 |
Fixed several memory leaks dealing with use element. |
| 775 |
Glyph element's 'd' attribute uses inherited winding-rule. |
| 776 |
SVG 'style' element no longer generates multiple 'xml:space' attrs. |
| 777 |
SAXDocumentFactory now generates only one CData node for each |
| 778 |
CData section in source document. |
| 779 |
Memory leak with addEventListener and objects that ref event target fixed. |
| 780 |
Click events now allow a small amount of 'slop'. |
| 781 |
Fixed bug in rendering with Double Buffering. |
| 782 |
Clicking on the Canvas no longer clears the system clipboard. |
| 783 |
No longer recascades elements in use tree from foreign documents |
| 784 |
Now supports CSS properties with the max negative 32bit int value |
| 785 |
Now supports more JPEG image types. |
| 786 |
No longer throws a Class Cast exception when using named colors |
| 787 |
as the fallback for icc-colors |
| 788 |
clearTimeout, clearInterval no longer throw exceptions for null |
| 789 |
objects. |
| 790 |
clipPath now respects clip-rule when using 'use' element. |
| 791 |
|
| 792 |
Bug PRs: 12536, 23030, 23038, 23079, 23177, 24919, 25251, 25463 |
| 793 |
|
| 794 |
|
| 795 |
1.5beta5 -> 1.5 |
| 796 |
--------------- |
| 797 |
|
| 798 |
1. Features: |
| 799 |
|
| 800 |
- With JDK 1.4 text-rendering="optimizeSpeed" will render |
| 801 |
non-anti-aliased hinted text (for axially aligned text). |
| 802 |
|
| 803 |
- The pointer-events property is now handled correctly for elements |
| 804 |
without fill or stroke paint. |
| 805 |
|
| 806 |
- Improved stroke accuracy when shape-rendering="geometricPrecision" |
| 807 |
|
| 808 |
- JSVGComponent.setSVGDocument with 'null' now releases all |
| 809 |
heavy resources and makes the Canvas display only Background. |
| 810 |
|
| 811 |
- Many memory leaks fixed. |
| 812 |
|
| 813 |
- Transcoders and JSVGComponent will now accept any Document |
| 814 |
and convert to a Batik SVG Document if needed. |
| 815 |
|
| 816 |
- Script interpreters are loaded lazily. This means that unless you |
| 817 |
use them (by having event attributes or script elements) you |
| 818 |
don't need any script engines. |
| 819 |
|
| 820 |
Performance Improvements: |
| 821 |
|
| 822 |
- Image drawing is now 5-10x faster, for most raster images. |
| 823 |
|
| 824 |
- Significant performance improvement for patterns that are |
| 825 |
filtered or have filters applied to them (take Batik70 for |
| 826 |
example). |
| 827 |
|
| 828 |
- AbstractParentNode insertNode, removeNode, replaceNode are |
| 829 |
now much faster for Parents with many children. |
| 830 |
|
| 831 |
|
| 832 |
Library changes: |
| 833 |
|
| 834 |
- Updated to the Rhino 1.5R41 library |
| 835 |
|
| 836 |
Others: |
| 837 |
|
| 838 |
- Added control of floating point precision used in SVGGraphics2D |
| 839 |
(see the org.apache.batik.svggen.SVGGeneratorContext class) |
| 840 |
|
| 841 |
- Batik now almost never opens image URL's twice. |
| 842 |
|
| 843 |
- JSVGComponent/BridgeContext now has three levels of interactivity. |
| 844 |
STATIC, INTERACTIVE, DYNAMIC. With increasing memory overhead |
| 845 |
and build time requirements. |
| 846 |
|
| 847 |
- Improved test environment with automated memory leak, performance, |
| 848 |
threading and interactivity tests. There are now over 1000 tests |
| 849 |
in the regard regression test suite. |
| 850 |
|
| 851 |
- Window.parseXML now returns a Document when no 'host' |
| 852 |
Document provided. |
| 853 |
|
| 854 |
2. Bugs: |
| 855 |
|
| 856 |
See: http://nagoya.apache.org/bugzilla for details on each bug. |
| 857 |
|
| 858 |
- 6526 pointer-events does not work for fill="none" stroke="none" |
| 859 |
- 6683 JSVGCanvas - Problem adding to JScrollPane |
| 860 |
- 6951 see samples/tests/spec/paints/linearGradientLine.svg |
| 861 |
- 8854 Fix feImage implementation according to latest SVG 1.0/1.1 c |
| 862 |
- 9981 Improve Documentation on Scripting with Java |
| 863 |
- 9994 text-decoration:underline is incorrect with tspan elements. |
| 864 |
- 12013 Squiggle renders jagged curves/paths 12079 transcoder.wmf |
| 865 |
- 13870 Language Code errors |
| 866 |
- 14011 problem using rasterizer with the headless option |
| 867 |
- 14673 not-so-pretty text rendering |
| 868 |
- 14788 TranscoderInput(XMLReader reader) does not seem to be implem |
| 869 |
- 14789 TranscoderInput(Document document) is incorrect |
| 870 |
- 15348 SVGGraphics2D should not export scientific notation on CSS p |
| 871 |
- 17168 SVGGraphics2D has package level protected on DOMGroupManager |
| 872 |
- 17863 API to get Version info |
| 873 |
- 17965 SVGGraphics2D adds 'font-size' attribute to 'line' and 'circ |
| 874 |
- 18143 Removing attribute using Element.removeAttributeNode doesn't |
| 875 |
- 18566 JSVGComponent packs its parent window |
| 876 |
- 18640 Problem with setSVGDocument |
| 877 |
- 18840 A few issues with the Batik source |
| 878 |
- 18841 Problems with imports in Batik source |
| 879 |
- 19017 error when attempting SVG to PDF conversion |
| 880 |
- 19363 zero width on rect element causes error |
| 881 |
- 19392 Bug in "org.apache.batik.dom.util.DOMUtilities.java" |
| 882 |
- 19865 Exception rendering linked PNG file. |
| 883 |
- 20147 JSVGCanvas doesn't function with JInternalFrame |
| 884 |
- 20201 incorrect gAMA chunk for sRGB |
| 885 |
- 20331 bug on batik SVG DOM implementation on the SVGPathSegArcAbs |
| 886 |
- 20332 bug on batik SVG DOM implementation on the SVGPathSegCurveto |
| 887 |
- 20811 A rect disabled because of zero width or height doesn't get |
| 888 |
- 21125 XML comment cause css parser to abort parsing |
| 889 |
- 21259 Drawing on an SVGGraphics2D and then using JPEGTranscoder pr |
| 890 |
- 21352 XML comments inside script elements treated as script code |
| 891 |
- 21358 Dynamic Update of content referenced by a <use> does not wor |
| 892 |
- 21361 Bug on SVGPaint implementation |
| 893 |
- 21362 Bug on CSSStyleDeclaration on URI reference |
| 894 |
- 21374 Implement conformant Java Handler code |
| 895 |
- Viewer now properly displays w/h x/y locations in |
| 896 |
'viewbox' coordinates. |
| 897 |
- Fixed dirty regions for nodes that change size then |
| 898 |
position in the rendering tree (where the new position |
| 899 |
has a different rendering transform). |
| 900 |
- Fixed handling Fragment URL's with colon's in them. |
| 901 |
- Batik no longer considers all @font-face rules a syntax error. |
| 902 |
Batik now just ignores them. |
| 903 |
- Fixed use elements in Documents with no base url. |
| 904 |
- Runs of RTL Text now work with JDK 1.4. |
| 905 |
Nested embed and bidi-override properties should now work. |
| 906 |
- Fixed bug setting viewBox on outermost SVG element as |
| 907 |
described in: |
| 908 |
http://koala.ilog.fr/batik/mlists/batik-users/archives/msg03513.html |
| 909 |
- JSVGComponent/Canvas now repaints when it changes size |
| 910 |
(even when no viewBox). |
| 911 |
- Modifying zero W/H rect, circle, ellipse now works properly. |
| 912 |
- Fixed the handling of kerning attribute. |
| 913 |
- JSVGComponent.setSVGDocument with a Document that has been |
| 914 |
previously viewed in the Canvas now works |
| 915 |
- 'style' and 'script' elements no longer include the contents |
| 916 |
of XML Comments (unless inside a CDATA block). |
| 917 |
- Fixed a with absolute x/y attributes in non-text |
| 918 |
progression direction. |
| 919 |
- Fixed JSVGComponent when it's working threads are |
| 920 |
interrupted. |
| 921 |
- RhinoInterpreter once again binds the Global Object |
| 922 |
as 'window' |
| 923 |
|
| 924 |
|
| 925 |
3. Extensions: |
| 926 |
|
| 927 |
- Updated multiImage element to match WD. |
| 928 |
|
| 929 |
|
| 930 |
4. Documentation: |
| 931 |
|
| 932 |
- Updated the FAQ with frequent questions on UpdateManager, DOM |
| 933 |
updates and visual updates. |
| 934 |
|
| 935 |
- Updated the implementation status page and the home page. |
| 936 |
|
| 937 |
|
| 938 |
1.5beta4b -> 1.5beta5 |
| 939 |
--------------------- |
| 940 |
|
| 941 |
1. Features: |
| 942 |
|
| 943 |
Library changes: |
| 944 |
|
| 945 |
- Xerces 2.3 is now the default parser. The parser can still be controlled |
| 946 |
through the org.apache.batik.util.XMLResourceDescriptor class. |
| 947 |
|
| 948 |
** NOTE ** |
| 949 |
|
| 950 |
While the general performance of the Xerces 2.3 parser seems equivalent |
| 951 |
to those of the Crimson parser used previously, there is a notable exception |
| 952 |
in the handling of long attributes. This makes a very visible difference |
| 953 |
for SVG content that uses embeded images through the 'data:' protocol which |
| 954 |
can be extremely slow with Xerces 2.3. The bookOfKells.svgz example, which |
| 955 |
used the data: protocol for rather long images has been removed from the |
| 956 |
distribution as it does not load in a reasonable amount of time when using |
| 957 |
Xerces. |
| 958 |
|
| 959 |
- Rhino version has been updated from 1.5R3 to 1.5R4 allowing to fix |
| 960 |
BR #11968 (DOM access functions should return ECMAScript strings). |
| 961 |
|
| 962 |
- Removed SAX and DOM sources from the Batik project. Now use xml-apis.jar |
| 963 |
from xml-commons. |
| 964 |
|
| 965 |
Others: |
| 966 |
|
| 967 |
- currentScale/Translate now implemented (get and set). |
| 968 |
|
| 969 |
- Implemented getScreenCTM, fixed getCTM (SVGLocatable) |
| 970 |
|
| 971 |
- onzoom, onscroll, onresize events are now implemented. |
| 972 |
|
| 973 |
- Integrated pdf-transcoder from FOP. |
| 974 |
|
| 975 |
- Ctrl-K/L work in fullscreen mode. |
| 976 |
|
| 977 |
- initial support for SVGList ( provided for SVGPointList in |
| 978 |
<polygon> and <polyline>, SVGPathSegList in <path>, SVGLengthList |
| 979 |
in textual elements, SVGTransformList in graphical elements ) |
| 980 |
|
| 981 |
- RFE #12735 : added support for dynamic modifications of 'xlink:href' in image element |
| 982 |
|
| 983 |
- Now skips reading the SVG DTD unless validation |
| 984 |
is turned on (improves load times for small docs). |
| 985 |
|
| 986 |
- glyph-orientation-horizontal now works. |
| 987 |
|
| 988 |
- linearGradient's can now be anti-aliased (radial gradient |
| 989 |
anti-aliasing also improved). |
| 990 |
|
| 991 |
- PNG Transcoder can now produce 1,2,4 & 8 bit indexed PNG's. |
| 992 |
|
| 993 |
- rasterizer can now be used in headless mode (JDK 1.4) |
| 994 |
|
| 995 |
- JPEG files now have X/YDensity set according to -dpi option. |
| 996 |
|
| 997 |
- Batik Docs now include a dependency graph for the jar files. |
| 998 |
|
| 999 |
- In ECMAScript, add the ability to pass an Object instead of a |
| 1000 |
Function to the Window.getURL() method in which case the |
| 1001 |
operationComplete method is called once the URL is retrieved. |
| 1002 |
|
| 1003 |
- SVGUserAgent now controls the default font-family |
| 1004 |
|
| 1005 |
- Added max-width and max-height support in the rasterizer infrastructure |
| 1006 |
(contribution by Henri Ruini, [email protected]) |
| 1007 |
|
| 1008 |
- Improvements to the WMFTranscoder by Luan O'Caroll |
| 1009 |
|
| 1010 |
- Added better error reporting for external scripts: errors now include the uri |
| 1011 |
of the external scripts in addition to the line number which is convenient |
| 1012 |
when an SVG file references multiple external scripts. |
| 1013 |
|
| 1014 |
- Modified the way SVG public identifiers are mapped to system identifiers. |
| 1015 |
The resource file now contains the mapping to the correct SVG DTD instead |
| 1016 |
of only containing the allowed SVG 1.0 system identifiers for a hard |
| 1017 |
coded DTD. |
| 1018 |
|
| 1019 |
- Added support for cursors. |
| 1020 |
|
| 1021 |
Bug Fixes: |
| 1022 |
|
| 1023 |
- clientX/Y values in MouseEvents are now returned in screen |
| 1024 |
pixels (it had been the viewBox coordinate system which was |
| 1025 |
convenient but wrong and problematic for some cases). |
| 1026 |
|
| 1027 |
- Changed default extension for TIFF files to '.tif' from '.tiff'. |
| 1028 |
|
| 1029 |
- Fixed bugs in screen updating when the size/location of the |
| 1030 |
root graphics node changed, and when transform on group |
| 1031 |
changes after bounds on a child. |
| 1032 |
|
| 1033 |
- ToolTips no longer 'hang around' under JDK 1.4.1 |
| 1034 |
|
| 1035 |
- The JSVGCanvas no longer steals focus and pops forward whenever |
| 1036 |
the cursor passes over the canvas. |
| 1037 |
|
| 1038 |
- The JSVGCanvas will no longer thrown an exception if an SVG |
| 1039 |
document is set prior to the component's size being set. |
| 1040 |
|
| 1041 |
- Text anchor for vertical text. |
| 1042 |
|
| 1043 |
- For corrupt/incomplete JPEG images now shows what it can. |
| 1044 |
|
| 1045 |
- Fixed bug with Indexed PNG's that have a bKGD chunk. |
| 1046 |
|
| 1047 |
- getRelatedTarget fixed for mouseout event. |
| 1048 |
|
| 1049 |
- glyph-orientation-horizontal/vertical no longer require a unit |
| 1050 |
as per the SVG specification. |
| 1051 |
|
| 1052 |
- Fixes for 'jar' protocol. |
| 1053 |
|
| 1054 |
- Fixed compressed Tiff writing. |
| 1055 |
|
| 1056 |
- Missing Glyph's are now rendered correctly. |
| 1057 |
|
| 1058 |
- Text selection now works better with altGlyphs. |
| 1059 |
|
| 1060 |
- PrintTranscoder no longer scales 'real world' units wrong. |
| 1061 |
|
| 1062 |
- Fixed a bug involving the 'use' element with a width/height in |
| 1063 |
an SVGFont referenced from external documents. |
| 1064 |
|
| 1065 |
- Collaboration with Philipe Converset (Qarbon) on an extension to define |
| 1066 |
margins in filter regions. This is now supported in the Batik namespace. |
| 1067 |
|
| 1068 |
2. Bugs: |
| 1069 |
|
| 1070 |
12389 Focus issue in Squiggle's URL text field |
| 1071 |
12121 Cursor in URL field disappears |
| 1072 |
12168 MarkerShapePainter delivers wrong PaintedArea |
| 1073 |
12239 [PATCH] Moved some method local variables into class |
| 1074 |
12954 add support for stroke-width:0 |
| 1075 |
15162 PNGTranscoder gives error message about TIFF transcoder |
| 1076 |
17167 stroke-dashoffset does not support negative length |
| 1077 |
13713 <use> element fails when using percentage values x/y coords |
| 1078 |
17183 baseline-shift doesn't refer to parent "line-height" |
| 1079 |
15063 Version-dependent code in package org.apache.batik.gvt.font |
| 1080 |
12736 Allow non-element nodes to be added to g and svg elements. |
| 1081 |
|
| 1082 |
- Added Units resolutions to CSS rects |
| 1083 |
|
| 1084 |
- 'd' and 'points' can now be empty on <path>, <polygon> and |
| 1085 |
<polylines> |
| 1086 |
|
| 1087 |
- Now support the transform attribute on the <switch> element |
| 1088 |
|
| 1089 |
- Fixed class loader delegation bug in RhinoClassLoader |
| 1090 |
|
| 1091 |
- Patch from Keiron Liddle fixing PNGTranscoder KEY_INDEXED hint type |
| 1092 |
issue (was Boolean instead of Integer) |
| 1093 |
|
| 1094 |
3. Extensions: |
| 1095 |
|
| 1096 |
- Binary distributions now include jar files that can display |
| 1097 |
extensions. |
| 1098 |
|
| 1099 |
- The multImage element can now reference SVG images as well |
| 1100 |
as raster images. |
| 1101 |
|
| 1102 |
- flowText now supports vertical-align. |
| 1103 |
|
| 1104 |
- flowText now uses 'flowRegion' and 'rect' to describe flow |
| 1105 |
areas. |
| 1106 |
|
| 1107 |
4. Documentation: |
| 1108 |
|
| 1109 |
- Status of Batik implementation of SVG DOM. |
| 1110 |
|
| 1111 |
- Diagram showing the various Batik jar files and their relationships. |
| 1112 |
|
| 1113 |
|
| 1114 |
1.5beta4 -> 1.5beta4b |
| 1115 |
--------------------- |
| 1116 |
|
| 1117 |
This is a patch release fixing a bug on linking. |
| 1118 |
|
| 1119 |
|
| 1120 |
1.5beta3 -> 1.5beta4 |
| 1121 |
-------------------- |
| 1122 |
|
| 1123 |
1. Features |
| 1124 |
|
| 1125 |
- Squiggle Browser: |
| 1126 |
|
| 1127 |
- the F11 key lets users enter the full screen mode or exit the |
| 1128 |
full screen mode if they are already in that mode. |
| 1129 |
|
| 1130 |
- the Browser can now handle XML files which contain a stylesheet |
| 1131 |
declaration referencing an XSL transformation. If that transformation |
| 1132 |
generates an SVG document, Squiggle will display it. |
| 1133 |
|
| 1134 |
By default, this feature is disabled because it requires that |
| 1135 |
the user either uses the JDK 1.4 (or greater) version (which at |
| 1136 |
this time is not a requirement for Batik) or that an XSL transformation |
| 1137 |
engine (such as Xalan) be in the classpath. |
| 1138 |
|
| 1139 |
To enable the feature, uncomment the following line (i.e., remove the '#'): |
| 1140 |
|
| 1141 |
#org.apache.batik.apps.svgbrowser.XMLInputHandler |
| 1142 |
|
| 1143 |
in the: |
| 1144 |
|
| 1145 |
resources/META-INF/services/org.apache.batik.apps.svgbrowser.SquiggleInputHandler |
| 1146 |
|
| 1147 |
file. |
| 1148 |
|
| 1149 |
- Scripting: |
| 1150 |
|
| 1151 |
- Added the ability to use an ECMAScript object providing an handleEvent |
| 1152 |
method for the listener argument of the addEventListener method on DOM objects |
| 1153 |
(previously only ECMAScript functions were accepted as parameter). [RFE9149] |
| 1154 |
|
| 1155 |
2. Bug Fixes |
| 1156 |
|
| 1157 |
- Images - bounds/hints now updated correctly when changed via script |
| 1158 |
- Local refs now work with null Document URL. |
| 1159 |
- Double buffered rendering now updates correctly on Mac OS X. |
| 1160 |
- ParseXML no longer assumes doc is SVG. |
| 1161 |
- Squiggle can now do Http authentication. |
| 1162 |
- SVG Font bounds fix |
| 1163 |
- Text layout fix (anchor and textLength) |
| 1164 |
- Adding/Removing children no longer invalidates entire parent region. |
| 1165 |
- handling of position attributes (x,y,dx,dy,rotate) on emtpy tspans has been fixed. |
| 1166 |
- Fixed improper handling on <altGlyphItem> |
| 1167 |
- Removed unnecessary font matching with <altGlyph> which can be found |
| 1168 |
- 'stroke-dasharray' now works with units, |
| 1169 |
- fixed bugs (CSS !important rules, DOM replaceChild on the root element, |
| 1170 |
SVG paint parsing, CSS percentages). |
| 1171 |
|
| 1172 |
|
| 1173 |
1.5beta2 -> 1.5beta3 |
| 1174 |
-------------------- |
| 1175 |
|
| 1176 |
1. Features: |
| 1177 |
|
| 1178 |
- Squiggle Browser: |
| 1179 |
|
| 1180 |
- now keeps a history of recently visited URIs |
| 1181 |
|
| 1182 |
- offers more control over the security features |
| 1183 |
|
| 1184 |
- Enhanced Security Support: |
| 1185 |
|
| 1186 |
- downloading of all external resources can now be |
| 1187 |
controlled through the UserAgent. This includes |
| 1188 |
scripting (as before) but also <image>, <use>, and |
| 1189 |
all elements which may reference external resources |
| 1190 |
(over 15). |
| 1191 |
|
| 1192 |
- users security policy now takes precedence over the |
| 1193 |
application policy. Users can set the java.security.policy |
| 1194 |
system property when starting a Batik application and it |
| 1195 |
will take precedence. |
| 1196 |
|
| 1197 |
- Interactivity and Scripting Support Improvements: |
| 1198 |
|
| 1199 |
- filter, mask, gradients, clip, pattern and marker are now |
| 1200 |
updated when the geometry of the referencing graphical |
| 1201 |
element is dynamically changed. |
| 1202 |
|
| 1203 |
- implementation of keyboard events (KeyEvents from DOM Level 2 |
| 1204 |
Working Draft). In the near future, the batik team will |
| 1205 |
implement the TextEvents from the DOM Level 3 Events module. |
| 1206 |
|
| 1207 |
- Newly supported elements (can now be modified by scripts): |
| 1208 |
<svg>, <image> and <text> element children (such as <tspan>); |
| 1209 |
|
| 1210 |
- Support for addition/removal/modification of stylesheets |
| 1211 |
|
| 1212 |
- Misc: |
| 1213 |
|
| 1214 |
- external scripts can now be gzipped. |
| 1215 |
|
| 1216 |
- added getPixelUnitToMillimeter to UserAgent classes |
| 1217 |
NOTE: the getPixelToMM and getPixelToMillimeter methods will be |
| 1218 |
removed after 1.5b3 is released! |
| 1219 |
|
| 1220 |
- Improvements in the support for the <flowText> extension |
| 1221 |
|
| 1222 |
- Added support for attribute/id/adjacent selector and :first-child |
| 1223 |
dynamic updates, |
| 1224 |
|
| 1225 |
2. Bug Fixing: |
| 1226 |
|
| 1227 |
- #1075, #4834, #5233, #5347, #5806, #6642, #6683, #7053,#8330, #9740, |
| 1228 |
#9058, #9067, #9304, #9429, #9520, #9779, #9804, #9272, #9276, |
| 1229 |
- bug in feColorMatrix |
| 1230 |
- DOM: getElementByTagName, invalidateElementsByTagName, cloneNode(false) |
| 1231 |
- mouseout bug on <tspan> fixed |
| 1232 |
- File->Open dialog bug on JDK 1.4 fixed. |
| 1233 |
- Memory leak fixes |
| 1234 |
- ttf2svg now emits kern elements with the proper sign |
| 1235 |
- MultiImage now respects xml:base |
| 1236 |
- Fixed mouse location bug |
| 1237 |
|
| 1238 |
3. Documentation Update: |
| 1239 |
|
| 1240 |
- Many additional links have been added to the Batik documentation |
| 1241 |
as well as improvements in its structure and content, thanks to |
| 1242 |
the work of Robert Di Blasi. |
| 1243 |
|
| 1244 |
|
| 1245 |
1.5beta1 -> 1.5beta2 |
| 1246 |
-------------------- |
| 1247 |
|
| 1248 |
** Note on the new security support ** |
| 1249 |
|
| 1250 |
- Scripts are now run in a sand-box by default for the Batik sample |
| 1251 |
applications (the Squiggle SVG Browser and the Rasterizer). Users of |
| 1252 |
the SVG toolkit who what to run scripts securely need to add |
| 1253 |
security support in their application and may use the work done for |
| 1254 |
Squiggle as an example |
| 1255 |
(e.g., see the org.apache.batik.util.ApplicationSecurityEnforcer class). |
| 1256 |
|
| 1257 |
- There is a known limitiation: scripts loaded from a 'file:' url |
| 1258 |
cannot access (i.e., load files) under the same root. This is not |
| 1259 |
true for scripts loaded from a server (e.g., 'http:' urls). |
| 1260 |
|
| 1261 |
1. Features: |
| 1262 |
|
| 1263 |
- Scripting support for styling properties: |
| 1264 |
|
| 1265 |
- Most of the CSS properties and style attributes can now |
| 1266 |
be changed dynad:/work/dev/svg/apache/builds/batik-1.5beta3/mically. See: |
| 1267 |
http://xml.apache.org/batik/supportedProperties.html |
| 1268 |
|
| 1269 |
- Added support for style and class attributes dynamic updates |
| 1270 |
|
| 1271 |
- DOM support: |
| 1272 |
|
| 1273 |
- Implementation of SVGLocatable including SVGMatrix |
| 1274 |
|
| 1275 |
- All class members of type: SVGLength now works on most of the |
| 1276 |
graphical elements (rect.x.baseVal.value) |
| 1277 |
|
| 1278 |
- Implementation of CSS DOM (getStyle, getComputedStyle...) |
| 1279 |
|
| 1280 |
- Events/Interactivity: |
| 1281 |
- DOMFocusIn, DOMFocusOut and DOMActivate event types are not supported |
| 1282 |
|
| 1283 |
- Security: |
| 1284 |
|
| 1285 |
- Secure scripting is now in place. Scripts in ECMAScript or |
| 1286 |
Java code are run in a sand-box by default. The Batik browser |
| 1287 |
(called Squiggle), has the following security options: |
| 1288 |
. secure execution of scripts can be on or off. |
| 1289 |
. scripts for a given language can be disabled/enabled. |
| 1290 |
. scripts can be constrained to come from the same origin |
| 1291 |
as the document referencing them. |
| 1292 |
In the Squiggle SVG browser, the security options can be set |
| 1293 |
through the Preferences dialog, in the browser options panel. |
| 1294 |
|
| 1295 |
- Misc: |
| 1296 |
|
| 1297 |
- xml:base is now supported for the image element. |
| 1298 |
|
| 1299 |
- <flowText> extension element that flows text into multiple boxes. |
| 1300 |
Trying to track the SVG 1.1 Working Group on this element. |
| 1301 |
|
| 1302 |
- getURL, parseXML supported in the Window object. |
| 1303 |
|
| 1304 |
- Testing: |
| 1305 |
|
| 1306 |
- Improved test infrastructure. There are new tests for handling |
| 1307 |
automatic regression testing of scripting features and there are |
| 1308 |
more tests (801 now) in the regard regression test suite. |
| 1309 |
|
| 1310 |
2. Bug Fixing: |
| 1311 |
|
| 1312 |
- Fixed bugs with textPath w/ text-anchor, and textPath w/ multiple |
| 1313 |
trailing tspan elements. |
| 1314 |
|
| 1315 |
- Work around for RenderingHints when Batik Jars loaded multiple times |
| 1316 |
in the same JVM (through different class loaders). |
| 1317 |
|
| 1318 |
- Fixed a bug with X/Y Resolution for Tiff. |
| 1319 |
|
| 1320 |
- UIEvents are not dispatched properly on <text> children (<tspan>...) |
| 1321 |
|
| 1322 |
- <a> is now supported on <text> element children |
| 1323 |
|
| 1324 |
|
| 1325 |
1.1.1 -> 1.5beta1 |
| 1326 |
----------------- |
| 1327 |
|
| 1328 |
** Note on enhanced scripting support ** |
| 1329 |
|
| 1330 |
- Support for DOM Core and DOM Events (Mutation events and UI events) |
| 1331 |
|
| 1332 |
- Limitations: |
| 1333 |
- No support for dynamic modification of CSS properties. |
| 1334 |
In particular, setAttributeNS of presentation attributes |
| 1335 |
such as 'fill' or 'stroke' or modification of the 'style' |
| 1336 |
attribute are not supported. |
| 1337 |
|
| 1338 |
1. Features: |
| 1339 |
- Enhanced scripting support: it is now possible to modify |
| 1340 |
SVG documents through scripting |
| 1341 |
- Tiff Transcoder now takes FORCE_TRANSPARENT_WHITE hint. |
| 1342 |
- Tiff Transcoder now writes resolution tags. |
| 1343 |
- Implementation of SVG 1.1 solidColor element (in Batik extensions) |
| 1344 |
- Implementation of multiImage element (a Batik extension). |
| 1345 |
- Event compression mecanism (e.g., concatenates mouseMove events) |
| 1346 |
|
| 1347 |
2. Bug Fixing |
| 1348 |
|
| 1349 |
- textLength now works in all cases except nested textLengths. |
| 1350 |
- 'image' element now respects xml:base. |
| 1351 |
- Renderer now reuses image buffers more often. |
| 1352 |
- Speed improvements in cases with lots of tspans. |
| 1353 |
- Filtered Raster Images now _much_ faster. |
| 1354 |
- Things mostly work with current Mac OS X JVM (still some trouble with |
| 1355 |
images/filters). |
| 1356 |
- Applying a ICC Profile no longer messes up alpha channel in some cases. |
| 1357 |
- PNG Transcoder now always writes sRGB chunk. |
| 1358 |
- feImage image positioning fix |
| 1359 |
- <use> bridge fix, |
| 1360 |
- SVG generator <use> export fix |
| 1361 |
|
| 1362 |
|
| 1363 |
1.1 -> 1.1.1 Release |
| 1364 |
-------------------- |
| 1365 |
|
| 1366 |
1. Bug fixing: |
| 1367 |
|
| 1368 |
- dx/x and dy/y now work when combined. |
| 1369 |
- clip-path now takes transforms into account |
| 1370 |
- AbstractRable constructors problem fixed. |
| 1371 |
- Put in workaround for worst of Mac OS X text problems (layout |
| 1372 |
still isn't 100% correct in most cases). |
| 1373 |
- Removed code that is no longer needed in GlyphLayout |
| 1374 |
- Fixed the last text layout issues on Mac OS X (GlyphVector was |
| 1375 |
returning the metrics for the first char for all chars in the vector. |
| 1376 |
We now use the difference in defaultGlyphPositions to get the |
| 1377 |
character advances). |
| 1378 |
- Fixed JViewerFrame issue with large (width/height) documents. |
| 1379 |
|
| 1380 |
2. Improvements |
| 1381 |
- Text bounds computation is now much faster |
| 1382 |
|
| 1383 |
|
| 1384 |
1.1rc4 -> 1.1 Release |
| 1385 |
--------------------- |
| 1386 |
|
| 1387 |
1. Bug Fixing and Improvements |
| 1388 |
|
| 1389 |
- Code factorization in parsers. |
| 1390 |
- Parsers bug fixing. |
| 1391 |
- Added examples (maps, bookOfKells example, sunRise, mathMetal). |
| 1392 |
Maps are a contribution of Andreas Neumann, |
| 1393 |
MathMetal is a contribution of Christophe Held. |
| 1394 |
- Added default xmlns and xmlns:xlink on root <svg> in generator |
| 1395 |
- Integrated Ant task contribution from Henri Ruini |
| 1396 |
- Improved error dialog (now includes details with the error stack trace). |
| 1397 |
- Printing fix. |
| 1398 |
- text-anchor fix. |
| 1399 |
|
| 1400 |
|
| 1401 |
1.1rc3 -> 1.1rc4 Release |
| 1402 |
------------------------ |
| 1403 |
|
| 1404 |
1. Features: |
| 1405 |
|
| 1406 |
- rewrite of rasterizer thanks to Henri Ruini's contribution |
| 1407 |
- improved image handling strategies in the SVG generator thanks |
| 1408 |
to Paul Evenblij's contribution. |
| 1409 |
- 'requiredFeatures', 'requiredExtensions' and 'systemLanguage' on |
| 1410 |
graphical elements |
| 1411 |
- anchor on raster images and SVG images now works properly |
| 1412 |
- anchor inside a SVG image now works properly |
| 1413 |
- <a> inside <text> or <tspan> is now displayed |
| 1414 |
- many tests added (transcoder...) |
| 1415 |
- SVG viewer: added dialog box at start up time while loading classes |
| 1416 |
- SVG viewer: limited number of files in history |
| 1417 |
|
| 1418 |
2. Bug fixing: |
| 1419 |
|
| 1420 |
- memory leak fix |
| 1421 |
- DOM core serialization |
| 1422 |
- Parsing of CSS comments |
| 1423 |
- SVG generator fixes (bug 4945 and 4389) |
| 1424 |
- rasterizer fixes |
| 1425 |
- text now works with JDK 1.4b3. Remaining issue with |
| 1426 |
BufferedImages. |
| 1427 |
|
| 1428 |
3. Improvements: |
| 1429 |
|
| 1430 |
- general performance improvements in the build and rendering |
| 1431 |
phases of the viewing component (for example float parsing |
| 1432 |
has been improved). |
| 1433 |
|
| 1434 |
|
| 1435 |
1.1rc2 -> 1.1rc3 Release |
| 1436 |
------------------------ |
| 1437 |
|
| 1438 |
1. Features: |
| 1439 |
- Support for xml:base |
| 1440 |
- TextSearch dialog is available (with a zoom option) |
| 1441 |
- Full support for Alternate Stylesheets |
| 1442 |
- Full support for CSS Media (including a way to define custom media) |
| 1443 |
- Changed Text Selection UI. (selectable in the preference dialog) |
| 1444 |
Added Text Selection API to GVT & swing packages |
| 1445 |
- KeyStroke on the JSVGCanvas (for pan and zoom using keyboard) |
| 1446 |
- SVG Font: The font lookup now takes into account namespaces |
| 1447 |
- Provide a way to set the quality of an exported JPEG image |
| 1448 |
- Printing now uses the CSS print medium |
| 1449 |
- More complete handling of partial URLs |
| 1450 |
- Two new extensions solidColor (a single color 'paint server' acts |
| 1451 |
similar to the gradients and pattern fills/stroke), & paintSwitch |
| 1452 |
similar to a switch element but children are paint servers instead |
| 1453 |
of graphical elements. |
| 1454 |
|
| 1455 |
2. Bug fixes: |
| 1456 |
- Fix in gradient element boundary conditions |
| 1457 |
- Fix and performance improvements in lighting filters |
| 1458 |
- Fix in PNG encoding for BufferedImage' subimages. |
| 1459 |
- feDisplacementMap fix (array out of bound exception) |
| 1460 |
- font lookup now uses namespace properly |
| 1461 |
- 'enable-background' now work on <svg> element |
| 1462 |
- zero length on <rect>, <circle> and <ellipse> disable the rendering |
| 1463 |
- linear gradient with x1=y1=x2=y2 |
| 1464 |
- printing now supports SVG URI fragment |
| 1465 |
- Javadoc improvements and clean-up |
| 1466 |
- Source clean-up |
| 1467 |
- DOM: getElementsByTagNameNS now works properly |
| 1468 |
- SVGDOM: huge cleanup of the implementation |
| 1469 |
(preparation for dynamic features) |
| 1470 |
- CSS parser bug fix |
| 1471 |
- Bridge: 'overflow' on SVG <image> should now work properly |
| 1472 |
- GVT: cleanup the API - GraphicsNodeRenderContext is now obsolete |
| 1473 |
|
| 1474 |
|
| 1475 |
3. Testing |
| 1476 |
|
| 1477 |
- Reorganized tests (see samples/tests subdirectory) |
| 1478 |
- Improved test reporting (i.e., better HTML report) |
| 1479 |
- Simplified test infrastructure configuration files. |
| 1480 |
- Lots of new tests (see samples/tests/structure/styling and |
| 1481 |
samples/tests/spec/structure for examples) and |
| 1482 |
samples/batikCandy.svg. |
| 1483 |
|
| 1484 |
|
| 1485 |
1.1rc1 -> 1.1rc2 Release |
| 1486 |
------------------------ |
| 1487 |
|
| 1488 |
1. Bug fixes: |
| 1489 |
|
| 1490 |
- 'preserveAspectRatio' now works properly on both raster and SVG images |
| 1491 |
- bug fix with the 'clip' property on <symbol>, <image>, <marker> |
| 1492 |
- thumbnail bug fix (sometimes the area of interest became hidden) |
| 1493 |
- filename filter added to the file selection dialog in the svgbrowser when |
| 1494 |
exporting as PNG and JPG |
| 1495 |
- Infinite loop removed. Elliptical arc may cause an infinite loop if the end |
| 1496 |
point of the arc was the same than current point in the <path> datas. |
| 1497 |
- SVGGraphics2D can now generates SVG Font on demand |
| 1498 |
|
| 1499 |
2. Improvements: |
| 1500 |
|
| 1501 |
- Added new custom filter extension (look at the samples/extensions/histogramNormalization.svg) |
| 1502 |
- Added tooltips on <title> and <desc>. |
| 1503 |
|
| 1504 |
|
| 1505 |
1.0 -> 1.1rc1 Release |
| 1506 |
--------------------- |
| 1507 |
|
| 1508 |
1. Enhancements: |
| 1509 |
a. HTTP headers fields (useragent/accepted...) now implemented. |
| 1510 |
b. Anti-aliased gradients (when color-rendering set to quality). |
| 1511 |
c. Small patterns are now much faster |
| 1512 |
d. Ability to flush cached image data. |
| 1513 |
e. full horizontal and vertical kerning now implemented for SVG fonts |
| 1514 |
f. added support for orientation and lang <glyph> attributes |
| 1515 |
g. improved support for Arabic text, includes handling of Arabic shaping |
| 1516 |
and ligatures for both SVG and system fonts |
| 1517 |
h. improved text selection |
| 1518 |
i. improved text rendering speed |
| 1519 |
|
| 1520 |
2. Bug fixes: |
| 1521 |
a. PNG files now use the proper gamma when reading/writing |
| 1522 |
b. Off by one bug in image rendering fixed (background shows |
| 1523 |
through on the left and top of image). |
| 1524 |
c. Fixes in Base64 data handling (encoding/decoding) |
| 1525 |
d. Absolute URL's shouldn't require document URI. |
| 1526 |
e. color-interpolation-filters should now work :) |
| 1527 |
f. fixed bug with font sizes < 1 |
| 1528 |
g. fixed problems in text chunk algorithm |
| 1529 |
h. fixed bug with empty text nodes |
| 1530 |
i. text decorations are now handled properly |
| 1531 |
j. bidirectional text (including selection of it) is now handled properly |
| 1532 |
k. fixed problem with alignment of vertical text |
| 1533 |
l. fixed problem with em and ex unit conversion when font size |
| 1534 |
is not a float value (eg medium) |
| 1535 |
|
| 1536 |
3. Misc: |
| 1537 |
a. Now have automated tests for base64 |
| 1538 |
b. Now have automated tests for ParsedURL |
| 1539 |
c. added some more test files for text and fonts |
| 1540 |
|
| 1541 |
|
| 1542 |
beta2 -> 1.0 Release |
| 1543 |
-------------------- |
| 1544 |
|
| 1545 |
1. Completed SVG Font Support. |
| 1546 |
|
| 1547 |
2. Added vertical Text Support. |
| 1548 |
|
| 1549 |
3. Major rework of the Batik documentation. |
| 1550 |
|
| 1551 |
4. Added thumbnail |
| 1552 |
|
| 1553 |
5. Bug fixes. |
| 1554 |
|
| 1555 |
|
| 1556 |
beta2rc9 -> beta2 |
| 1557 |
----------------- |
| 1558 |
|
| 1559 |
1. Contributions |
| 1560 |
|
| 1561 |
a. New contribution of a True Type Font to SVG Font converter that allows |
| 1562 |
a set of characters from a True Type Font to be converted to the |
| 1563 |
SVG Font format. This contribution was made by David Schweinsberg |
| 1564 |
of SteadyState ([email protected]). This contribution comes at |
| 1565 |
the right time (i.e., as we just added SVG Font rendering suppor). |
| 1566 |
|
| 1567 |
2. Improvements & new features |
| 1568 |
|
| 1569 |
a. SVG Font support. Initial revision of the soon complete support of |
| 1570 |
SVG Fonts. |
| 1571 |
|
| 1572 |
b. New image encoder/decoder infrastructure. This allows a flexible |
| 1573 |
handling of new raster image formats. |
| 1574 |
|
| 1575 |
c. Improved PNG encoder/decoder which now support the gamma chunk |
| 1576 |
properly. |
| 1577 |
|
| 1578 |
d. Additional tests for SVGGraphics2D. |
| 1579 |
|
| 1580 |
e. Additional samples (mostly new SVG Font support examples). |
| 1581 |
|
| 1582 |
|
| 1583 |
beta2rc8 -> beta2rc9 |
| 1584 |
-------------------- |
| 1585 |
|
| 1586 |
a. Polishing of existing features. |
| 1587 |
b. Bug fixes. |
| 1588 |
c. Improved test infrastructure. |
| 1589 |
|
| 1590 |
|
| 1591 |
beta2rc7 -> beta2rc8 |
| 1592 |
-------------------- |
| 1593 |
|
| 1594 |
1. Improvements |
| 1595 |
|
| 1596 |
a. Full blown in-bound and out-bound linking support. See the |
| 1597 |
two new linking examples in the samples/test directory. |
| 1598 |
|
| 1599 |
b. Improved CSS error handling. |
| 1600 |
|
| 1601 |
c. New test infrastructure. |
| 1602 |
|
| 1603 |
d. Beanified SVG JComponent: see JSVGCanvas. |
| 1604 |
|
| 1605 |
e. Enhanced features in SVGGraphics2D to manage style properties. |
| 1606 |
|
| 1607 |
e. Improved error handling in SVGGraphics2D |
| 1608 |
|
| 1609 |
2. Bug fixes |
| 1610 |
|
| 1611 |
|
| 1612 |
beta2rc6 -> beta2rc7 |
| 1613 |
-------------------- |
| 1614 |
|
| 1615 |
1 - SVG Viewer Improvements |
| 1616 |
|
| 1617 |
a. Added support for double buffering (controllable by an option). |
| 1618 |
|
| 1619 |
2. General |
| 1620 |
|
| 1621 |
a. Added line-number in error messages when parsing invalid |
| 1622 |
SVG document. |
| 1623 |
b. Maintenance and Bug fixing. |
| 1624 |
c. JSVGCanvas is now a JavaBean which can be easily configured |
| 1625 |
in IDE tools to add SVG viewing support in an application. |
| 1626 |
d. Support for rendering hints such as text-rendering and |
| 1627 |
shape-rendering. |
| 1628 |
|
| 1629 |
|
| 1630 |
beta2rc5 -> beta2rc6 |
| 1631 |
-------------------- |
| 1632 |
|
| 1633 |
1 - new implementation of the swing component and viewer. |
| 1634 |
|
| 1635 |
a. it is now possible to interrupt while loading, building or painting |
| 1636 |
b. rotations are now applied on the image in real time. document is |
| 1637 |
repainted when the mouse button is released. |
| 1638 |
c. real time zoom on the image with SHIFT+BUTTON 2 Drag |
| 1639 |
d. progressive rendering has been improved |
| 1640 |
e. toggling debug traces on/off to see performance is now possible |
| 1641 |
|
| 1642 |
2 - new implementation of the bridge package |
| 1643 |
|
| 1644 |
a. code cleanup |
| 1645 |
b. percentages are now handled correctly (both for xml attributes and CSS |
| 1646 |
properties - samples/tests/percentagesAndUnits.svg) |
| 1647 |
c. error handling has been improved |
| 1648 |
(line number will be available soon) |
| 1649 |
d. the building phase is now 30% faster |
| 1650 |
e. bug fix with <pattern> (samples/tests/pattern*.svg) |
| 1651 |
f. <marker> is now conformed to the current SVG spec (as of March 15) |
| 1652 |
g. percentages are now handled correctly on the outermost SVG element (need |
| 1653 |
to do the same for the ImageTranscoder) |
| 1654 |
|
| 1655 |
|
| 1656 |
3 - Transcoders. There are two new transcoders: |
| 1657 |
|
| 1658 |
a. WMF -> SVG Transcoder. This is a contribution to the Batik project from |
| 1659 |
Luan O'Caroll (Luan.O'[email protected]). You can run the transcoder on |
| 1660 |
a set of Windows MetaFile (WMF) using the |
| 1661 |
org.apache.batik.transcoder.wmf.tosvg.WMFTranscoder application. |
| 1662 |
|
| 1663 |
b. Printing Transcoder. This implementation of the Transcoder interface will |
| 1664 |
print a set of SVG document to the default printer (see |
| 1665 |
org.apache.batik.transcoder.print.PrintTranscoder). |
| 1666 |
|
| 1667 |
4 - Misc. |
| 1668 |
|
| 1669 |
a. support for System colors (see: samples/tests/systemColors.svg) |
| 1670 |
|
| 1671 |
b. Creating custom Graphics2D implementation is now easier. A generic part of |
| 1672 |
the SVGGraphics2D has been moved into a new package: |
| 1673 |
org.apache.batik.ext.awt.g2d. |
| 1674 |
This new package facilitates the creation of transcoders that will convert |
| 1675 |
SVG documents to an arbitrary format by providing a Graphics2D implementation |
| 1676 |
for that format that Batik can use to draw an SVG document (Batik can use |
| 1677 |
a Graphics2D to paint an SVG document). |
| 1678 |
|
| 1679 |
NOTE: Known regressions. |
| 1680 |
|
| 1681 |
a. next, previous and thumbnail have been momentarily removed from the viewer. |
| 1682 |
b. error messages are printed in the console and not in a dialog. |
| 1683 |
c. the partial internal linking support has been removed until |
| 1684 |
a full implementation of linking can be done. |
| 1685 |
d. printing has not been reintegrated into the new viewer. |
| 1686 |
e. regressions may appear for scripting as it has been added in a hurry for |
| 1687 |
this release. A clean pass will be done soon. |
| 1688 |
f. text regression on tspan handling where dx/dy are temporarily not working. |
| 1689 |
|
| 1690 |
|
| 1691 |
beta2rc4 -> beta2rc5 |
| 1692 |
--------------------- |
| 1693 |
|
| 1694 |
a. Text improvements. |
| 1695 |
b. Improved rendering (now uses tiling for faster panning). |
| 1696 |
c. Bug fixing. |
| 1697 |
|
| 1698 |
|
| 1699 |
beta2rc3 -> beta2rc4 |
| 1700 |
-------------------- |
| 1701 |
|
| 1702 |
a. Handling of overflow property on <svg> |
| 1703 |
b. Filter and pattern optimizations |
| 1704 |
c. Color profile support |
| 1705 |
d. GVT optimizations |
| 1706 |
|
| 1707 |
|
| 1708 |
beta2rc2 -> beta2rc3 |
| 1709 |
-------------------- |
| 1710 |
|
| 1711 |
a. Handling of the visibility property |
| 1712 |
b. Handling of references on gradients, patterns and filters |
| 1713 |
c. Baseline shift on text |
| 1714 |
d. Full support for markers. |
| 1715 |
e. Optimizations in filters and GVT. |
| 1716 |
f. Bug fixing (e.g., stroke's dash array) |
| 1717 |
|
| 1718 |
|
| 1719 |
beta2rc1 -> beta2rc2 |
| 1720 |
-------------------- |
| 1721 |
|
| 1722 |
a. A lot of new text support (text length, letter and word spacing). |
| 1723 |
b. Some support for markers (not complete yet, but should be complete |
| 1724 |
shortly, probably by next week). |
| 1725 |
c. Some support for views (in linking). |
| 1726 |
d. Cleaned up bridge code. |
| 1727 |
e. Improvements in the filtering code (there a some minor regressions |
| 1728 |
which will soon be taken care of). |
| 1729 |
|
| 1730 |
|
| 1731 |
beta1 -> beta2rc1 |
| 1732 |
----------------- |
| 1733 |
|
| 1734 |
a Improved text support |
| 1735 |
b. Full filter implementation. |
| 1736 |
c. New Transcoder API. |
| 1737 |
d. Simplified package organization |