Message: previous - next
Month: December 2016

Re: two unique tdecmshell xserver instances at once possible?

From: deloptes <deloptes@...>
Date: Thu, 01 Dec 2016 22:08:05 +0100
Felix Miata wrote:

> OK, so lets see what might be learned from the screenshot (this is
> actually part of what the original exercise was/is about):
> A-an xterm was opened, and xdpyinfo reported the screen's apparent
> resolution and logical pixel density
> B-xrandr was used to change the current screen's logical pixel density
> while keeping the same resolution
> C-another xterm was opened, so that the impact of the xrandr command could
> be evaluated, in part by again using xdpyinfo
> Observations:

I would look into the documentation and code. We are not studying something
that is outside of our worl like natural science where we observe :)
This here is pure mathematics

> 1-image sizes in (what there is of) UI remained unchanged
> 2-text size in the window decoration (titlebar) remained unchanged
> 3-other elements of the window decorations also remained unchanged (e.g.
> titlebar height)
> 4-xdpyinfo reports logical density increased from 108 to 133
> 5-text size in the new/2nd xterm application instance increased
> Conclusions:
> a-Window decorations seem to be part of an already running process, so are
> unaffected.

correct - this is the window manager ( in my case twin)

> b-Icon sizes (probably all bitmaps here, so sized in px) may be
> unaffected, but we can't be sure they are not from an already running
> process, so can't know whether they've been sized in px or pt (or other)
I am not sure what you mean

"If your image is 72ppi (pixels per inch), then one point will equal exactly
one pixel. Point is a physical unit of length, used in typography. It's
equal to 1/12 Pica, and 1 Pica = 1/6 inch. So 1 pt = 1/72 inch."

"In applications, a point is exactly 1/72 inches."

> c-Server's logical density increase caused text size increase in the new
> application instance (text sized in "physical" units: pt)

this is true

> d-Nothing other than text size seems to have been changed

Have you tested anything else? 

> e-Other???
> f-An increase in DPI on session start, all else being equal, can be
> expected to cause an increase in text sizes, if not in other screen
> elements g-Use of tdecmshell would probably provide more useful
> information for my original purpose than does an xterm

If you change dpi and restart the window manager I would expect that icons
look different. Perhaps you can test that

> As an additional exercise, compare the following (from separate sessions
> using configurations differing only in configured DPI (xrandr in startup
> script)). Note that the titlebar's right side's icons are larger, but not
> the left's (Firefox) icon, and that nothing within the application's web
> content area seems differently sized (movies, images and most web text are
> sized in px):

Under look and feel -> fonts you can enforce the DPI