Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp329718rdf; Fri, 3 Nov 2023 01:46:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGSmdbrONTHa3E3AEpejSafkcvLch8lrkHe1nJX3lCzVgX4fnHTT+DZPrUomJqFNDd3V9aK X-Received: by 2002:a05:6a21:a59b:b0:17b:7dda:c106 with SMTP id gd27-20020a056a21a59b00b0017b7ddac106mr23467248pzc.34.1699001219023; Fri, 03 Nov 2023 01:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699001219; cv=none; d=google.com; s=arc-20160816; b=jGYZy29oTfB4k9itp4kdTy2LYb+ruLzrjgdQEH2dZ4mDQsl4BLcG5mHb84rV8AYh/Y RSuHf+7ZkaVKT7f4ScH5M/fcVY7Y5LhF7pNOItvJZaU6J8Re7g1EtErEdBaOtjtm9NaC 8qLjmTLnxMY175RVM2a57J8aA0EN6mPi/YcVaFm3Q87+PrKiG0EZPt6W1a0Oyumiai9q A91csInPRU3C+UrWcaQ+GZJ1sLrjo7nSlj5RWPJTDHt+bFU5hK/cwb8NXb4Ap2WgV2t0 pYF7lY/NZ+gkr/vM4fQqqerDqTGa+eHU1yGsJRIBVuzuQAr6drpdGlAXxZg2bNxirjUa TpBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mVywe0D/U3C5N1dPQibx8KoiHM6ZJRIDGPFvHnYX9lg=; fh=Idbnfc/Fh3EtMPqLziYNxtnlpUB+WlYM3rH3Bq4ZC4w=; b=H5dPwQXp5u8UJG04jwDKZxjpTGWaCtZERKEprcJ2x4waGvoVVpIl46uiu2tEgRzWhF xny4oHeY1fN0vZJQlfvnGdqn4+EtmE6mux3TxrCNxQ5xcNKXCp/e4WxEeoSuMirQGbAo 99WeOj6eaA1+Gh155fLEgGSEXyn+Pr951Wa8h6O/6Mbdgor+FImuGuYyZlVUfqi3cIXi Jsy1ebly+1kdtD6Pe6VA3AqlrqXsRMJf+77KP9+MyP8Qi6jTJW968Du2ljrCKMHXTxLM vMHiohRA4N21dJjcJD4WSP1xCboBy1gin+FpdvTsOsp/Yh+KxHeXciGF/oPXGaFPdWwh yRSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DhBAWwfm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id w191-20020a6382c8000000b005b42f4443b7si1147827pgd.653.2023.11.03.01.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 01:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DhBAWwfm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 7AE1180B1221; Fri, 3 Nov 2023 01:46:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234873AbjKCIqj (ORCPT + 99 others); Fri, 3 Nov 2023 04:46:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230019AbjKCIqh (ORCPT ); Fri, 3 Nov 2023 04:46:37 -0400 Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E3ECD43; Fri, 3 Nov 2023 01:46:31 -0700 (PDT) Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-1eb7a8e9dd0so1095030fac.3; Fri, 03 Nov 2023 01:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699001190; x=1699605990; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=mVywe0D/U3C5N1dPQibx8KoiHM6ZJRIDGPFvHnYX9lg=; b=DhBAWwfm5Gb3ffnfJ5j6UTwPKxkNHf+VtKuBnpauiMtP5/azQDmeov53Fc5n7OcKu3 0xCmTPmp3725qCFF/baDH/xKxoTYiCJi3tdz+z3ua+s8eZlHaaUtSpubGqKWWCsTx5S9 g6tHIMi2WlqXcQER91dl6A4eydYDtmj5/4xU3fS7/4hGeoofUSFXgW0GpCSxamhbSa1T WDPmMKIbPBpvw7X/mnGok4GDjiUX1UQGNdjWsF3E09GFlflxb2Xl352f+nqbym9m681f sDiYCBg0Z+Ven2pbiMYgdR1SXuT4KMSZBqr1LozhiOpN4bT+rxZfmhz0p+ILriQ1bxdZ 9etA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699001190; x=1699605990; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mVywe0D/U3C5N1dPQibx8KoiHM6ZJRIDGPFvHnYX9lg=; b=wcdMix5oOTcsb5nvw2TxA5AtyygcKb0tR6SAZXYlKfrqwPCnAnm2l14DP4X4wmPaYa HV8xeXhTa3c1L97SGEA9HwZJxRr1Y+LJXP8aN2v1TBsHh+kA2pjnaUO7Jz0UcGXuNFvf dNsNDSwD7Q68XI3xZGbnHf78H4IT5bvh/S+2BYP2sqaFBeXpHpN0Uuw+VFZ7wfWzU0Qq UkQq+5EU4qQlt+YK3tbiL655OEdyEu3bJWF9lG7/8NodpGoSVKkP7D8MX2Z4j1S2bGik sBetbbLGlauODKjcn8mGDTndm8doDua5BBiIUyLlZs7dV9fThIjiONER1f0mf0RQOFmg duVg== X-Gm-Message-State: AOJu0YzQYrAV2pF+A3yNvJNBLZQ3AbR9tWvH/3FjxrKWl0DwzwOUViiT YpIQdtpZtPhqUCeQ72GYQ20= X-Received: by 2002:a05:6870:b013:b0:1e9:9742:7dfd with SMTP id y19-20020a056870b01300b001e997427dfdmr23542991oae.31.1699001190331; Fri, 03 Nov 2023 01:46:30 -0700 (PDT) Received: from debian.me ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id u4-20020a654c04000000b005a9b20408a7sm784642pgq.23.2023.11.03.01.46.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 01:46:29 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id DA73191D73C3; Fri, 3 Nov 2023 15:46:26 +0700 (WIB) Date: Fri, 3 Nov 2023 15:46:26 +0700 From: Bagas Sanjaya To: Ken Moffat , Jonathan Corbet Cc: Linux Kernel Mailing List , Linux Documentation , Thomas Gleixner , Greg Kroah-Hartman , Akira Yokosawa , Stanislav Fomichev , David Vernet , Miguel Ojeda , James Seo , Daniel Vetter , Federico Vaga , Carlos Bilbao Subject: Re: [PATCH RFC RESEND 0/4] Documentation: Web fonts for kernel documentation Message-ID: References: <20231102123225.32768-1-bagasdotme@gmail.com> <874ji48658.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6kmgiKCzrjAfMsus" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 03 Nov 2023 01:46:53 -0700 (PDT) --6kmgiKCzrjAfMsus Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 03, 2023 at 12:26:19AM +0000, Ken Moffat wrote: > On Thu, Nov 02, 2023 at 10:35:47AM -0600, Jonathan Corbet wrote: >=20 > Jon, some slight nit-picking below, after comments on the stated > problem. >=20 > > Bagas Sanjaya writes: > >=20 > [...] > > > > > > The solution > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > Uniform the font choices by leveraging web fonts. Most of people read= ing > > > the kernel docs should already have modern browser that supports this > > > feature (e.g. Chrome/Chromium and Firefox). The fonts are downloaded > > > automatically when loading the page, but only if the reader don't > > > already have ones installed locally. Subsequent docs page loading will > > > use the browser cache to retrieve the fonts. If for some reasons the > > > fonts fail to load, the browser will fall back to fallback fonts > > > commonly seen on other sites. > >=20 > Bagas, >=20 > If loading the web font fails, you will get whichever fallback > fonts are enabled by fontconfig and whichever fonts you, or your > distro, have installed. If those fonts are not generally adequate > you should complain to your distro, or install different fonts in > ~/.local/share/fotns and perhaps change your fonts.conf entries. I beg to differ. That's depending on font-family rule. For example, if I write it as: ``` body { font-family: "Liberation Sans", Helvetica, Arial, sans-serif; } ``` browsers will try loading the first three fonts, in order. If a font isn't available, they will try the next one until they can. Only then when all other options are exhausted, generic fallback font will kick in. And yes, I do copying all fonts from my Windows installation (since I dual-boot both it and Debian), then configure GNOME to use Segoe UI as UI font (as it looks nicer to me). I also drop in font substitution rules in `~/.config/fontconfig/conf.d` since I'm not the fan of (obviously non-free) S=C3=B6hne and substitute it with Inter and Source Code Pro. >=20 > > So my immediate response to this is pretty uniformly negative. > >=20 > > - If you don't like serif, tweaking conf.py is easy enough without > > pushing it on everybody else. > >=20 > > - I'm not thrilled about adding a bunch of binary font data to the > > kernel, and suspect a lot of people would not feel that the bloat is > > worth it. > >=20 >=20 > Jon, >=20 > As I understand it the (woff) fonts would be downloaded on request > by the browser if this went in. So not a bunch of binary font data > in the kernel, but a download from google (adding to the popularity > of the font) and yet more font data in the browser cache. I don't > have any desire to see woff fonts referenced in the docs, just > nit-picking about the details. But I wasn't considering people using terminal-only browsers (like Lynx). >=20 > However - >=20 > > - The licensing of the fonts is not fully free. > >=20 >=20 > AFAICS, the SIL OFL allows everything except changing the font name. > If you have the right tools you can apparently fix things like "that > specific glyph looks ugly" or "you put a latin breve on a cyrillic > letter" (apparently they should differ) or "You mismapped this > codepoint to the wrong glyph". What you cannot do, if those changes > are not accepted by the font designer/maintainer, or if the font is > no-longer maintained, is fork it and provide it under the same name. >=20 > You can fork, but the font name has to be changed (e.g. LinLibertine > -> Libertinus and then the serif forked to CommonSerif). >=20 > Oh, and you cannot sell the fonts by themselves, but you can bundle > them with a distro or embed them. > https://www.tldrlegal.com/license/open-font-license-ofl-explained >=20 > Question: is that not free enough, or is that site wrong ? If not > free enough, is there a better licence for fonts ? Yet Debian distributes OFL fonts in its main archive... For me, for the fonts, I'd like CC-BY-SA instead. Thanks. --=20 An old man doll... just what I always wanted! - Clara --6kmgiKCzrjAfMsus Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZUSzXwAKCRD2uYlJVVFO o2kSAP9OiWMN4avk4kAZdm2oGRch0M+/NeExTW/cph9LdbqHhwEA7qIWmTFHufcs 9Mlih2xOkjGFDJfmqDPv5jeAgI6CYAw= =qrkE -----END PGP SIGNATURE----- --6kmgiKCzrjAfMsus--