From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 072CDC433EF for ; Thu, 2 Dec 2021 00:09:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354120AbhLBAMZ (ORCPT ); Wed, 1 Dec 2021 19:12:25 -0500 Received: from sin.source.kernel.org ([145.40.73.55]:42690 "EHLO sin.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354111AbhLBAKK (ORCPT ); Wed, 1 Dec 2021 19:10:10 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 5F776CE2139; Thu, 2 Dec 2021 00:06:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86A69C53FAD; Thu, 2 Dec 2021 00:06:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638403604; bh=DIx0Z5yIKI2lfPJHqfKz57c3PPTb751P3ww1RF5nAcM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KVOY0yO18Yn80rkspTXYrn9bcQTMcaVcs14nwyRIUe43fiK6akZUr75JtFDXLLzIK rWsu8aJSvRpwmaFtYjO/weulBULCp3aIyS9z98DspAOqLAYGcG4LbsqgM+jM4czczp N5+5OO7Pj2/VN9VPCCjf2zo/70z/byxLEZEO0NcOBUs4sv2I6nDUvC+b7KOCj1dHPz /PiFp6FLZ2vbVnJgS5kxbEZkogD4xxtgGf3fQrbnClS6lLGlPn5omjFgJBA7iuOLVy Ze6aSMx12/QIvq8LhHwgUPcYG7VVzRwxAUhW+JgLVnIPoJak2SvClo+uohVr/EaMGA b9UedHgkU8F0w== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 576185C1109; Wed, 1 Dec 2021 16:06:44 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, mingo@kernel.org, jiangshanlai@gmail.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org, Akira Yokosawa , "Paul E . McKenney" Subject: [PATCH rcu 3/3] doc: RCU: Avoid 'Symbol' font-family in SVG figures Date: Wed, 1 Dec 2021 16:06:42 -0800 Message-Id: <20211202000642.3126064-3-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20211202000540.GA3125972@paulmck-ThinkPad-P17-Gen-1> References: <20211202000540.GA3125972@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Akira Yokosawa On Ubuntu Focal, strings in some of SVG files under Documentation/RCU/Design can not be rendered properly when converted to PDF. Ubuntu releases since Focal and Debian bullseye have trouble with "Symbol" font-family in SVG files. As those strings are mostly API names such as "READ_ONCE()", "WRITE_ONCE(), "rcu_read_lock()", and so on, using a generic monospace font-family should be a good alternative. Substitute the font-family name by a simple sed pattern: 's/Symbol/monospace/g' Signed-off-by: Akira Yokosawa Signed-off-by: Paul E. McKenney --- .../Expedited-Grace-Periods/Funnel0.svg | 4 +- .../Expedited-Grace-Periods/Funnel1.svg | 4 +- .../Expedited-Grace-Periods/Funnel2.svg | 4 +- .../Expedited-Grace-Periods/Funnel3.svg | 4 +- .../Expedited-Grace-Periods/Funnel4.svg | 4 +- .../Expedited-Grace-Periods/Funnel5.svg | 4 +- .../Expedited-Grace-Periods/Funnel6.svg | 4 +- .../Expedited-Grace-Periods/Funnel7.svg | 4 +- .../Expedited-Grace-Periods/Funnel8.svg | 4 +- .../Requirements/GPpartitionReaders1.svg | 36 +++++------ .../Requirements/ReadersPartitionGP1.svg | 62 +++++++++---------- 11 files changed, 67 insertions(+), 67 deletions(-) diff --git a/Documentation/RCU/Design/Expedited-Grace-Periods/Funnel0.svg b/Documentation/RCU/Design/Expedited-Grace-Periods/Funnel0.svg index 98af665579088..16b1ff0ad38c4 100644 --- a/Documentation/RCU/Design/Expedited-Grace-Periods/Funnel0.svg +++ b/Documentation/RCU/Design/Expedited-Grace-Periods/Funnel0.svg @@ -116,7 +116,7 @@ WRITE_ONCE(a, 1); WRITE_ONCE(b, 1); r1 = READ_ONCE(a); WRITE_ONCE(c, 1); r2 = READ_ONCE(b); r3 = READ_ONCE(c); thread0() thread1() rcu_read_lock(); rcu_read_lock(); rcu_read_unlock(); WRITE_ONCE(a, 1); WRITE_ONCE(b, 1); r1 = READ_ONCE(a); WRITE_ONCE(c, 1); WRITE_ONCE(d, 1); r2 = READ_ONCE(c); thread0() thread1() rcu_read_lock(); rcu_read_lock(); rcu_read_unlock(); r3 = READ_ONCE(d); QS r4 = READ_ONCE(b); r5 = READ_ONCE(e); rcu_read_lock(); rcu_read_unlock(); thread3()