Code changes related to a scale factor of 1 + 1/15???
Hi all,
Does anybody recall a recent change that would have introduced a scale factor of 1.066667 (1 + 1/15), on Windows only? In a simple test case (one black rectangle) read in from an EMF file, for the same trunk revision, among other issues, I am seeing all coordinates and widths scaled up by that amount on windows relative to linux.
Thanks,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech
1.0666667 = 96/90. Maybe it could be related to the change in default DPI.
-- View this message in context: http://inkscape.13.x6.nabble.com/Code-changes-related-to-a-scale-factor-of-1... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
On 02-Mar-2016 23:38, LucaDC wrote:
1.0666667 = 96/90. Maybe it could be related to the change in default DPI.
std::cout << "DEBUG" << " conv " << Inkscape::Util::Quantity::convert(1, "mm", "px") << std::endl;
Returns these values: Windows: 3.77953 Linux: 3.54331
which has the expected (bug) ratio (within rounding error): 1.066666
So, why is this different on the two platforms???
Thanks,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech
check the file \share\ui\units.xml
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/Code-changes-related-to-a-scale-factor-of-1... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
On 03-Mar-2016 11:28, alvinpenner wrote:
check the file \share\ui\units.xml
Identical in the build directory on both platforms. Perhaps they are using a copy from elsewhere on the system at run time?
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech
participants (3)
-
alvinpenner
-
LucaDC
-
mathog