Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad rendering on FMX project with DPI 125 #271

Open
gdacunto opened this issue Feb 20, 2024 · 5 comments
Open

Bad rendering on FMX project with DPI 125 #271

gdacunto opened this issue Feb 20, 2024 · 5 comments

Comments

@gdacunto
Copy link

Hi,
a TSvgIconImage on Delphi 12 FMX (using Angus engine) doesn't render properly with DPI set to 125%.
See the attached screens.

Thanks

100
125
banner-default

@gdacunto
Copy link
Author

I've noticed that the issue is also visible in the FMX Ide design editor if the screen is set to 125%.

@carloBarazzetta
Copy link
Contributor

Do you have the same problem in "runtime"?

@gdacunto
Copy link
Author

Yes, the two screens in the first message are at runtime.
Now I'm trying to play with TsvgIconImage.BitmapZoom value but I don't know if this is the right approach.
Removing the checks that avoid to set a zoom >= 100, in case of DPI 125, setting the BitmapZoom at 125 make the svg show fine at runtime.
I've also noticed that setting "DisableInterpolation" to False resolve the issue at Design Editor but not at runtime.

@gdacunto
Copy link
Author

Hi!
Do you have any news about it?

Thanks

@carloBarazzetta
Copy link
Contributor

Sorry but at the moment I don't have much time to solve the problem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants