unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <somebody@not-sent-or-endorsed-by.tobias.gr>
To: Bradley Haggerty <bradigger@gmail.com>
Cc: 34799@debbugs.gnu.org
Subject: bug#34799: font breakage, square boxes, font-terminus
Date: Sun, 10 Mar 2019 12:16:23 +0100	[thread overview]
Message-ID: <87va0rget4.fsf@nckx> (raw)
In-Reply-To: <CABGw91dz1BaR9ZGfbziBmYgccpDZiKZXv4o6noEiwO+KKt3i8g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

Bradley,

Bradley Haggerty wrote:
> This issue may be a lot simpler than it initially seemed. I've 
> had success
> upgrading all those packages except for font-terminus. I also 
> realized that
> the broken font in all places I can think of was the same. It 
> was Terminus.
> So, this bug is likely specific to font-terminus and for now I 
> will just
> hold it back in my upgrades.

I updated font-terminus from 4.40 to 4.47 in commit 73c5c482.  I 
wonder if your problem could be caused by this intermediate 
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 
‘missing’ from 4.47, but my fonts continued to work just fine and 
we don't (usually…) diverge from upstream without good reason.

This is probably a good reason :-)  Does the attached patch fix 
your problem?

Kind regards,

T G-R

[0]: http://terminus-font.sourceforge.net


[-- Attachment #2: 0001-XXX-gnu-font-terminus-Install-X11-8-bit-code-pages.patch --]
[-- Type: text/x-patch, Size: 1678 bytes --]

From 0d9b645937abfdddaf3d8088f81c58220c8d0026 Mon Sep 17 00:00:00 2001
From: Tobias Geerinckx-Rice <me@tobias.gr>
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 ‘build’ 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, designed
-- 
2.20.1


  reply	other threads:[~2019-03-10 11:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-10  2:48 bug#34799: font breakage, square boxes Bradley Haggerty
2019-03-10  2:55 ` bug#34799: font breakage, square boxes, font-terminus Bradley Haggerty
2019-03-10 11:16   ` Tobias Geerinckx-Rice [this message]
2019-03-14 15:14 ` Bradley Haggerty
2019-03-14 21:34   ` Tobias Geerinckx-Rice
2019-03-16  9:43 ` Bradley Haggerty
2020-06-10 14:44 ` bug#34799: font breakage, square boxes Royce Strange

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=87va0rget4.fsf@nckx \
    --to=somebody@not-sent-or-endorsed-by.tobias.gr \
    --cc=34799@debbugs.gnu.org \
    --cc=bradigger@gmail.com \
    /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).