unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: iyzsong--- via Guix-patches via <guix-patches@gnu.org>
To: 70496@debbugs.gnu.org
Cc: 宋文武 <iyzsong@member.fsf.org>
Subject: [bug#70496] [PATCH 00/14] Remove duplications in fonts by split outputs
Date: Sun, 21 Apr 2024 18:22:06 +0800	[thread overview]
Message-ID: <cover.1713693629.git.iyzsong@member.fsf.org> (raw)

From: 宋文武 <iyzsong@member.fsf.org>

Hello, here are some patches for font packages which updates
the install phase in font-build-system for multiple outputs, and
use that for some font packages.

When a font family is provided in different formats (eg: both ttf and
otf), font picker will list duplicated entries.  To remove those
duplicated entries, these patches will prefer "otf" over "ttf" files
by using '("out" "ttf")) as package's outputs field, so that otf files
will go into the default "out" output.

I think some good defaults for "out" are:
  Prefer "otf" over "ttf", as the otf has better features and smaller size.
  Prefer "otb" over "pcf", as pango only support otb as bitmap fonts.
  Prefer "otc/ttc" over separated ttf/otf files, as collection has smaller size.
  Always use "woff" for web fonts or delete them, those are only used for serving web pages.

The font-build-system change will trigger mass rebuilds due to
fontconfig, so this maybe go into "core-updates" or a separated branch.


Sou Bunnbu (宋文武) (14):
  build-system: font: Handle multiple outputs in the install phase.
  gnu: font-artifika: Split outputs.
  gnu: font-chivo: Split outputs.
  gnu: font-ibm-plex: Update to 6.4.0.
  gnu: font-ibm-plex: Split outputs.
  gnu: font-intel-one-mono: Remove unnecessary 'split-outputs' phase.
  gnu: font-canada1500: Split outputs.
  gnu: font-linuxlibertine: Split outputs.
  gnu: font-libertinus: Split outputs.
  gnu: font-recursive: Split outputs.
  gnu: font-orbitron: Split outputs.
  gnu: font-spleen: Remove unnecessary custom install phase.
  gnu: font-scientifica: Remove unnecessary custom install phase.
  gnu: font-cormorant: Split outputs.

 gnu/packages/fonts.scm           | 114 ++++++-------------------------
 guix/build/font-build-system.scm |  32 +++++++--
 2 files changed, 48 insertions(+), 98 deletions(-)


base-commit: a1d711c92e119f6b5b8e99a620cdba92a4ca3bfb
-- 
2.41.0





             reply	other threads:[~2024-04-21 10:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-21 10:22 iyzsong--- via Guix-patches via [this message]
2024-04-21 10:28 ` [bug#70496] [PATCH 01/14] build-system: font: Handle multiple outputs in the install phase iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 02/14] gnu: font-artifika: Split outputs iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 03/14] gnu: font-chivo: " iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 04/14] gnu: font-ibm-plex: Update to 6.4.0 iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 05/14] gnu: font-ibm-plex: Split outputs iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 06/14] gnu: font-intel-one-mono: Remove unnecessary 'split-outputs' phase iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 07/14] gnu: font-canada1500: Split outputs iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 08/14] gnu: font-linuxlibertine: " iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 09/14] gnu: font-libertinus: " iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 10/14] gnu: font-recursive: " iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 11/14] gnu: font-orbitron: " iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 12/14] gnu: font-spleen: Remove unnecessary custom install phase iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 13/14] gnu: font-scientifica: " iyzsong--- via Guix-patches via
2024-04-21 10:28 ` [bug#70496] [PATCH 14/14] gnu: font-cormorant: Split outputs iyzsong--- via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1713693629.git.iyzsong@member.fsf.org \
    --to=guix-patches@gnu.org \
    --cc=70496@debbugs.gnu.org \
    --cc=iyzsong@envs.net \
    --cc=iyzsong@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).