EzDevInfo.com

dpi interview questions

Top dpi frequently asked interview questions

How can I change the system font size in OS X?

I'm using a Mac Mini on big flat-screen TV for playing media. The small font size is really annoying when sitting far away. Is there a way to increase the system font size in OS X?


Source: (StackOverflow)

why is 1 inch in computer screen shorter than 1 inch in real?

My LCD Monitor is 22 inch ViewSonic, windows resolution screen is default 96 DPI. I realize that 1 inch in computer does not fit to 1 inch in real. My LCD Screen Resolution is 1680 x 1050, so the diagonal measurement is root of (1680^2 + 1050^2) = 1981 pixel. So I think the resolution (dpi) of system should be 1981 / 22 = 90 DPI instead of 96 dpi. Why windows OS always set resolution 96 dpi for all LCD monitor?


Source: (StackOverflow)

Advertisements

Set DPI of individual applications in Windows

Is it possible to set the DPI of individual applications in Windows?

I want to increase the DPI of one or more applications but not the entire system.

Can this be done?


Source: (StackOverflow)

How to make Firefox 22 to do not scale?

After auto update to Mozilla Firefox version 22, icons are blured and fonts are scaled (so it looks big). It seems that it starts using the system DPI. How to revert this feature to keep Firefox raster icons unblured? (To scale web pages I am already using NoSquint addon.)


Source: (StackOverflow)

Change DPI on OSX

How do I change DPI setting on OSX so that everything looks larger? Lowering the resolution makes everything look crappy so it's not an option.

Related question: DPI setting on OSX


Source: (StackOverflow)

Fix too high DPI causing extremely large text and graphics in desktop mode (but not in Modern UI) on a Windows 8.1 tablet

I have an HP stream 7. Resolution in metro looks perfect, but desktop mode is so low that I cannot change any settings.

Please look at the screenshots. Any idea on how to fix it?

enter image description here


Source: (StackOverflow)

XRandR DPI on multihead linux

I have multiple screens with different correct DPI settings. I can use xrandr --dpi X to change DPI for all screens, is it possible to set different DPI for each screen? How do I make apps recalculate font sizes when they are moved to a different screen? xrandr --dpi X only affects new windows, old windows still use the old DPI value.


Source: (StackOverflow)

Windows 10 Font blurry 125% scaling

It's kind of hard to read sometimes so I have scaling set to 125% on 1920x1080 resolution. ClearType doesn't fix this I tried turning it on and off. Everything looks great and fine (Explorer, Firefox...), except some things. See here:

Link to full-sized image

Same issue in Computer Management for example. However in 100% scaling it looks like there's no issues.


Source: (StackOverflow)

Use Remote Desktop with custom DPI

How can I change (increase) the DPI of a remote desktop session?

I am using two Windows 7 PC - both are already set to 125% on Control Panel/Display/Make it easier to read.

Yet when I open a Remote Desktop from one machine to the other the remote desktop is displayed at 100% (tiny).

How can I have the Remote Desktop displayed at 125%?


Source: (StackOverflow)

How to setup custom DPI below 100% on Windows 7?

In another words, how to make fonts get smaller than the default on native LCD resolution?


Source: (StackOverflow)

How can I find out the screen resolution and dpi on my mac book pro?

Can you please tell me how can I find out the screen resolution and dpi for the screen on my Macbook Pro? (I got it last year, 2009.)


Source: (StackOverflow)

Dual monitors on Windows - How do I set a different DPI or text size on each monitor?

My laptop is a 15" wide screen running at 1600x1050, and in addition to that I connect an external 19" LCD which runs at 1280x1024. The problem with this setup is that if I increase the text size to make the laptop screen readable, the text on the external LCD is huge. Normal text on the LCD results in tiny text on the laptop.

What options do I have to get around this?


Source: (StackOverflow)

How to force high-dpi scaling?

How can i force an application to be high-dpi scaled?

  • Pretend there is an application, who's developers manifested it as high-dpi aware, when it really isn't. How can i force dpi-scaling?

  • Pretend there is an applicaiton that Microsoft has applied the "HighDpiAware" compatiblity shim, when the application really isn't. How can i force dpi-scaling?

How can i force Windows to apply dpi-scaling to an application?


Edit: What is high-dpi scaling?

Not all users run Windows at 96dpi. Not every button is supposed to be 75x23 pixels, not every toolbar is 25pixels high, and not every treeview glyph is 16x16. If the user has chosen a different dpi setting for Windows, you need to scale everything appropriately.

Problem is that almost no developers do their job by handling high-dpi settings nicely. At best everything will stay "the same size", which means that every appears teeny tiny. At worst forms are incorrectly laid out, with text being clipped, and controls not visible.

Starting with Windows Vista, and leveraging the power of Desktop Composition, Microsoft gave up on developers doing their job, and now lie to application. They tell apps that the user is running at 96dpi. Windows then uses the video card, and Desktop Composition, to scale up the forms.

Pro: the form's content will be a nice readable size.
Con: everything will be slightly fuzzy.

This "high-dpi scaling" feature only works at the user's discretion, and requires:

  • Windows Vista or newer
  • Desktop Composition to be enabled
  • the user to turn off "Use Windows XP style scaling"
  • the user to not disable scaling for your application

As a developer, you can opt out of the high-dpi scaling; if you took the effort to write your application properly, and you know that you'll handle high-dpi properly. You opt out of this scaling by adding a manifest entry to your executable, declaring that you are "high-dpi aware".

The topic of how to make your application respect the user's preferences (including font face, font size, and dpi setting) is a question for stack overflow. As is the syntax for the manifest entry declaring your "high-dpi awareness".

This question, on super-user, is how to ignore a developer who went ahead and added a high-dpi aware manifest entry, when in fact the application isn't high-dpi aware. They told Windows to disable scaling, but they didn't actually test the application. There is software out there with a "high-dpi aware" manifest entry, and now the application is unusable under "large fonts" (e.g. 120dpi).


Source: (StackOverflow)

What is the downside to Windows XP style DPI scaling in Windows 7

I recently just moved to Windows 7 and I noticed that many of my older third-party apps didn't look so good at the high DPI I had set (150dpi versus the typical 96dpi). After searching the web for ways to get my apps to look good again, I stumbled upon the "Windows XP style DPI scaling" option. I enabled it and suddenly the apps looked good again.

While I'm happy, I'm also suspicious. What did I lose by enabling this feature?

Could someone explain to me the differences in how the screen is rendered with and without this feature, or explain the trade offs of using it?


Source: (StackOverflow)

Why is my text size so small after changing my screen magnification to 125% and back?

I recently changed my screen magnification to "Medium - 125%" in Control Panel -> Appearance and Personalization -> Display, to test it out. I logged out and logged back in, and it worked. I didn't like it, so I changed the setting back to the default value of "Smaller - 100%". I logged out and logged back in again.

Now, my DPI seems broken. My taskbar seems to have the correct height, windows are the right size, and so on. However, my text font is much smaller than it used to be. The text in the title bars of programs, text in right-click menus, and a lot of text within program windows is much smaller than it used to be. Logging out and restarting my computer does nothing to help the issue.

I have checked the LogPixels value in the registry, and it is set to 96. What's the problem? How can I fix this?


Source: (StackOverflow)