Closed edTheGuy00 closed 4 years ago
I have no idea of where it could come from.
Maybe manually set the flutter.ForcePixelRatio(2.0)
option ?
https://github.com/go-flutter-desktop/go-flutter/wiki/Options
@pchampio Whatever value I set, the Release build is still noticeable larger and pixelated compared the Debug version. Might it be related with this PR? https://github.com/go-flutter-desktop/go-flutter/pull/458
@edTheGuy00 not its not related, ForcePixelRatio
overwrite the logic in #458
the Release build is still noticeable larger and pixelated compared the Debug version.
Wait, this is not the same as
But this is how (larger and pixelated) it comes out with hover build darwin-dmg or hover build darwin-dmg --debug Screen Shot 2563-10-26 at 10 03 29
Do you have the issue with: hover build darwin-dmg --debug
??
@pchampio both hover build darwin-dmg
and hover build darwin-dmg --debug
have the same result.
The other thing I noticed is that even the text on the Title Bar comes out pixelated, including close, minimize and expand buttons
hover run
hover build darwin-dmg
and hover build darwin-dmg --debug
Using hover build darwin --debug
(No dmg packing!) can you and execute the program using ./go/build/outputs/darwin/{your_app}
and check if you have the same result ?
Using
hover build darwin --debug
(No dmg packing!) can you and execute the program using./go/build/outputs/darwin/{your_app}
and check if you have the same result ?
Yea, this works, it looks normal (not enlarged and pixelated)
Then the issue comes from the dmg packaging. @jld3103 do you have any idea ?
Maybe related to: https://discussion.evernote.com/forums/topic/117526-ragged-text-resolution-in-latest-update/ https://eshop.macsales.com/blog/46527-is-macos-mojave-making-some-fonts-blurry-heres-how-to-fix-it/
I have no Idea...
Could this be the same? https://github.com/IJHack/QtPass/issues/355#issuecomment-374162323
To try if it fixes it put
<key>NSPrincipalClass</key>
<string>NSApplication</string>
into the Info.plist
dict.
You can try adding
<key>NSHighResolutionCapable</key>
<string>True</string>
too.
@pchampio @jld3103 Ok, adding
<key>NSPrincipalClass</key>
<string>NSApplication</string>
Fixes the issue.
Great. I'll add it to the standard template
I'm not sure if this is an issue with Flutter itself or Hover, The only issues I found are related to the web and Chrome 32274, 58159. So far it appears to be only on macOS, but I will double check on Windows
This is how my text looks like when running just
hover run
But this is how it comes out with
hover build darwin-dmg
orhover build darwin-dmg --debug
Hover doctor