Skip navigation
Currently Being Moderated

AS3 font embed height issue

Jun 27, 2013 8:21 PM

Tags: #font #embed

This is probably the weirdest font embed problem I've had in years...

 

I'm using Flash CC. Whenever I use an embed font I get this weird result.

 

error.jpg

   

On the left I'm using a system font without embed, on the right I just switch to an embedded font in the library. Nothing else changes. I'm doing everything by code. The height of the TextField and the textHeight property changes, depending on if I use an embedded font or not. It doesn't matter what font I embed, I have tried many different fonts with the exact same result.

 

I have tried changing the leading property in the TextFormat object, but there's always some sort of padding at the top of the textField.

 

Anyone has any idea of what is going on?

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points