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

Text inside bubble is blurred #117

Closed
renshaw1 opened this issue May 16, 2017 · 7 comments
Closed

Text inside bubble is blurred #117

renshaw1 opened this issue May 16, 2017 · 7 comments

Comments

@renshaw1
Copy link

Hey,

I love the library, but I have an issue: The text inside the bubble is never 100% sharp. This is observable in the Demo project as well.

Any ideas on how to fix this?
Thanks!

@andreamazz
Copy link
Owner

Hey @renshaw1
I've switched from the manual text rendering to a plain UILabel, this should fix the issue, and improve crossfading hen updating the text with the new update(text:) func

@renshaw1
Copy link
Author

Thanks for the response.
Are you talking about the latest version? I've updated it and it's still slightly blurred. I'm not updating the text, simply showing the popup with the show-function. Any idea perhaps? Thanks.

@andreamazz
Copy link
Owner

Mmh, doesn't look blurry to me, at least in the sample project.

@renshaw1
Copy link
Author

I hope you can see it on this screenshot, this is from my project:
http://imgur.com/yAIMOcB
You can see that the blue text of the bubble is blurred slightly compared to the font in the background. I'm using the standard popup here, without any customization...

@andreamazz
Copy link
Owner

I don't know if it's the compression, but even the status bar seems a little blurred.
Anyhoo, the text is displayed with a regular UILabel, so I'm not sure what could be causing it.

@andreamazz
Copy link
Owner

Just to be sure, can you set the same colors (background and text) used in the text below?
So it's easier to compare :)

@andreamazz
Copy link
Owner

Ok, I think I got it. Checkout the latest commit.
Basically the frame's values were floating values, I'm now forcing integers.

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