|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Procedure for submitting patches and testing on all platforms » » » » Post: Re: Procedure for submitting patches and testing on all platforms |
Print at Dec 18, 2025, 6:06:51 PM |
| Posted by fcaponi78 at Oct 24, 2015, 8:22:16 PM |
|
Re: Procedure for submitting patches and testing on all platforms Dear Emannuelle, first of all many thanks for sharing this awesome project! I absolutely agree with you that my patches requires an adeguate testing phase since i have verified the behaviour only on windows 10 and windows 7. That's why I asked how to proceed, because I never contributed before on a sourceforge project. Regarding the problem, i already wrote a comment on the ticket, because the problem is not in the fonts (that are correctly scaled in almost all the UI) but in images that are bundled with software (16 pixel of height). I don't know how MacOS manage this scaling automatically, i would be curious to see how it behaves, because in other development languages you need to include different versions of the same image, one for low dpi, one for hdpi and so on. My patch simply add a static method on the OperatingSystem class "getDpiFactor()" (so we can centrally return 1.0 in case of MacOs if the scaling of images is not needed) and then this factor is used to resize some elements of the UI, basically images, row heights and so on. I would like to attach some screenshots in order to clarify the problem, but it seems disabled on this forum. |
|
|
Current timezone is GMT Dec 18, 2025, 6:06:51 PM |