-
Notifications
You must be signed in to change notification settings - Fork 45
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
MSDF Fonts bugged on Android? #194
Comments
Looks like a general shader-related issue. What version are you using? What device are you testing on? What version of GM are you using? Are you seeing any compile errors in your debug log? What do you mean by "at some point stop drawing"? |
Hi Juju, thank you for getting back to me so fast. I tested with Scribble version 7.1.1 What I mean by "at some point stop drawing", is that I try to draw exactly the same strings on all 4 lines, both on windows and on android, and it looks like on android that the strings are cut off after the 16th character, the strings should be drawn to the edge and out of the screen as on the windows example. The first two strings are cut off at the "c" from could, and the the last two after the space from MSDF, but before the "font", looks weird on this string because it is cutting off right at the space I guess. |
Hmm... that's a bit concerning. That sounds like a vertex format issue which might not be solvable my end in a timely fashion. I'll look into this this week. |
Thank you for looking in to this. I do not know if this matters, but I also tested on an old Nexus 4 phone with Android 5.1.1 with the same result, I have not tested on an iPhone yet, I could do that too if you like that? |
Testing on an iPhone would be helpful, yep. |
No problem, I just tested it with an actual iPhone 5s and a virtual machine iPhone 12Pro, and both had exactly the same result as on android and shown in the picture. |
Interesting, because I'm using Scribble for a commercial project and we regularly test on multiple iPhones (including a 5S) and have seen no issues whatsoever. This makes me think there's something else going on. Could you package up your project (.zip the entire project directory, don't use .yyz just in case there's some sort of asset config issue that export/import might fix) and send it to me please? |
Interesting, I cleaned up the project and tried to make it as simple as possible but still the same, I have added it as a zip. |
Thanks, I'll take a quick look now |
OH! Duh, I had to build a workaround for MSDF fonts in the commercial project because shader derivatives (which is what MSDF relies upon) aren't supported cross-platform by GM's GLSL ES version. Anyway, this is a known issue. I'm going to look into it this week along with some other bugs. |
(Existing bug: #176) |
Hi first thank you for an amazing tool :)
I ran in to an issue with MSDF fonts on Android, on windows they look great, on android they look like in the atlas file, and at some point stop drawing.
Have I overlooked something or is this a bug?
I have added a test pictures with windows(correct) and android(bugged).
Sincerely
The text was updated successfully, but these errors were encountered: