595 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 7 years
+5 more
Pirenko says

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 PC

MAC MAC

Comparasion BOTH

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

2114 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
fifty_tons says

weird, makes no sense to me… but I’m not a mac user…

595 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 7 years
+5 more
Pirenko says

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!

2114 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
fifty_tons says

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…

2114 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
fifty_tons says

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.

595 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 7 years
+5 more
Pirenko says

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 :(

2114 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
fifty_tons says

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 :).

8251 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Volunteer moderator says

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?

595 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 7 years
+5 more
Pirenko says

@ 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.

8251 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Volunteer moderator says
@ 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…

by
by
by
by
by
by