Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=qsYVu6Omnb+JNfc/OjtJC4mOPvQcsOdw4z+FUJK9/Ko=; b=iws6l1vTm7Yo3TeQWo9GV6ax0yKJTa3eS+dL11H9L1ghBMyDSz15D3FzY6nN9fGKOX 1UARm6HdAagQK7SHOOxCo96j9x7oQKAS+A1i+n+/9Bus5nDB953Zpnyp1vj3ZZ1G2V1c 27mzrHVP6BlpPJLpqiyu1hEm5lPZImJ0F7K4tpUwMttW8cZ943T3f/bZZC55gy66EUsw AK17gmWnYtE8OnXjiP2FxGyoerHnvqsM2x+URkMVMazvP2p6MlCHVUsfh2IvqPjAMOcy ++AyJDmwGBa3hXn/ytVIOKR7dPg9nLcz2y8aF72Nxw0RUJ+fdcN4LsVsjBZ+EK9xf6h7 pzWA== From: Akira Yokosawa Subject: [PATCH -perfbook] defer: Make RCUspacetime.svg compatible with Inkscape 1.0 and later Message-ID: Date: Thu, 23 Sep 2021 12:08:35 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit To: "Paul E. McKenney" Cc: perfbook@vger.kernel.org, Akira Yokosawa List-ID: Rotated labels on the "Time" axis of Figure 9.27 are misplaced when built on Fedora 34 (Inkscape 1.1) and Ubuntu 21.04 (Inkscape 1.0.2). Update the svg file with the one tweaked by Inkscape 1.1. It is backward-compatible with Inkscape versions 0.92.3 (Ubuntu 18.04), 0.92.5 (Ubuntu 20.04), and 1.0.2 (Ubuntu 21.04). Signed-off-by: Akira Yokosawa --- Hi Paul, Parameters for string rotation from Inkscape 0.92.5 are not handled as expected by Inkscape >= 1.0. I've not seen any such breakage in .svg files made by Inkscape 0.92.3 (Ubuntu 18.04). So this issue might be local to Ubuntu 20.04, but I'm not sure. Also, it looks like fixsvgfonts.sh and fixsvgfonts-urwps.sh need some update to catch additional patterns of font specification strings. I'll post a follow-up patch to update them. Thanks, Akira -- defer/RCUspacetime.svg | 169 +++++++++++++++++++++-------------------- 1 file changed, 85 insertions(+), 84 deletions(-) diff --git a/defer/RCUspacetime.svg b/defer/RCUspacetime.svg index 7f644169..bebd4dc1 100644 --- a/defer/RCUspacetime.svg +++ b/defer/RCUspacetime.svg @@ -2,20 +2,20 @@ + inkscape:version="1.1 (c68e22c387, 2021-05-23)" + sodipodi:docname="RCUspacetime.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + inkscape:window-width="1920" + inkscape:window-height="1003" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="1" + inkscape:pagecheckerboard="0"> image/svg+xml - + @@ -383,7 +384,7 @@ inkscape:connector-curvature="0" /> rcu_read_lock();rcu_read_lock();mcp = ...*cur_a = mcp->a; (5) *cur_b = mcp->b; (25)rcu_read_unlock(); mcp = kmalloc(...)mcp = xchg(&curconfig, mcp); synchronize_rcu();...... kfree(mcp); rcu_read_lock();rcu_read_lock();mcp = ... *cur_a = mcp->a; (9)*cur_b = mcp->b; (81)rcu_read_unlock(); Address Space + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:7.76111px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.264583">Address Space Time + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:7.76111px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.264583">Time Readers + x="-84.219742" + y="-96.887878" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:tb-rl;text-anchor:start;fill:#5a5aff;fill-opacity:1;stroke-width:0.264583">Readers + transform="translate(-8.9958336,46.017934)"> Grace Period Readers + x="-85.955162" + y="-150.94402" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:tb-rl;text-anchor:start;fill:#007b00;fill-opacity:1;stroke-width:0.264583">Readers