TablePlus / TablePlus-Linux

TablePlus Linux issue tracker
https://tableplus.com
295 stars 30 forks source link

monospace font #76

Open gauvins2 opened 4 years ago

gauvins2 commented 4 years ago
  1. Database version (Ex: PostgreSQL 10.0): MySQL 8.0.21

  2. TablePlus version (the number on the welcome or about screen, Ex: build 81): Aplha build 62

  3. Linux distro (Ex: Ubuntu 18.04): Ubuntu 20.04

default font isn't monospace, which makes it difficult to interpret data (ex: 2222222222 seems to be one or two orders of magnitude larger than 1111111111)

thien-do commented 4 years ago

Thanks @gauvins2 :D I put this one into our to do list.

Just to be clear, I think what you are suggesting is called "Tabular figures", which means we don't need to use a completely monospace fonts (like in code editor) but only apply the "monospace feature" to numeric characters (like in Excel or Google Sheet or the TablePlus Mac app)

In other words, "1" will have the same width as "2", but "i" still have a smaller width than "w"

This is actually what we are doing in the TablePlus Mac app already, and it's simpler because the default font (San Francisco) does support this feature. On Linux, however, it's a little bit more complicated because each distro has its own default font (e.g. Ubuntu, Cantarell, Open Sans, etc.) and we can't be sure if they support "Tabular figures". Maybe we will just embed a good font.

gauvins2 commented 4 years ago

Actually, monospace could be a useful option, but tabular as a default would probably do.

ps -- coming from Mac, moving to a Linux box. Ecstatic to discover that there's a Linux version of your client. Looking forward to be able to purchase a Linux license to support your team :)

ps2 -- is there a suggestion thread somewhere?

thien-do commented 4 years ago

Actually, monospace could be a useful option, but tabular as a default would probably do.

The TablePlus Mac app allows choosing a custom font, so we are considering it in the Linux app too :D

ps2 -- is there a suggestion thread somewhere?

There isn't a thread, but feel free to create issue for anything you want to suggest

At the moment we are trying to bring major functionalities from the Mac app to here

thien-do commented 4 years ago

Hi @gauvins2 , we've just checked on Ubuntu 20 and it seems we have monospace digits in all places:

Screenshot from 2020-08-24 12-01-46

Screenshot from 2020-08-24 12-01-42

Can you tell us (or have a screenshot) where the font is not monospace in your case?

gauvins2 commented 4 years ago

Hello Thien

see below. Neither text nor numbers are monospace. I couldn't find font settings. Terminal is set (by default I think) to Fira Mono Regular. (I actually run Pop_OS, a Ubuntu-based distro that is compatible out-of-the-box with Trx40 systems.

Thanks for following up

Stéphane

[image: image.png]

On Mon, Aug 24, 2020 at 1:04 AM Thien Do notifications@github.com wrote:

Hi @gauvins2 https://github.com/gauvins2 , we've just checked on Ubuntu 20 and it seems we have monospace digits in all places:

[image: Screenshot from 2020-08-24 12-01-46] https://user-images.githubusercontent.com/5953369/91005679-aa048480-e601-11ea-8bcf-84b928b06b55.png

[image: Screenshot from 2020-08-24 12-01-42] https://user-images.githubusercontent.com/5953369/91005685-aec93880-e601-11ea-944e-e34b7a561b97.png

Can you tell us (or have a screenshot) where the font is not monospace in your case?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TablePlus/TablePlus-Linux/issues/76#issuecomment-678905046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMC44MT56CDK5M63I7QO5QLSCHYEHANCNFSM4QA2QVEA .