Hi, Pip Cet <pip...@gmail.com> writes:
> let found = false; > for (let el of svgdoc.getElementsByTagName("svg")) { > let width = el.getAttribute("width"); > let height = el.getAttribute("height"); > > let width_pt = width.match(/^([0-9]*)pt$/)[1]; > let height_pt = height.match(/^([0-9]*)pt$/)[1]; > > let width_px = 5/4 * width_pt; > let height_px = 5/4 * height_pt; > > object.setAttribute("width", width_px + "px"); > object.setAttribute("height", height_px + "px"); > found = true; So are you saying that Org is changing the size from px to pt? Can you try to explain the problem you observe in words? Thanks, Rasmus -- The second rule of Fight Club is: You do not talk about Fight Club