Package Details: rxvt-unicode-truecolor-wide-glyphs 9.31-8

Git Clone URL: https://aur.archlinux.org/rxvt-unicode-truecolor-wide-glyphs.git (read-only, click to copy)
Package Base: rxvt-unicode-truecolor-wide-glyphs
Description: Unicode enabled rxvt-clone terminal emulator (urxvt) with true color, enhanced glyphs and improved font rendering support
Upstream URL: http://software.schmorp.de/pkg/rxvt-unicode.html
Licenses: GPL-3.0-or-later
Conflicts: rxvt-unicode, rxvt-unicode-terminfo, urxvt-perls, urxvt-resize-font
Provides: rxvt-unicode, rxvt-unicode-terminfo, urxvt-keyboard-select, urxvt-resize-font
Submitter: mrdotx
Maintainer: mrdotx
Last Packager: mrdotx
Votes: 18
Popularity: 3.24
First Submitted: 2020-11-13 12:30 (UTC)
Last Updated: 2024-05-15 06:30 (UTC)

Dependencies (10)

Required by (34)

Sources (14)

Latest Comments

1 2 3 4 Next › Last »

mrdotx commented on 2024-05-15 06:33 (UTC)

@Andrei_Korshikov: I think you are right. If someone installs this version of URxvt, he will surely want to use special fonts. That's why I'm going to mark this as a 'feature' for now ;) If I have more time and I'm bored, I'll take a closer look at it. Thanks for your tests...

Andrei_Korshikov commented on 2024-05-10 13:07 (UTC)

Here are my results on segfaults with no configured font. If I explicitly set -*-fixed-*-13-* as my main font - everything is ok, both terminal-analysis scripts work fine, no crashes.

If (as I said earlier) I remove all font settings, then effectively the same -*-fixed-*-13-* is used, I can press Control+Shift and click somewhere, and it says "fixed" as font name in the blue ISO 14755 rectangle. terminal_colors.sh works, terminal_benchmark.sh crashes right after starting.

Here is coredumpctl debug output:

Core was generated by `urxvt'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  rxvt_term::scr_refresh (this=this@entry=0x5a1f4f97c850) at screen.C:2526
2526                 font->draw (*drawable, xpixel, ypixel, text, count, fore, back);
(gdb) bt full
#0  rxvt_term::scr_refresh (this=this@entry=0x5a1f4f97c850) at screen.C:2526
        count = 1
        xpixel = 12
        fore = 1
        rend = 4628574533907906561
        text = 0x76ff73e240b0
        back = 503
        font = 0x0
        stp = <optimized out>
        srp = 0x76ff73e245a8
        dtp = <optimized out>
        drp = <optimized out>
        ypixel = <optimized out>
        col = <optimized out>
        row = <optimized out>
        ocrow = <optimized out>
        i = <optimized out>
        ccol1 = <optimized out>
        ccol2 = <optimized out>
        cur_rend = <optimized out>
        cur_col = <optimized out>
        cursorwidth = <optimized out>
        old_screen_flags = <optimized out>
        have_bg = <optimized out>
        showcursor = <optimized out>
#1  0x00005a1f47377658 in rxvt_term::flush (this=0x5a1f4f97c850) at command.C:1010
#2  0x00005a1f4739844c in ev_invoke_pending () at ./../libev/ev.c:3774
        p = <optimized out>
#3  0x00005a1f47399a41 in ev_run (flags=0) at ./../libev/ev.c:4198
#4  0x00005a1f47371963 in main (argc=1, argv=0x7fff12061818) at rxvt.C:38
        t = 0x5a1f4f97c850
(gdb) 

The most interesting part is font. It is 0x0 3 times of 10, 0x408 one time, nice numbers (0xc80000000b and 0x1b00000031) two times, and a big number (like 0x137094d04e390) four others times.

I did not use C++ and gdb for ages, so I'm not 100% sure, but I take it that font is a pointer, and it should not be zero.

I'm surely not asking to fix, with configured fonts there are no crashes.

@mrdotx By the way, thank you for sharing your dotfiles. I've read them and learned something new:)

Andrei_Korshikov commented on 2024-04-21 03:08 (UTC) (edited on 2024-04-21 08:56 (UTC) by Andrei_Korshikov)

@mrdotx Thank you! I'll dig)

Update: deleted comments about fonts, my fault - mistake in config.

mrdotx commented on 2024-04-20 16:39 (UTC) (edited on 2024-04-20 16:39 (UTC) by mrdotx)

@Andrei_Korshikov: For language/font support in general, the built-in fonts are more of a fallback to display something, not to display everything. For this reason, it is recommended to configure the fonts that are needed in the Xresources files. This means, if you want Hindi, Punjabi, Emojis, Nerdfonts or whatever to be displayed, you have to configure fonts that are support these character sets. Furthermore, the rectangles are displayed as an indicator that the characters cannot be found in the configured or built-in fonts.

I've tried to reproduce your crashes, but without success. It didn't matter if I did it with/-out font configuration, with/-out installed fonts and/or with/-out patches. However, I used my scripts/files for testing:

If you want you can test them too. They should produce enough colors and font properties to stress the terminal emulator.

I can't reproduce your last point either. For testing I used the nvim.desktop and gimp.desktop files (these simply have the most languages on my system and I don't have plasma installed). Hebrew is always displayed, with or without patches and cleared font cache.

Andrei_Korshikov commented on 2024-04-17 06:49 (UTC) (edited on 2024-04-17 10:00 (UTC) by Andrei_Korshikov)

Maybe somehow related to @xyrbs problem and 7-bit-queries.patch. urxvt crashes if there is no font configuration present in .Xresources (I commented out .font, .boldFont, etc. for debugging another problem), so default fixed font is used. Crash is stable when I press Control-R (I use zsh and on this keys echo {} | bat --language=zsh --color=always --style=plain is executed - a lot of colors and bold font using). Crash is intermittent when I press Tab for completion (there are also colors and bolds).

By the way, I do believe it is bold-dependent. When I press Tab and there is no bold in output - it works, and when it should be bold character - it crashes.

Yes, I know, no font in Xresources is a stupid config, but maybe it will help to debug somehow.

Edit: If I compile with both 'enable-wide-glyphs.patch' and 'improve-font-rendering.patch' but '''without''' --enable-wide-glyphs — there is no problem (no crashes with default font configuration).

mrdotx commented on 2024-02-26 07:46 (UTC)

@xyrbs: That's good if it works for you. If you want colored emojis, you can install/configure something like noto-fonts-emoji or ttf-joypixels instead of ttf-symbola.

xyrbs commented on 2024-02-25 14:42 (UTC) (edited on 2024-02-25 14:43 (UTC) by xyrbs)

@mrdotx Thanks for you answer. I add

    xft:Symbola:style=Regular:size=10, \
    xft:FontAwesome:style=Regular:size=10 \

to my Xresources, and i think it's work. I will wrote if there any problem.

Do i add colored emoji font to urxvt?

mrdotx commented on 2024-02-22 18:24 (UTC)

@xyrbs: Some time ago we had a similar problem with vimtex:

https://github.com/lervag/vimtex/issues/2653

At that time, the workaround was to install ttf-symbola. Perhaps this will work for you too?

I would also be interested to know what you have defined in your locale.gen and which fonts you have configured in your Xresources?