Hi!
I’ve recently change from PC to Mac. I’m facing a strange issue with font display. Here’s how the fonts are displayed:
PC 
MAC 
Comparasion 
As you can see the font is centered on PC, but at MAC is sits right on top. The y position is the same and the font is installed and embeded properly on both machines. Any ideas on how to solve this mistery?
Thanks. C78
weird, makes no sense to me… but I’m not a mac user…
I forgot to clarify this: the swf looks the same on both machines, but if I open the fla and recreate the swf on MAC the fonts appear some 3 or 4 pixels up. Argh!
well, maybe they are correct on mac. I know that pn PC the text is never the same in the fla as in the swf. So maybe mac is displaying it correctly…
rephrase: I see that on mac it’s a bit off. That’s how it is on my pc. Texfields are always off in the fla.
What I’m worried about is that I place here some files built on MAC and then someone with a PC buys it . He will be certainly angry, because apparently the file I’m providing is messed up 
no I don’t think so, as I said, my text fields are always off in the fla. The important thing is how they look in the swf. If they look ok on both mac and pc, it’s cool then
.
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
its more accurate within CS4 because there is actually an instance of the Player running on the stage (hence why it uses far more memory than CS3 ) but I still notice a little difference here and there…
if you trace out textfield.textHeight what values are you getting on both MAC and PC?
@ MSFX – I already noticed that the textfield height is different… On PC with Flash CS3 it’s 15.9 and on MAC with Flash CS4 it’s 12.9
Again, what really worries me are compatibility issues.
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
@ MSFX – I already noticed that the textfield height is different… On PC with Flash CS3 it’s 15.9 and on MAC with Flash CS4 it’s 12.9
Again, what really worries me are compatibility issues.
then its fine, you can get around it… just centre the textfield vertically onto the background…?
textfield.y = background.x + Math.ceil((background.height – textfield.textHeight) * 0.5);
that will work on either and then you dont have to worry about what platform they are using in the event that they re-compile…
