The reason macOS users complain is because it is standard on macOS to
not scale anything to screen's DPI. DPI is assumed constant (either 72,
or 96, I'm not sure). When I originally ported darktable to macOS I
introduced a code that detects actual monitor DPI and applies it, which
results in darktable looking differently from all other applications.
It might have been a wrong choice, and it can be easily reverted. But
on macOS systems where I checked darktable it looked fine to me, not
oversized. And IMHO scaling UI so that physical size of the font
doesn't depend on connected monitor (like it's done in Linux) makes more
sense than macOS approach.
Anyway, to better understand the problem the following information is
required: monitor resolution and physical dimensions, DPI that
darktable auto-detects (printed when run with "-d control" command line
option).


On Tue, 5 Nov 2019 21:45:55 +0100
Nicolas Auffray <nicolas.auff...@zaclys.net> wrote:

> em size and how it works is not related to GTK but a standard usage on 
> screen rendering. So all apps, system should use this standard thing. 
> It's noted for example on CSS standard W3C page : 
> https://www.w3.org/Style/Examples/007/units.en.html
> 
> Anyway, it seems as Aurelien precise it, that some systems/configuration 
> applied a default dpi not too standard that change that. So quite 
> difficult to find that if any people who develop darktable have these 
> specific systems. So, in other dpi standard screen (if I remember well, 
> default dpi is 72dpi), the 1em=1.333px is no more avalaible, making the 
> font size acting differently...
> 
> 
> Le 05/11/2019 à 20:54, Timur Irikovich Davletshin a écrit :
> > On Tue, 2019-11-05 at 20:47 +0100, Aurélien Pierre wrote:  
> >> Setting font size to 1em should tell GTK to use the default OS font
> >> size, no matter its value.  
> > Size doesn't match default OS settings (Debian 10 default installation)
> > on 3 displays I tried (2 low-dpi, 1 high-dpi). Do you have link on GTK
> > documentation which says that 1em equals default size? I'd be glad to
> > know logic behind it.
> >
> > Thank you in advance,
> >
> > Timur.
> >
> > ___________________________________________________________________________
> > darktable developer mailing list
> > to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
> >  
> 
> ___________________________________________________________________________
> darktable developer mailing list
> to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
> 
> 
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to