Alakazizam Posted Thursday at 06:37 PM Posted Thursday at 06:37 PM (edited) Sorry, I only have surface level knowledge of using graphics. But the text gets quiet a bit larger when I'm breaking vs when I'm not, can someone explain why this is happening and maybe a quick fix if it's not too much trouble? Edited Thursday at 06:37 PM by Alakazizam
skillerkidos1 Posted yesterday at 01:19 AM Posted yesterday at 01:19 AM Can you send the snippet? You are setting the font somewhere i would guess
Alakazizam Posted yesterday at 01:35 AM Author Posted yesterday at 01:35 AM 14 minutes ago, skillerkidos1 said: Can you send the snippet? You are setting the font somewhere i would guess I got it resolved. I didn't know how to set font and all that, I just went with whatever was default. I was mostly wondering why the break screen blew the font up, but setting my own font seems to have stopped the resizing during the break screen. g.setFont(new Font("Arial", Font.PLAIN, 12)); 2
Czar Posted yesterday at 07:05 AM Posted yesterday at 07:05 AM For anyone wondering this is because during breaks the client will set its own fonts and sizes, so I recommend always using g.setFont at the top of your onPaint, it should do the trick 1