Code::Blocks Forums

User forums => Help => Topic started by: Giovanni62 on November 07, 2020, 09:14:05 pm

Title: Editor: spiral binding effect
Post by: Giovanni62 on November 07, 2020, 09:14:05 pm
Is it possible to eliminate the "spiral binding" effect?
https://www.dropbox.com/s/f64dethkltb4q9f/Schermata%20del%202020-11-07%2021-04-36.png?dl=0 (https://www.dropbox.com/s/f64dethkltb4q9f/Schermata%20del%202020-11-07%2021-04-36.png?dl=0)
Title: Re: Editor: spiral binding effect
Post by: BlueHazzard on November 07, 2020, 10:21:33 pm
Operating system?
I think there is a forum thread, with exact the same problem. I think there was a solution....
Title: Re: Editor: spiral binding effect
Post by: oBFusCATed on November 07, 2020, 10:23:10 pm
There isn't. Someone should debug why this happens.

Giovanni62: What is your OS and DPI?
Title: Re: Editor: spiral binding effect
Post by: Giovanni62 on November 07, 2020, 11:47:13 pm
My OS is Ubuntu 20.04 - Monitor 4K - 96x96 dots per inch
Title: Re: Editor: spiral binding effect
Post by: harrismh777 on November 08, 2020, 01:27:33 am
 ;D   ... too funny
Title: Re: Editor: spiral binding effect
Post by: BlueHazzard on November 11, 2020, 01:42:37 pm
Quote
My OS is Ubuntu 20.04 - Monitor 4K - 96x96 dots per inch
Sadly i don't have any HighDPI system, so i can not reproduce this...
Title: Re: Editor: spiral binding effect
Post by: oBFusCATed on November 11, 2020, 05:11:51 pm
My OS is Ubuntu 20.04 - Monitor 4K - 96x96 dots per inch
What is the physical size of this monitor? 96x96 is low/normal dpi monitor. What is the value of the GTK scaling setting?
Title: Re: Editor: spiral binding effect
Post by: Giovanni62 on November 16, 2020, 07:29:39 pm
My OS is Ubuntu 20.04 - Monitor 4K - 96x96 dots per inch
Quote
What is the physical size of this monitor? 96x96 is low/normal dpi monitor. What is the value of the GTK scaling setting?

My monitor is LG 32UL750-WA

I set the dots per inch to 192 in .Xresources

Code
Xft.dpi:       192

and set the scale factor to 200%

Nothing has changed!

Title: Re: Editor: spiral binding effect
Post by: oBFusCATed on November 17, 2020, 01:03:14 am
Ubuntu 20.04 uses wxgtk based on Gtk3. You have to setup GTK3 to have 2.0 scaling. If you can do it this should work fine in C::B, too. You have to restart C::B for settings to take effect. Also a logout-login might be required.

p.s. 4k on 32 inch is not 192 dpi...
Title: Re: Editor: spiral binding effect
Post by: Giovanni62 on November 17, 2020, 10:30:51 am
Ubuntu 20.04 uses wxgtk based on Gtk3. You have to setup GTK3 to have 2.0 scaling. If you can do it this should work fine in C::B, too. You have to restart C::B for settings to take effect. Also a logout-login might be required.

p.s. 4k on 32 inch is not 192 dpi...

I set
Code
Xfi.dpi:   138


Is it right?
Title: Re: Editor: spiral binding effect
Post by: Giovanni62 on November 17, 2020, 10:32:05 am
Quote
You have to setup GTK3 to have 2.0 scaling.
How you do it?

Title: Re: Editor: spiral binding effect
Post by: oBFusCATed on November 17, 2020, 10:58:40 am
https://wiki.archlinux.org/index.php/HiDPI
Title: Re: Editor: spiral binding effect
Post by: Giovanni62 on November 17, 2020, 01:13:03 pm
Don’t work
Title: Re: Editor: spiral binding effect
Post by: oBFusCATed on November 17, 2020, 08:02:13 pm
What is not working?
The artefact on your image in the first post would be present if the scaling factor is bigger than 1.0.
So, if you see the artefact then you're definitely running in HiDPI mode.
Title: Re: Editor: spiral binding effect
Post by: Giovanni62 on November 18, 2020, 06:46:51 am
What is not working?

Any test I have done has not given a good result

Quote
The artefact on your image in the first post would be present if the scaling factor is bigger than 1.0.
So, if you see the artefact then you're definitely running in HiDPI mode.

Yes, it is.