Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monospace font #76

Open
gauvins2 opened this issue Aug 16, 2020 · 5 comments
Open

monospace font #76

gauvins2 opened this issue Aug 16, 2020 · 5 comments

Comments

@gauvins2
Copy link

  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
Copy link

thien-do commented Aug 16, 2020

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
Copy link
Author

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
Copy link

thien-do commented Aug 16, 2020

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
Copy link

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
Copy link
Author

gauvins2 commented Aug 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants