Bug 1960095

Summary: font height (or leading) changed when LANG=zh_CN.utf8 is set
Product: [Fedora] Fedora Reporter: Qiyu Yan <yanqiyu01>
Component: powerlineAssignee: Andreas Schneider <asn>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: asn, debarshir, gnome-sig, klember, kparal, michel, mike
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://gitlab.gnome.org/GNOME/vte/-/issues/347
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-07 20:07:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Qiyu Yan 2021-05-13 03:11:58 UTC
Description of problem:
font height (or leading) changed when LANG=zh_CN.utf8 is set

Version-Release number of selected component (if applicable):
Starting from vte-profile-0.64.1-1.fc34.x86_64 and vte291-0.64.1-1.fc34.x86_64

How reproducible:
Always

Steps to Reproduce:
1. dbus-update-activation-environment --systemd LANG=zh_CN.UTF-8 && systemctl restart --user gnome-terminal-server.service
2. start a gnome-shell instance
3. dbus-update-activation-environment --systemd LANG=en_US.UTF-8 && systemctl restart --user gnome-terminal-server.service
4. start a gnome-shell instance

Actual results:
In step 2. you get a terminal with strange layout (as I described in https://bodhi.fedoraproject.org/updates/FEDORA-2021-9b5bbedfb6)
In step 4. the terminal gets normal.

Expected results:
font height (or leading) should not change no matter what LANG is set

Additional info:
As long as LANG=zh_CN.utf8 will break leading, I doubt will other CJK locales do the same thing?

Comment 1 Kamil Páral 2021-05-13 07:07:49 UTC
You might get a quicker response reporting this upstream:
https://gitlab.gnome.org/GNOME/vte/-/issues

Comment 2 Qiyu Yan 2021-05-13 07:29:52 UTC
Thanks, this seems to have been reported upstream

refs: https://gitlab.gnome.org/GNOME/vte/-/issues/347

Comment 3 Debarshi Ray 2021-05-19 11:52:13 UTC
Reassigning to powerline based on the upstream VTE discussion at https://gitlab.gnome.org/GNOME/vte/-/issues/347

Specifically:
"E.g. instead of using that powerline triangle, use the mosaic character U+1FB6C."

Comment 4 Ben Cotton 2022-05-12 14:58:27 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Ben Cotton 2022-06-07 20:07:17 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.