I know how it should look like, but it is not the way it works in GTK implementation. Size differs in browsers (they use 16 as base for 1em usually) and GTK.
On Tue, 2019-11-05 at 21:45 +0100, Nicolas Auffray 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