RE: New font for testing in Query Editor tool

From: Mike Surcouf <mikes(at)surcouf(dot)co(dot)uk>
To: 'Shirley Wang' <swang(at)pivotal(dot)io>, matshyeq <matshyeq(at)gmail(dot)com>, "Dave Page" <dpage(at)pgadmin(dot)org>
Cc: Anthony DeBarros <adebarros(at)gmail(dot)com>, pgAdmin Support<pgadmin-support(at)postgresql(dot)org>
Subject: RE: New font for testing in Query Editor tool
Date: 2017-07-19 14:33:48
Message-ID: 2197768425D7F5479A0FFB3FEC212F7FF5F0087F@aesmail.surcouf.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> Menlo only applies for Macs, Consolas is the new proposed font for Windows.

How are you going to tell what OS.
Bear in mind the server version (which I find runs much better than desktop) only has the concept of a browser agent.
I think the concept of specific font on a cross platform tool is not good IMHO.

As long as you fall back to

font-family: “monospace”;

From: Shirley Wang [mailto:swang(at)pivotal(dot)io]
Sent: 19 July 2017 15:10
To: matshyeq; Dave Page
Cc: Mike Surcouf; Anthony DeBarros; pgAdmin Support
Subject: Re: New font for testing in Query Editor tool

Thanks for the feedback everyone
On Wed, Jul 19, 2017 at 8:18 AM matshyeq <matshyeq(at)gmail(dot)com<mailto:matshyeq(at)gmail(dot)com>> wrote:
Just a thought, if v4 is web based - why don't you use webfonts, like whatever is available on https://fonts.google.com/?category=Monospace
with the option to fall back to the old ones?
Also, could this be easily configurable?

I had only ever used the hosted versions of Google fonts so I wrote off this option for cases where there is no internet connection. However it does seem like you can download them - we can potentially package the application with a Google font rather than rely on native fonts that come with the OS.

Monospace, which we currently use, and Menlo, the proposed new default.

Menlo only applies for Macs, Consolas is the new proposed font for Windows.

On Wed, Jul 19, 2017 at 1:33 AM, Anthony DeBarros <adebarros(at)gmail(dot)com<mailto:adebarros(at)gmail(dot)com>> wrote:
I like it! I agree with the earlier poster that the line height could be decreased -- but not by much. Perhaps a pixel or two.

Yeah, something was bugging me about it too - I think it was the line height.

Yeah, line height is a little wonky now because we're working with two fonts with different x-heights. I'm looking into Google fonts now, it would be so great if both applications could rely on the same font.

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Devrim Gündüz 2017-07-19 14:59:15 Re: Cant browse servers after update to pgadmin 1.6 (server version)
Previous Message Gillian Walker 2017-07-19 14:29:36 RE: uninstalling pgadmin4 version 1.0