Blurry Dev C++ On Windows 10 - visual-c++

90% of the apps are displaying correctly sharp and clear as it's supposed to be on my uhd laptop screen. My scaling is 150% (as default also) (because of uhd screen in 15.6" laptop, 100% is too inefficient for my eyes.)
But dev c++ and some old softwares are looking blurry.
blurry dev c++
there is a fix on windows 10 settings named "advanced scaling" that is already enabled. is there any way to fix blurry dev c++ or do you recommend better up to date ide for c++ with compiler?
advanced scaling settings windows 10
(eclipse-cpp with mingw is slow,
clion is super but uses visual c++ compiler (i dont know if is there any setting for compiler,
microsoft visual c++ is good but showing some errors for nothing, actually says "no errors" than doesnt compiles for some time)

Right click on the Dev c++
Select “Properties” from the popup menu.
Click on “Compatibility” tab.
making the settings to manually fix fuzzy text in windows 10
Select “Override high DPI scaling behavior.
Select “System (Advanced)” not "System" or "Application" from the options provided in “Scaling performed by” section.
Click on “Apply” button and then on “OK.”
Fixed screenshot

There is a new version of Dev C++ compiled with the latest version of Delphi which supports high-DPI, Unicode, and Windows 10.
https://github.com/Embarcadero/Dev-Cpp/releases

Related

Some of fonts from pc not visible in android studio editor's setting

My operating system is windows. So in my PC there is one font called 'Ayuthaya.ttf' (that's not windows default font).
I want to use this font in android studio. But in font list from android studio settings I can't find that font.
But in IntelliJ's settings the font is visible. So how can I fix it?
This might be a little too late but in case someone encounters a similar problem.
If you are running Windows Build 1809 then a possible solution would be:
Delete your currently installed font.
Select the font or fonts (regular, light, etc...).
Right-click & select "Install for all users".
Restart Android Studio.
This happens because since build 1809 fonts are installed to:
C:\Users\\AppData\Local\Microsoft\Windows\Fonts
while before build 1809 they were installed to:
C:\Windows\Fonts
Okay so I've actually had this issue in the past, this kind of issue usually happens when you change the default font on Windows. For example, I changed my default windows font to "San Francisco" by Apple and it literally made everything on Android Studio unreadable.
To fix the issue, just change the default font on Windows. If you're having trouble changing the font then I can provide you with a script to change the font.

Text corruption in LLVM 7.0.1 installer

I have tried install llvm 7.0.1 on Windows 10.
But the installer has text corruption like below.
It make so harder to install.
How do I fix it?
I using Windows 10 1809, chcp is 65001.
I using Japanese.
I have enabled "Use Unicode UTF-8 for worldwide language support" in Region settings".
Is this change cause of the error?
But A installer of other application does not be text curruption.
Update:
The Picture of installer with compatibility mode (Windows XP SP3)
That LLVM installer is not a Unicode NSIS installer. The LLVM team can fix it by adding Unicode True to their NSIS script.
That LLVM installer looks like it supports multiple languages (I could not find it's source, it might be using CMake/Ninja) and NSIS does try to guess the correct language but this is based on the return value of GetUserDefaultUILanguage() and not the active codepage.
I could not replicate your issue on build 18290 (after changing to UTF-8 and rebooting I verified that GetACP() returns 65001) but this is probably because my system is detected as English by NSIS.
Based on the (N) in your Next button in your screenshot I'm going to guess that your UI language is detected as Chinese or Japanese?
Without more information about your system it is hard to guess if this is a bug in NSIS or Windows. NSIS is a relatively normal application and does not call MultiByteToWideChar on its interface strings (IIRC).
Edit:
By forcing a installer to pick Japanese I can replicate your issue. The solution for this issue is to switch your "language for non-Unicode programs" back to Japanese if you wish to install this application using Japanese as the display language. Another solution you can try is to set the locale for a single application. AppLocale was Microsoft's solution to this but it is not supported on Windows 10 but there are other alternatives out there.
When building a NSIS installer without Unicode support the program stores the text internally as raw bytes encoded with the codepage of the specific language. At run time it uses functions like SetWindowTextA to set the text of UI elements. This is how non-Unicode applications have worked since the dawn of time on Windows. All non-Unicode programs that display text outside the ASCII range will have the same issue unless they have been specifically written to support UTF-8 as the active codepage (which is unlikely since it is a new feature). This feature is only useful for console applications and ported POSIX applications that assume that the narrow string is UTF-8 encoded.
Too long for a comment.
UPDATE: Looking at this a little, I am wondering if the problem is a font corruption issue. There is a description of rebuilding the font cache here: http://www.trishtech.com/2013/11/rebuild-fonts-cache-windows-8/. I think you must install a good copy of the font file first though? You do that by copying the font files into the Fonts folders I believe. I will check with Anders what font NSIS uses.
Similar issue with an MSI file: Windows Installer ugly font rendering.
Compatibility Mode: Pretty sure that UTF8-setting would cause it. I don't think it would work, but the first thing I would try would be to run the executable in compatibility mode.
Locate the setup.exe in question.
Right click the EXE, hold right mouse button down, now drag to empty desktop area and release mouse button. Click "Create Shortcut Here".
Right click Shortcut => Properties => Compatibilty tab.
Try various combinations of "Run program in compatibility mode for..."
I would try "Windows XP" highest service pack first. Click OK when done.
Now double click the shortcut to launch the executable and see what happens.

Does VisualStudio provide a way to view textures?

I am creating a DirectX texture programatically and binding it to a shader. I would like to verify that the texture appears as expected. Does Visual Studio 2012 or some other tool provide a method of viewing a texture? I could render the thing but that will take a bit of work and if there's an existing solution I would prefer to use that.
In Visual Studio 2012 When using graphics debugger ( Main menu -> Debug -> Graphics -> Start Diagnostic ( Alt+F5) ), capture the frame (Print Screen), then in "Object table" choose your resource (SRV, UAV or buffer), on opened tab click link.
The only thing I doubt is in which editions graphics debugger avaliable.
NVIDIA Nsight has similar functionality, but it is not supporting VS 2012 yet. You can use v2.0 or v3.0 RC in VS 2010 if you have NVIDIA hardware.
AMD has its own toolset too, but I've never use it. You can try if you have AMD Radeon onboard.
And, as Robert J. stated, good old Microsoft PIX are also on duty.
If you don't want install old SDK, you can open its distributive and extract Utilities folder. Executable name is PIXWin.exe.

Disable animation in Visual Studio 2012

When I hit Ctrl-Tab, the "Active Tool Window/Files" pop-up animates into place. Its doing my head in. Unlike VS2005, there is no "Disable Animations" under Tools/Options/Environment, which is the only reference googling turns up.
Is there are way to disable this behavior?
So it turns out this has nothing to do with Visual Studio or Windows. It was a Parallels thing - I'm running VS2012 on a Mac.
http://forum.parallels.com/showthread.php?t=262509
Open Tools->Options->General
Uncheck "Automatically adjust visual experience based on client performance"
Uncheck "Enable rich client visual experience"
This toggles the Animations property value in C:\Users\myname\Documents\Visual Studio 2012\Settings\CurrentSettings.vssettings to false
It is no longer accessible but the setting still exists in the VS settings file. Close VS2012 first. Locate your settings file, mine is stored in C:\Users\myname\Documents\Visual Studio 2012\Settings\CurrentSettings.vssettings
Open the file with a text editor and search for "anim". There's an "AnimationSpeed" setting, mine is 5. And an "Animations" setting, mine is true. Try changing it to false, save and start VS again. Or tinker with the speed, my setting of "5" doesn't do anything that does my head in. So I don't really know how to test if changing these settings has any effect, but you'll quickly find out.
If you see no effect at all then tinker with the Windows animation settings.

No memory window in Visual Studio 2010

I have VS2010 Premium RTM version on Windows 7 Ultimate x64.
In the documentation they refer to the Memory 1-4 windows, supposedly under Debug->Windows->Memory.
I have "Enable address-level debugging" enabled in VS (Options->Debugging).
The problem is that I have no Memory menu item under Debug->Windows during debug of a c++ program.
Under Debug->Windows I have only:
Breakpoints
Parallel Tasks
Parallel Stacks
Watch ->
Locals
Call Stack
Threads
Have anyone else experienced this (and hopefully solved it)?
During the first run of VS after installation it asks you which "mode" it should run in, depending on your selection it shows or hides various menu items etc. Maybe you selected an option that hid those windows? This is described at this page.
I think you can use the information on this page to change those settings.
You might also be able to just run Devenv /ResetSettings to reset them, but not sure exactly what you'd end up with then...
Go to command Window and type in memory. It will show the Memory 1 watch window. I had to do that because I still can't find the debug command for it under customize even.
You can switch to expert mode by checking :
Tools > Settings > Expert Settings
Now you can show up Registers Window and much more other windows
The Memory window is available only if address-level debugging is enabled in the Options dialog box, Debugging node. The Memory window is not available for Script or SQL, which are languages that do not recognize the concept of memory.
or go here for other details:
http://msdn.microsoft.com/en-us/library/s3aw423e.aspx

Resources