Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Trademark font characters are right-clipped in the REPL producing an unfortunate visual result #3986

Closed
bazzaar opened this issue Oct 27, 2020 · 6 comments
Assignees

Comments

@bazzaar
Copy link

bazzaar commented Oct 27, 2020

I've just installed rakudo 2020.10 on a new 14" Dell laptop with HiRes screen running openSUSE Leap 15.2. Unfortunately, when I fire up the repl, in the default bash shell, with no modifications having been made to either the font type or font size displayed, I am greeted by two messages that appear to refer to "Faku/Fakudo" in nice bold embellished font.

Copying the text into an editor, the characters are in fact "Raku/Rakudo", as expected. So what appears to be the case is that there is clipping to the right side of each character that is in the fancy font-type. I thought I'd better raise it as an issue, before someone or other jumps on it.

bazzaar referenced this issue Oct 27, 2020
- to be shown when starting the REPL
- to be shown when doing `raku -v`

As part of the effort of trademarking Rakudo and Raku.  codesections++
for working with The Perl Foundation on this.
@lizmat
Copy link
Contributor

lizmat commented Oct 28, 2020

Related: Raku/problem-solving#193 and 80a4ada

@Altai-man Altai-man added the BLOCKER Preventing the next release of rakudo, or just needing attention before the release label Oct 28, 2020
@Kaiepi
Copy link
Contributor

Kaiepi commented Oct 28, 2020

I had a similar issue to this one. Here's Raku losing its temper over my xterm setup on OpenBSD:
2020-10-28-025524_399x66_scrot

Firefox seemed calm enough in comparison, so I figured it would be a problem specific to xterm at first:
2020-10-28-025542_377x35_scrot

But I had already set up my locale and .Xdefaults for Unicode ages ago, so I figured that there was other configuration involved that I had overlooked. I found a couple config settings for xterm that become relevant when displaying this text:
2020-10-28-030250_297x33_scrot

While they make the text render, these were introduced to xterm to handle quirks in Xft's font rendering, which would indicate to me the issue's more with configuration for my fonts, not so much my terminal. The problem was that DejaVu Math TeX Gyre, the font that was being selected as a fallback when rendering this text, is w i d e; too wide for even single-width characters like that "R" to fit in one cell when selected in favour of the narrower monospace ones that xterm stubbornly defines their boundaries with. Blacklisting DejaVu fonts so friendlier fonts for my setup get the chance to display makes the text readable for me:
2020-10-28-180042_395x68_scrot

But this isn't a problem unique to xterm: urxvt and Konsole can fail to render glyphs in similar scenarios. I think font configuration is likely to be the culprit behind this issue as well.

@Altai-man Altai-man removed the BLOCKER Preventing the next release of rakudo, or just needing attention before the release label Nov 20, 2020
@Altai-man
Copy link
Member

This is unfortunate, but not a blocker for the release.

@lizmat
Copy link
Contributor

lizmat commented Nov 21, 2020

Please note that the raku -v output only uses ASCII since 329e47f and now in the 2020.11 release. I don't see the text change for the REPL case any time soon, so I'm going to close this issue. Please re-open if you disagree.

@lizmat lizmat closed this as completed Nov 21, 2020
@Altai-man
Copy link
Member

@bazzaar can you please check latest release?

@bazzaar
Copy link
Author

bazzaar commented Nov 22, 2020

@bazzaar can you please check latest release?

I'll upgrade to 2020.12 once the pkg becomes available in

https://dl.bintray.com/nxadm/rakudo-pkg-rpms/openSUSE/15.2/x86_64

and then report back.

Update :

I upgraded to Raku 2020.12, the glitch in the trademark in a KDE Konsole window remains :

KDE_Konsole_Raku_Trademark_issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants