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?