New issue
Advanced search Search tips

Issue 918801 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 802087
Owner: ----
Closed: Jan 3
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Terminal cursor doesn't respect font sizes with web fonts

Project Member Reported by brentons@google.com, Jan 3

Issue description

Chrome Version: 71.0.3578.94 (Official Build) (64-bit)
Chrome OS Version: 11151.59.0 (Official Build) stable-channel nocturne
Chrome OS Platform: Google Pixel Slate

Steps To Reproduce:
(1) Open Terminal
(2) Alt+Shift+P for Settings
(3) Change font-family to Inconsolata, font-size to 16, and add user-css-text of @import url('https://fonts.googleapis.com/css?family=Inconsolata');


Expected Result:
Red insertion caret appears at the end of the terminal prompt, scaling with the font size and family. 

Actual Result:
Caret doesn't respect font size/family, and appears about 7 characters ahead of where it should be.

How frequently does this problem reproduce? (Always, sometimes, hard to
reproduce?)
Always

What is the impact to the user, and is there a workaround? If so, what is
it?
Terminal is not usable with custom fonts.

Please provide any additional information below. Attach a screen shot or
log if possible.

 
Screenshot 2019-01-03 at 3.24.01 PM.png
15.9 KB View Download
Components: -OS>Systems>Containers
Labels: allpublic
Mergedinto: 802087
Status: Duplicate (was: Unconfirmed)
Summary: Terminal cursor doesn't respect font sizes with web fonts (was: Terminal cursor doesn't respect font)
usually if you increase/decrease the font size on the fly, the metrics get recalculated correctly
as a workaround, I hit ctrl-0 after the font loads

Sign in to add a comment