Hi there !
I am developing a J2ME MIDlet using JSR 226. By using the following <svg> tag the SVG image is stretched and scaled to fill the entire Canvas.
width="200.0" height="150.0" viewBox="0 0 200.0 150.0">
By setting the SVG width and height attributes and the width and height of the viewBox to the same values, the SVG image is always scaled to match different device screen sizes (Of course the ViewPort parameters of the SVGImage are set fill out the whole canvas in my MIDlet). This method works fine with the Sun WTK, however it fails with the Nokia S60 MIDP emulator: Instead of scaling the image to fit the screen, only a part of the image is visible. After testing a bit, it seems to me like as if the viewBox attribute of the <svg> tag is completely ignored by the Nokia S40 & S60 emulators. Any suggestions or hints?
I can't test the MIDlet on a real device yet