GNU bug report logs - #70496
[fonts-split-outputs] Remove duplications in fonts by split outputs

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Sun, 21 Apr 2024 10:22:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 宋文武 <iyzsong <at> envs.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#70496: closed ([fonts-split-outputs] Remove duplications in
 fonts by split outputs)
Date: Wed, 22 Jan 2025 10:23:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 22 Jan 2025 18:26:17 +0800
with message-id <87h65rywja.fsf <at> envs.net>
and subject line Re: [bug#70496] [PATCH 00/14] Remove duplications in fonts by split outputs
has caused the debbugs.gnu.org bug report #70496,
regarding [fonts-split-outputs] Remove duplications in fonts by split outputs
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
70496: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70496
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: iyzsong <at> envs.net
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH 00/14] Remove duplications in fonts by split outputs
Date: Sun, 21 Apr 2024 18:22:06 +0800
From: 宋文武 <iyzsong <at> 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



[Message part 3 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: 70496-done <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: Re: [bug#70496] [PATCH 00/14] Remove duplications in fonts by split
 outputs
Date: Wed, 22 Jan 2025 18:26:17 +0800
Merged already, close.


This bug report was last modified 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.