How to fix text size issues (DPI)?

Frequently Asked Questions about WYSIWYG Web Builder
Locked
User avatar
Pablo
 
Posts: 18044
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

How to fix text size issues (DPI)?

Post by Pablo » Sun Aug 04, 2019 8:11 am

Many modern computers have high resolution displays. This means more pixels per inch (PPI). In other words, you can be closer to the monitor and still enjoy a crisp, clear picture.
Using an high resolution display also means that text will be smaller on the screen so it's harder to read.
To make sure you can still read the text and other user interface items (like icons), Windows has an option to scale the text in percentages.
This a a global setting, which basically tells all applications they should render text larger. However, this only affects application that are 'high dpi aware'.
For applications that are not DPI aware the entire display will just be scaled up by Windows, in this case the application may look 'fussy' (unsharp).

WYSIWYG Web Builder can also be configured to be High DPI aware, so it automatically scales the user interface and text according to the DPI settings.
To enable High DPI support go to Tools -> Options -> User Interface and then restart the software.

Image

The reason why this is not enabled by default is because if projects were not saved with this option enabled (in previous versions of the software) then this may have impact of the text size of web pages.


Advanced scaling settings
Even when you enable high dpi support, sometimes the text size may still be different than when you preview or publish the page.
This usually is caused by compatibility settings of the application (in Windows) which can override high dpi behavior.

Image

You can read more about advanced scaling settings here:
https://www.windowscentral.com/how-chan ... 018-update


Direct2D
If you are using Wb15 and still have issues with text then it's possible that your computer does not fully support Direct2D.
In that case you can disable Direct2D for text rendering:

1. open regedit.exe
2. Go to HKEY_CURRENT_USER\Software\Pablo Software Solutions\WYSIWYG Web Builder 15\Settings
3. Add 'EnableD2D' (DWORD) and set the value to '0'
4. restart WWB.

Image

Locked