698 posts Fuel Your Web
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Winner
+6 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

2128 posts
  • Affiliate Level 2
  • Author Level 6
  • Collector Level 3
  • Weekly Top Seller
+4 more
fifty_tons
says

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

698 posts Fuel Your Web
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Winner
+6 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!

2128 posts
  • Affiliate Level 2
  • Author Level 6
  • Collector Level 3
  • Weekly Top Seller
+4 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…

2128 posts
  • Affiliate Level 2
  • Author Level 6
  • Collector Level 3
  • Weekly Top Seller
+4 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.

698 posts Fuel Your Web
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Winner
+6 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 :(

2128 posts
  • Affiliate Level 2
  • Author Level 6
  • Collector Level 3
  • Weekly Top Seller
+4 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 :).

8586 posts Community Moderator
  • United Kingdom
  • 7 Years of Membership
  • Moderator
  • Winner
+10 more
MSFX
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?

698 posts Fuel Your Web
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Winner
+6 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.

8586 posts Community Moderator
  • United Kingdom
  • 7 Years of Membership
  • Moderator
  • Winner
+10 more
MSFX
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