Font problems after changing the computer

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Font problems after changing the computer

Post by KIRK »

Font display problems after changing the computer
After changing the computer (Win10, 3K, 2880 x 1620, Display Setting 175%, WWB Zoom Level 175%), fonts are no longer displayed correctly in my WWB projects.
I've already tried the following:

* high DPI settings enabled
* enable Direct2d
* changing the High DPI settings for the application in Win10

Unfortunately none of this worked. Where is my mistake? What else can I do. It affects all of my projects.
I am also looking forward to your support.

KIRK

Here are some examples:

Image

Image
User avatar
BaconFries
 
 
Posts: 5621
Joined: Thu Aug 16, 2007 7:32 pm

Re: Font problems after changing the computer

Post by BaconFries »

Did you restart you PC and the software after the changes?
See the following:
https://www.wysiwygwebbuilder.com/forum ... 10&t=85917
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Yes, I don't know how often anymore ...

What I didn't do is turn Direct2D off via the registry. Only via WWB ...
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

I am pretty sure this is related to the DPI configuration or Direct2D. I cannot think of anything else.
User avatar
BaconFries
 
 
Posts: 5621
Joined: Thu Aug 16, 2007 7:32 pm

Re: Font problems after changing the computer

Post by BaconFries »

Do you still have the old PC if you have can you check the DPI settings and then try these on your new PC
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Thank you for your quick support. Unfortunately I don't get any further. I've tried all the settings.

100% was set on the old computer (1650 x 1050). If I also set 100% on the new computer, it looks pretty good, but e.g. the font Roboto light is also shown a little differently (see picture). Unfortunately, however, you can't work with 100% at 2880 x 1620 - it's just too small.

As soon as I set more than 100%, it no longer fits (spacing too large, fonts too thick etc.) - regardless of what I set at WWB (High DPI Settings, Direct2D, Zoom level, etc.). The settings in WIN (changing High DPI) do not change anything either. After each change, I restarted the computer. I have already reinstalled WWB.

No problem with other apps such as Affinity (Designer, Publisher etc.).

What can that be? I am grateful for any support.

Image
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

Did you install all fonts on the new computer?
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

I guess so. The fonts used in the test projects should definitely be installed.
User avatar
BaconFries
 
 
Posts: 5621
Joined: Thu Aug 16, 2007 7:32 pm

Re: Font problems after changing the computer

Post by BaconFries »

After changing the computer
As Pablo's question did you reinstall the fonts on the "New" PC they are not part of the project but need to be reinstalled on the PC so that the software can use them!
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Yes, the fonts are new installed and they are also displayed in WWB.
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

I am still pretty sure this is related to the DPI. There has never been another reason for this behavior.

1. First make sure High DPI support is enabled in WWB.
2. Set all Windows DPI settings in the application's properties to default.
3. restart the application.

If that does not solve the problem then one by one try the application's DPI option.
Image

Each change requires a restart of the application.

It is important to note that text is rendered by Windows based on the DPI settings.
From the application's point of view the text is always rendered the same way.
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Many thanks for your tireless support.

I have just followed these steps again. No change.

But I also tested further. Could it be a problem with the fonts? If I click a text box, change the font to another one, and then go back to the original font, everything shows up correctly. However, I have to do this for each text field. Which would be a hard work for all projects.

Unfortunately, it's not that "easy" with the projects where I work with styles. If I change the font in the text field it fits, go I back to the style, it no longer fits - but I need the style for the different breakpoints.

It looks like only text with line spacing is affected (e.g. navigation or footer is not a problem).
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

This sounds more like a Direct2D issue. For example a video card driver issue.
Did you also try to disable direct2d for text?
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

OK. The video card drivers are up to date (according to the Lenovo website).

Where can I disable direct2d for text? Sorry, I am not very familiar with.
User avatar
BaconFries
 
 
Posts: 5621
Joined: Thu Aug 16, 2007 7:32 pm

Re: Font problems after changing the computer

Post by BaconFries »

Where can I disable direct2d for text?
Uncheck Enable Direct2D rich text rendering in Tools-> Options-> User Interface
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Sorry, you mean in WWB. I thought there was another possibility. Also tried again. Of course with a restart of WWB. Nothing changes.

Image
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

Are you sure nothing changes?
It should have impact on the way your text is displayed.
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Hello Pablo, you are right! It looks like the settings are working. But only for projects in which I haven't worked with text styles. If styles with line spacing (!) are used, the line spacing is incorrect. It seems to work without line spacing. I still tried a lot and took some pictures of it. After every change, the PC was completely restarted.

The last image is a comparison I just made on the new PC. Here you can also see the different distances between the lines (with and without style). I created the same on the old PC. There are no differences between Style and NonStyle.

Image

Image

Image

Image
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

Are you sure 'Enable Direct2d rich text rendering' is OFF?
I cannot think of anything else that will affects the text.

Or maybe the used font is corrupt?
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Here are images of newly created examples with the following settings:
Enable High DPI Support is on
Direct2D is off
High DPI scaling for the application is on (tried also with off)

The first image: Now with two different fonts (Arial and Verdana). Non Style and Style with Line Spacing 1.3. The same behavior for both fonts if there is line spacing in the text style.

The second image: Non Style and Text Style without line spacing.

Can two standard fonts be corrupt? It also affects other fonts in the projects

Image



Image
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

Do you have a demo project?
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Here you can find the demo from above: Example

Is there enough?
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

I need the project file (wbs).

See also:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Sorry. Forgot. Is now uploaded. Link above.
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

What is the URL of the project file?
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Link to the project file:

WBS
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

Thanks for the demo.

The definition of the styles is not correct. The 'line-height' attribute is missing in 'custom styles'

Please see this related tutorial:
"Using Line Spacing in Styles"
https://wysiwygwebbuilder.com/style_manager.html
KIRK
 
 
Posts: 41
Joined: Fri Jul 08, 2016 3:51 pm

Re: Font problems after changing the computer

Post by KIRK »

Sorry, what a stupid mistake.

Thank you for your patience and help. Hopefully I'm slowly getting the right settings together.

Another problem was that I used a font in the test projects that doesn't seem to be compatible with LineSpacing settings. No matter what settings I made, the font did not react the way it should. I have now solved the problem without LineSpacing, but with Line Height settings.

If Direct2D is disabled, the cursor moves under the text line when editing. If I switch on Direct2D, the cursor is back in the text line. However, this only applies to old projects?

If I want to use line spacing in headings, do I also enter this in the style under Custom Styles, (display: inline;)?
Thanks again!
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Font problems after changing the computer

Post by Pablo »

Unfortunately, some fonts are not compatible with Direct2D. I have no control over this.
Text is rendered by Windows. From the application's point of view all fonts are processed the same way.

Yes, display: inline should be included otherwise the browser will make it a block element.
Post Reply