From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#34799: font breakage, square boxes, font-terminus Date: Sun, 10 Mar 2019 12:16:23 +0100 Message-ID: <87va0rget4.fsf@nckx> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2wRz-0004Hc-IH for bug-guix@gnu.org; Sun, 10 Mar 2019 07:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2wRy-0007E5-KF for bug-guix@gnu.org; Sun, 10 Mar 2019 07:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2wRy-0007Dd-BH for bug-guix@gnu.org; Sun, 10 Mar 2019 07:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h2wRx-000764-QA for bug-guix@gnu.org; Sun, 10 Mar 2019 07:17:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Bradley Haggerty Cc: 34799@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Bradley, Bradley Haggerty wrote: > This issue may be a lot simpler than it initially seemed. I've=20 > had success > upgrading all those packages except for font-terminus. I also=20 > realized that > the broken font in all places I can think of was the same. It=20 > was Terminus. > So, this bug is likely specific to font-terminus and for now I=20 > will just > hold it back in my upgrades. I updated font-terminus from 4.40 to 4.47 in commit 73c5c482. I=20 wonder if your problem could be caused by this intermediate=20 upstream change[0]: Version 4.46: The X11 8-bit code pages are not installed by default. Indeed, I'd noticed that some half of the 4.40 files were=20 =E2=80=98missing=E2=80=99 from 4.47, but my fonts continued to work just fi= ne and=20 we don't (usually=E2=80=A6) diverge from upstream without good reason. This is probably a good reason :-) Does the attached patch fix=20 your problem? Kind regards, T G-R [0]: http://terminus-font.sourceforge.net --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-XXX-gnu-font-terminus-Install-X11-8-bit-code-pages.patch Content-Transfer-Encoding: quoted-printable >From 0d9b645937abfdddaf3d8088f81c58220c8d0026 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 10 Mar 2019 12:12:08 +0100 Subject: [PATCH] XXX gnu: font-terminus: Install X11 8-bit code pages. * gnu/packages/fonts.scm (font-terminus)[arguments]: Add a new phase to build & install 8-bit fonts that were installed by default pre-4.46. --- gnu/packages/fonts.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 296e46ec6f..0d327a51b7 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -360,7 +360,16 @@ Biolinum is available in both Regular and Bold weights= .") ("pkg-config" ,pkg-config) ("python" ,python))) (arguments - `(#:tests? #f)) ; no test target in tarball + `(#:tests? #f ; no test target in tarball + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-more-bits + ;; X11 8-bit code pages are not installed by default (they were + ;; until version 4.46). Install them manually. + ;; XXX This builds at least as many fonts as the =E2=80=98build= =E2=80=99 phase + ;; does. Split up into build- and install- when merging? + (lambda* (#:key make-flags outputs #:allow-other-keys) + (apply invoke "make" "install-pcf-8bit" make-flags)))))) (home-page "http://terminus-font.sourceforge.net/") (synopsis "Simple bitmap programming font") (description "Terminus Font is a clean, fixed-width bitmap font, desig= ned --=20 2.20.1 --=-=-=--