On Tue, 20 Apr 2021 11:15:01 -0400 Conrad Knight <iestynap...@gmail.com> said:
> > From: Carsten Haitzler <ras...@rasterman.com> > > enlightenment will set xft.dpi to 75 if scale is 1.0. it didn't set this > > before. efl itself always rendered fonts at 75dpi. it's compiled-in. > > scaling is not done by faking/changing dpi but by applying a scale factor. > > to make sure everything matches it now sets the dpi to 75 (multiplied by > > scale factor), thus you may need to set a different font size. > > I had been meaning to ask if there were any other changes (besides the > cursor scaling) that involved the scale factor. So are there changes > to dpi values to take into account, too? the flat theme has a lot more things marked to scale - it's much better adaptable for scaling. i will be polishing this up over time as i find things that don't scale right, so much more now scales that did before. dpi ONLY is a thing for gtk/qt as they think in dpi and require you fake a different dpi to scale things. efl doesn't think in dpi. it thinks in pixels and instead just uses a scale factor to scale. this 75 dpi simply aligns efl and other toolkits so that scale factor applies to everyone equally. you'll find font sizes now match between toolkits. > I've noticed that fonts in my Chrome window are now a bit smaller, and > my conky displays need tweaking (the spacings being affected by font > sizes?). Is the fix to just go through every program and change font > sizes if things look different? It's not universal... other windows i > have open right now (Firefox, Telegram, Terminology...) all look fine. e has font settings to apply generally. some apps will not care about them - some will. but by default e/efl has used Sans @ size 10. if you just increase scale factor so you are happy with sizes, then all is good. the problem is you are used to everything being broken because e didn't set xft.dpi correctly etc. before and so you got everyone doing their own thing. now its synchronised. chrome does seem to not play nice though in the scheme of things... it's the least well-behaved in various ways. > My display is 96 dpi, and i use a scale factor in E's settings of 1.2. > By what factor should i scale up font sizes in the now-distorted > programs? you possibly want a scale factor of 1.28 ... but that is not what matters. the dpi of your display is not important. it's what is comfortable for you. choose a scale factor that makes things size so you can see them nicely. that is all. dpi is something specific to needing something to be a physical size. e.g. draw something that is exactly 37.6mm long. dpi is otherwise not that useful. a desktop screen is further away from you than a laptop or tablet screen in general. a tv on the other side of the room is much further away. if you rendered just purely based on dpi it'd be unusable to render the same across all those screens. what matters is pixels per degree of vision so its a matter of dpi PLUS distance from you. there is no way for software to know the distance you are away so thus a simple scale factor to "make it nicely sized" is all that is needed. the important thing is same font, same size (e.g Sans 10) will render the same (or almost the same) pixels everywhere in all apps. if you enable custom font settings then e will also set this and apps that use xsettings for fonts will also use the same font at the same size. they will then all render the same pixels (or as close to is as they allow with hinting and what not - a whole topic on its own). > I've got cursor size and font size (in some programs). Are there any > other sizing surprises to watch out for in moving from E24? :) > > Thanks, > -Conrad. > > -- > Shine like thunder > Cry like rain > > > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- Carsten Haitzler - ras...@rasterman.com _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users