Rasz_pl
Rasz_pl
do you have a link to yt video with thanks button handy for testing?
looks like our settings dont consider entries hidden in the hamburger menu https://github.com/search?q=repo%3Acode-charity%2Fyoutube%20ytd-menu-service-item-renderer&type=code Im not sure if that was even the intend of those options. adding `html[it-hide-thanks-button='hidden'] ytd-menu-service-item-renderer:has(svg path[d^="M11 17h2v-1h1c.55...
I was soo overthinking this, now applies scaling to tspan. The only thing missing is scaling font size, dont know how to approach it since scaling is X Y independent...
Instead of overthinking it I adopted scaleStrokeWidth to scale any attribute passed as parameter. self.scaleStyleAttrib(node, transf, 'font-size') works surprisingly well on Text :o My imported Schematics dont differ all that...
You are correct :( My example diagram sheet had no rotated text, checked on another one and this is losing rotation. This patch also doesnt scale DX DY. Looking into...
Im having trouble coercing Inkskape to set exactly what I want `transform="matrix(0,1.3333333,-1.5555556,0,290.30667,236.53333)"` should be turned into ``` x="290.307" y="236.533" transform="rotate(90.000 290.307 236.533)" ``` but for some reason node.attrib['transform'] = "rotate(90.000...
Added scaling dx dy. Looks almost perfect now, or as perfect as Inkscape can do with converted pdf. original:  result:  Two problems: - Still dont know how to...
First problem fixed :] `node.attrib['transform'] = str(f"rotate({angle:.3f} {new_x:.3f} {new_y:.3f})")` bypasses magic transmutations. Second problem can be fixed by ``` if 'clip-path' in node.attrib: del node.attrib['clip-path'] ``` but thats not universal,...
Yes, it only cleanly handles uniform scaling. In my Example rotated pin numbers have slightly wrong offsets. ~~I suspect they move from their original location because we can only scale...
I copied ``` sx = math.sqrt(a**2 + c**2) sy = math.sqrt(b**2 + d**2) ``` straight from transformRectangle and didnt even think about it, but its **Wrong**. It doesnt extract real...