New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 797829 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

hterm: add setting to control character spacing scale

Project Member Reported by yangd@google.com, Dec 27 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36

Steps to reproduce the problem:
There is no option to affect character vertical and horizontal spacing.
Note this is not font size (size of letters), but the spacing between letters.

What is the expected behavior?
two settings:
character-spacing-vertical-adjust: 0
character-spacing-horizontal-adjust: 0

default is zero, increasing adds vertical and horizontal.

What went wrong?
currently measured spacing can be awkward looking

Did this work before? N/A 

Chrome version: 63.0.3239.108  Channel: stable
OS Version: 
Flash Version: 

horizontal adjustment currently possible naturally via user-css-text: x-row { letter-spacing: -0.1px; }

vertical adjustment can be implemented by adjusting measureCharacterSize after measuring character size.
 

Comment 1 by yangd@google.com, Dec 28 2017

user-css --
x-row { letter-spacing: 0.2px; }
x-row span { padding: 2px 0; }


additional js
term_.scrollPort_.ms=term_.scrollPort_.measureCharacterSize;
term_.scrollPort_.measureCharacterSize = function(p) {
  var x = term_.scrollPort_.ms(p);
  x.height += 2;
  x.width += 0.2
  return x;
};

Comment 2 Deleted

Comment 3 Deleted

Comment 4 Deleted

Comment 5 Deleted

Comment 6 Deleted

Comment 7 Deleted

Comment 8 Deleted

Project Member

Comment 9 by sheriffbot@chromium.org, Dec 31

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment