Bug 2087984 - Version of Source Code Pro currently packaged breaks in some cases
Summary: Version of Source Code Pro currently packaged breaks in some cases
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: adobe-source-code-pro-fonts
Version: 37
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Matt Rose
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-18 15:26 UTC by James Harmison
Modified: 2023-06-26 10:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
A screenshot of dmesg in Alacritty with Source Code Pro selected (930.56 KB, image/png)
2022-05-18 15:26 UTC, James Harmison
no flags Details

Description James Harmison 2022-05-18 15:26:26 UTC
Created attachment 1880946 [details]
A screenshot of dmesg in Alacritty with Source Code Pro selected

Description of problem:
Source Code Pro version 2.030, currently packaged for all versions of Fedora and in EPEL, includes an SVG table that causes the freetype library to be unable to calculate cell height, resulting in unusable output with lines stacked on top of each other.

Version-Release number of selected component (if applicable):
2.030.1.050-<any>

How reproducible:
Always

Steps to Reproduce:
1. Install adobe-source-code-pro-fonts and alacritty (a terminal emulator that uses freetype through the crossfont crate) from the current release versions.
2. Configure alacritty to use Source Code Pro. Example config:
~/.config/alacritty/alacritty.yml:
```yaml
font:
  normal:
    family: Source Code Pro
    style: Regular
  bold:
    family: Source Code Pro
    style: Bold
  italic:
    family: Source Code Pro
    style: Italic
  bolt_italic:
    family: Source Code Pro
    style: Bold Italic
  size: 10
```
3. Launch alacritty and attempt to use the terminal

Actual results:
The terminal is completely unusable with 1px line height, although the font is rendering at the correct size.

Expected results:
The terminal has a normal font display behavior and is usable.

Additional info:
2.038 is available and appears to fix the issue (https://github.com/adobe-fonts/source-code-pro/releases)
See some additional discussion here: https://github.com/alacritty/alacritty/issues/6048

Comment 1 Ben Cotton 2022-08-09 13:16:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 2 Hasshu 2023-06-26 10:44:56 UTC
The packaged fonts are nearly 7 years (!) old at this point, whereas the most recent versions have been released this April: https://github.com/adobe-fonts/source-code-pro/releases

Please, update the relevant package(s).


Note You need to log in before you can comment on or make changes to this bug.