Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1039952: alacritty: broken rendering with Source Code Pro

119 views
Skip to first unread message

brian m. carlson

unread,
Jun 29, 2023, 6:10:06 PM6/29/23
to
Package: alacritty
Version: 0.11.0-4
Severity: normal
Tags: upstream fixed-upstream

If the user has configured Source Code Pro as the terminal font, then
text is rendered very tiny and squashed at the top of the window.

To reproduce:

1. Install texlive-fonts-extra.
2. mkdir -p ~/.fonts
3. ln -s /usr/share/texlive/texmf-dist/fonts/opentype/adobe ~/.fonts
4. Run fc-cache.
5. Modify the configuration file to contain this block:

----
font:
normal:
family: Source Code Pro
style: Regular
----

6. Restart Alacritty if `live_config_reload` isn't specified.
7. Notice that the text is tiny and squashed at the top of the terminal
and you can't read anything at all.

I believe this is fixed in 0.12.0 and was tracked upstream at
https://github.com/alacritty/alacritty/issues/6048. This will probably
be fixed simply by updating Alacritty to the latest version, so it would
be great if that could happen.

-- System Information:
Debian Release: trixie/sid
APT prefers oldstable-security
APT policy: (500, 'oldstable-security'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-1-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages alacritty depends on:
ii libc6 2.36-9
ii libfontconfig1 2.14.1-4
ii libfreetype6 2.12.1+dfsg-5
ii libgcc-s1 13.1.0-6
ii libxcb1 1.15-1

alacritty recommends no packages.

alacritty suggests no packages.

-- no debconf information

--
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
signature.asc

James McCoy

unread,
Jul 6, 2023, 10:00:06 AM7/6/23
to
On Thu, Jun 29, 2023 at 09:47:26PM +0000, brian m. carlson wrote:
> If the user has configured Source Code Pro as the terminal font, then
> text is rendered very tiny and squashed at the top of the window.
>
> [...]
>
> I believe this is fixed in 0.12.0 and was tracked upstream at
> https://github.com/alacritty/alacritty/issues/6048. This will probably
> be fixed simply by updating Alacritty to the latest version, so it would
> be great if that could happen.

That discussion also suggests updating the version of Source Code Pro
will fix the issue. Updating alacritty is going to require
packaging/updating more crates, so updating the font may be a quicker
solution for this particular problem.

Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
0 new messages