issue-#136 Enlarge sizes of emebbeded views for About dialog

User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#136 Enlarge sizes of emebbeded views for About di

Post by Josef Templ »

Robert wrote: I have also noticed (I think) that changing the color of part of a word sometimes causes this 1 pixel shift of some letters.
I would expect this behavior if subpixel rendering is activated.

- Josef
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#136 Enlarge sizes of emebbeded views for About di

Post by Ivan Denisov »

I think that we can discuss this TrueType topic later. Here is the fix and this issue is ready for voting.
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

Re: issue-#136 Enlarge sizes of emebbeded views for About di

Post by DGDanforth »

Ivan Denisov wrote:I think that we can discuss this TrueType topic later. Here is the fix and this issue is ready for voting.
Clicking on link does nothing for me (no response).
Do we have a diffs file?
-Doug
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#136 Enlarge sizes of emebbeded views for About di

Post by Ivan Denisov »

Doug, the diff file will show nothing, because no single line of sources has been changed.

There is test version for you can check that the links works well.
http://blackboxframework.org/unstable/i ... a1.710.zip
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#136 Enlarge sizes of emebbeded views for About di

Post by Josef Templ »

Josef Templ wrote:In the About dialog, does it make a difference if the True Type option is
activated? On my display it shifts the text slightly, maybe 1 pixel but
everything is still visible.
On the big displays mentioned by Ivan, does it make a difference there?
- Josef
Could anybody answer this question?
As far as I see, we still don't understand what is going on here.

Making the views larger works around the problem but it is not an
explanation of the underlying problem.

Is it possible that there is a font substitution taking place, I mean that
the requested font is not available and is replaced by a different font that has
a different metric?

- Josef
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

Re: issue-#136 Enlarge sizes of emebbeded views for About di

Post by DGDanforth »

I am running on Windows 10 and the about box looks fine.
It does shift slightly when true type is toggled on and off
as Josef said.

I have an HP computer with 15" display (diagonal)
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#136 Enlarge sizes of emebbeded views for About di

Post by Ivan Denisov »

Josef Templ wrote:Is it possible that there is a font substitution taking place, I mean that
the requested font is not available and is replaced by a different font that has
a different metric?
I checked this hypothesis, there is Arial everywhere. So this is not the problem of fonts substitution.
Attachments
arial.png
Zinn
Posts: 476
Joined: Tue Mar 25, 2014 5:56 pm
Location: Frankfurt am Main
Contact:

Re: About Blackbox

Post by Zinn »

Ivan Denisov wrote:The problem exists in WIndows 10 because of scale factor. If you set scale factor to 100% there will not be any problem.
That is right.
Ivan Denisov wrote:We can enlarge the embedded view size a bit for preventing this problem with scale factor.
I don't know how Ivan change the view size in the About dialog. When I changed the view size the display still was cut.

Similar problems I have with forms, but there it works when I enlarge the view.
Different scale factors get different results. That is the problem.
- Helmut
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: About Blackbox

Post by Ivan Denisov »

Zinn wrote:I don't know how Ivan change the view size in the About dialog. When I changed the view size the display still was cut.
There are several level of embedded views. I opened the view with popup menu, then switched to edit mode and enlarge the views sizes. Then save and close this aux window.
Attachments
open.png
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: About Blackbox

Post by Josef Templ »

Zinn wrote:
Ivan Denisov wrote:The problem exists in WIndows 10 because of scale factor. If you set scale factor to 100% there will not be any problem.
That is right.
Ivan Denisov wrote:We can enlarge the embedded view size a bit for preventing this problem with scale factor.
I don't know how Ivan change the view size in the About dialog. When I changed the view size the display still was cut.

Similar problems I have with forms, but there it works when I enlarge the view.
Different scale factors get different results. That is the problem.
- Helmut
I cannot reproduce this problem in Windows 10.
I used a scaling of 100%, 200%, 225%, 288%, 300%, no problem.
I assume that you are talking about the DPI scaling factor under display settings, right?
I havn't found any other setting.

- Josef
Post Reply