-
Notifications
You must be signed in to change notification settings - Fork 99
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
Ingame Text is broken (Mac) #508
Comments
its because some had the bright idea to put the text into unicode. Which broke it pretty much. Because its not broken in Win7 but it looks horrid. |
Yea, lowercase chars are not displayed correctly and on Win7 they look awful |
Please fix it then :) |
This is a bug in Mac only: the awt colors work differently for some reason. The Windows thing is expected behaviour. Just change texts.properties to use uppercase if you don't want the game to use the fallback font. |
I would consider this a bug in the Mac implementation of Java/AWT. But I have no way of testing how this quirk/bug works, as MacOSX is a non-free operating system that runs on specialized hardware. I will be able to create a work around, but it might take some time (a day or two). For the time being: make sure to change texts.properties to upper-case text where it should be uppercase, which will hide 99% of the problems. |
The best solution is to run Mac OSX in a virtual machine. That way you can at least test it without having to go out and purchase a Mac. |
A related issue: I noticed encoding problems for special chars (French translation for instance). Impressive work on these fonts anyway, congrats @danielduner |
See #518 for the quick fix of making text upper-case again (by changing texts.properties) @BubblegumBalloon @mkalam-alami Could you create an issue for the encoding problems? It might have to do with not using latin-1 encoding for the .properties files (.properties files are stupidly enough defined to use latin-1 instead of UTF-8). But it's hard to tell without knowing what the problem is. |
Encoding issue: #521 |
@danielduner Ops sorry I totally forgot you would have to buy a disk of the OS before running it in a VM and I totally dont expect you to go out of your way to do that! Also I really appreciate you taking your time to fix this bug. :) |
@BubblegumBalloon |
If it was up to me I would primarily and probably only use Ubuntu. However I rely on a lot of software which doesn't exist on linux or there is not an equal alternative so thats why I have to use Mac and Windows. One of the main reasons I use Windows is actually for games. If all the games that ran on windows ran on linux (without the use of something like wine) then I would probably never use it. Thats why I always support the humble bundles, to try and push more games to linux. |
Sounds good, hopefully you can move to Ubuntu over time :) |
I really don't like the lower case characters. I'd rather see them upper case in game. But I think I know why its done this way, for better support for other languages. :p |
@godleydemon |
The problem with the bad Mac font may be solved now in SHA: d6dc4e6 Could someone with a Mac check this? |
Thank you. I will keep working on it. |
I have identified the problem. I am using the default SansSerif font, which is different for different operating systems. It looks great on Ubuntu (11.04), like crap on Windows and horrible on Mac. I will simply have to set the font to something more specific than "default sansserif" |
I.. I.. I don't even.. Do you have the project up and running in Eclipse? Can you run some test-code for me? |
Yeah sure. :) |
Can you use the change in this commit: Then run the game (just the title screen) and paste the System.out output here |
This is what I got: Map info added: /levels/level1.bmp(vanilla) Starting up SoundSystem... t: Ubuntu-Bold |
I even tried manually installing the ubuntu fonts afterwards and trying it again but it still didnt work. :/ |
Thank you. The font seems to be loading correctly. I'm at a bit of a loss. I'll see if I can think of something later. In the mean time, we'll have to prioritize #518 |
No worries, at least the font is readable now. :) |
Okay, a final attempt for the night. Can you pull Maescool/master and see if the problem is solved. Or at least if something looks different? |
Aw, crap, the shadows are still a bit off. But we're getting closer! |
Good idea! Priority set to low. The font is new, so it should look a bit different. I will rewrite the shadow system and then post an image of what it looks like for me. |
Now it looks better on Mac than on Linux facepalm But mission accomplished! Thank you for your excellent and speedy assistance! |
No probs Daniel. Thanks for making the font better. :) |
On Mac Os x Lion the text ingame is broken on the latest build 183.
http://i.imgur.com/xuKjP.png
http://i.imgur.com/pu3hp.png
Is this also happening on other OS ?
For me it happens on the .dmg build for mac and on the .jar build
The text was updated successfully, but these errors were encountered: