Page 3 of 5

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

Posted: Wed Oct 26, 2016 6:22 am
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

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

Posted: Mon Oct 31, 2016 4:03 am
by Ivan Denisov
I think that we can discuss this TrueType topic later. Here is the fix and this issue is ready for voting.

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

Posted: Mon Oct 31, 2016 6:53 am
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

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

Posted: Tue Nov 01, 2016 3:36 am
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

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

Posted: Tue Nov 01, 2016 6:49 pm
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

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

Posted: Wed Nov 02, 2016 12:29 am
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)

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

Posted: Wed Nov 02, 2016 1:23 am
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.

Re: About Blackbox

Posted: Wed Nov 02, 2016 7:28 am
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

Re: About Blackbox

Posted: Wed Nov 02, 2016 7:41 am
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.

Re: About Blackbox

Posted: Wed Nov 02, 2016 1:08 pm
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