From df954d28437fbb2230eb5e8a3040e14a72d3d34b Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mon, 2 Mar 2020 13:41:19 +0100 Subject: [PATCH] Call anatomy SVG: Convert text to paths Hotfix for: https://github.com/pyvec/naucse.python.cz/issues/603 Issue for proper fix: https://github.com/pyvec/naucse/issues/38 --- .../functions/static/call-anatomy.svg | 415 +++++++++++++++--- 1 file changed, 347 insertions(+), 68 deletions(-) diff --git a/lessons/beginners/functions/static/call-anatomy.svg b/lessons/beginners/functions/static/call-anatomy.svg index ffbdf1e6d2..49d71d911a 100644 --- a/lessons/beginners/functions/static/call-anatomy.svg +++ b/lessons/beginners/functions/static/call-anatomy.svg @@ -1,6 +1,4 @@ - - + version="1.1" + viewBox="0 0 71.175235 42.234418" + height="159.62614" + width="269.00876"> + inkscape:window-x="1920" + inkscape:window-height="990" + inkscape:window-width="1920" + units="px" + fit-margin-bottom="5" + fit-margin-right="5" + fit-margin-left="5" + fit-margin-top="5" + showgrid="false" + inkscape:current-layer="layer1" + inkscape:document-units="mm" + inkscape:cy="151.02893" + inkscape:cx="286.9824" + inkscape:zoom="1.6311668" + inkscape:pageshadow="2" + inkscape:pageopacity="0.0" + borderopacity="1.0" + bordercolor="#666666" + pagecolor="#ffffff" + id="base" /> @@ -54,81 +53,361 @@ + inkscape:groupmode="layer" + inkscape:label="Layer 1"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + delka = len(delka = len('Ahoj') + id="tspan1438">'Ahoj') Argument + id="tspan1444">Argument Návratová hodnota + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Oxygen;-inkscape-font-specification:Oxygen;fill:#800000;stroke-width:0.264583">Návratová hodnota Jméno funkce + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Oxygen;-inkscape-font-specification:Oxygen;fill:#800000;stroke-width:0.264583">Jméno funkce + id="path1460" + style="fill:none;stroke:#808080;stroke-width:0.529167;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 115.85298,140.9326 c 0,2.10708 -8.77377,0.76302 -8.77377,2.01529 m -8.362248,13.70983 H 146.7167 m -40.7271,-10.72174 1.08961,-1.99906 1.05152,2.01201 m -1.05152,-2.01201 0,12.7208 m -7.846545,-15.72511 c 0,2.10708 7.846545,0.76302 7.846545,2.01529" /> + (Vlevo jsou texty jsou převedené na křivky,aby se dobře zobrazily v prohlížeči.Originál je vpravo.Viz https://github.com/pyvec/naucse/issues/38 )