Bug 278852 - x11-fonts/juliamono: xft issue with 0.055 update
Summary: x11-fonts/juliamono: xft issue with 0.055 update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 10:46 UTC by Harald Schmalzbauer
Modified: 2024-06-06 19:22 UTC (History)
2 users (show)

See Also:
trueos: maintainer-feedback+


Attachments
pkg-message to hint about color glyph problems with xterm/urxvt (379 bytes, patch)
2024-05-08 10:46 UTC, Harald Schmalzbauer
no flags Details | Diff
Update patch with corrected pkg-message (1.51 KB, patch)
2024-05-12 19:10 UTC, Trenton Schulz
trueos: maintainer-approval+
trueos: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Schmalzbauer 2024-05-08 10:46:10 UTC
Created attachment 250528 [details]
pkg-message to hint about color glyph problems with xterm/urxvt

Hi,
with the latest update, most fonts of this package can't be used in xterm(1) and urxvt(1) 
anymore, which was not a problem with version 0.054.

Error:
xterm: unable to open font "", trying "fixed"....
X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  139 (RENDER)
  Minor opcode of failed request:  20 (RenderAddGlyphs)
  Serial number of failed request:  88
  Current serial number in output stream:  897

According to similar problems with noto-ColorEmoji fonts, the reason apparently is the upstream fix for https://github.com/cormullion/juliamono/issues/201 in 0.055 (adding color glyph).

None of the Qt5 and GTK3 based apps which I tested are affected (kate, gedeit)! 

And the 'Latin' version still works in xterm(1) e.g., but the difference might be not that obvious to everybody.
Maybe the the attached pkg-message helps people who update or browse fonts for their xterm...
Comment 1 Trenton Schulz 2024-05-08 13:39:20 UTC
Comment on attachment 250528 [details]
pkg-message to hint about color glyph problems with xterm/urxvt

Ouch! Thanks for noticing this and explaining why. I agree that this note should probably be added. Maybe use "etc." instead of "e.g." in the pkg-message, but the message is clear.
Comment 2 Harald Schmalzbauer 2024-05-12 09:33:19 UTC
(In reply to Trenton Schulz from comment #1)

Do you resp. can you commit?  Replacing e.g. with etc is much better - please adjust, whoever can commit. Thanks!
Comment 3 Trenton Schulz 2024-05-12 19:10:47 UTC
Created attachment 250603 [details]
Update patch with corrected pkg-message

Updated patch with improved pkg-message text.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-06-06 19:08:42 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=870bc238ed74376edc082f74d155e0b460d45dd4

commit 870bc238ed74376edc082f74d155e0b460d45dd4
Author:     Trenton Schulz <trueos@norwegianrockcat.com>
AuthorDate: 2024-06-06 13:10:09 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-06-06 19:05:48 +0000

    x11-fonts/juliamono: Add notice regarding compatibility with color glyphs

    Some applications don't support color plyphs and throws errors, add
    a notice of a workaround for users if they run into compatibility
    issues.

    PR:             278852
    Reported by:    Harald Schmalzbauer <bugzilla.freebsd@omnilan.de>

 x11-fonts/juliamono/Makefile          | 1 +
 x11-fonts/juliamono/pkg-message (new) | 7 +++++++
 2 files changed, 8 insertions(+)
Comment 5 Daniel Engberg freebsd_committer freebsd_triage 2024-06-06 19:22:06 UTC
Committed, thanks!