I just realized that Case 2 described above actually has two possible subcases depending on exactly how the file was loaded.
The original version of Case 2 is:
Case 2a:
- Do a right mouse button click on the file rect0485.svg. Choose Open with Inkscape.
- open the Document Properties dialog and note that the Page Size A4 is _not_ highlighted when it should be.
- note that the document size is 744 * 1052 which is wrong/unexpected.
- click on the size A4 and note that the page size is now 210mm * 297mm as expected
- in the XML editor note that the viewBox is still not defined, which is a bit unexpected
- now run the DPI switcher and note that the XML editor reports the document size as 224 px by 316.8 px. This is a bit unexpected. It looks like 210mm * 96/90 = 224 but with no units attached. This may be part of the problem.
Case 2b, which was previously not encountered:
- load Inkscape from trunk by itself.
- use File->Open to load rect0485.svg
- note that in the Document Properties the Page Size A4 is highlighted as expected. However the reported size is 744px * 1052px which is wrong. Click on A4 to refresh it, nothing happens. Click on US Letter and then click on A4 again to refresh it, now the document size is correct at 210mm * 297mm.
- in the XML editor note that the viewBox is still not defined.
- run the DPI switcher and get the same behavior as in 'a' above.
Both the document size and the viewBox size appear to be wrong at 224 px * 316.8 px, while the rectangle size is 744px * 1052px..
I just realized that Case 2 described above actually has two possible subcases depending on exactly how the file was loaded.
The original version of Case 2 is:
Case 2a:
- Do a right mouse button click on the file rect0485.svg. Choose Open with Inkscape.
- open the Document Properties dialog and note that the Page Size A4 is _not_ highlighted when it should be.
- note that the document size is 744 * 1052 which is wrong/unexpected.
- click on the size A4 and note that the page size is now 210mm * 297mm as expected
- in the XML editor note that the viewBox is still not defined, which is a bit unexpected
- now run the DPI switcher and note that the XML editor reports the document size as 224 px by 316.8 px. This is a bit unexpected. It looks like 210mm * 96/90 = 224 but with no units attached. This may be part of the problem.
Case 2b, which was previously not encountered:
- load Inkscape from trunk by itself.
- use File->Open to load rect0485.svg
- note that in the Document Properties the Page Size A4 is highlighted as expected. However the reported size is 744px * 1052px which is wrong. Click on A4 to refresh it, nothing happens. Click on US Letter and then click on A4 again to refresh it, now the document size is correct at 210mm * 297mm.
- in the XML editor note that the viewBox is still not defined.
- run the DPI switcher and get the same behavior as in 'a' above.
Both the document size and the viewBox size appear to be wrong at 224 px * 316.8 px, while the rectangle size is 744px * 1052px..