Friday, March 26, 2010

embedded font styles procedure

I've imported two styles of the Trebuchet MS font into the library. One without selecting the 'bold' checkbox in the Library Panel upon importing and the second with the 'bold' checkbox selected.

If I look in the font list of the property panel I now see the two embedded fonts (with asterisks behind their names):
Trebuchet MS Regular*
Trebuchet MS Bold*

The first textfield uses Trebuchet MS Regular* and off course shows the text in plain style

The second uses Trebuchet MS Bold* and I would expect the text to turn immediately bold, but it is still in regular style when I select Trebuchet MS Bold*. In both cases (Trebuchet MS Regular* and Trebuchet MS Bold*) I would have to select 'B' in the properties panel to make the text bold. Which in the second case seems a bit too much to me. Why still have to click 'B' when I already have Trebuchet MS Bold* selected?

Too make it more weird: I could also import Trebuchet MS with Italic selected, choose Trebuchet MS Italic* (which would make the text 'regular' at first) and click 'B' to also make the text bold.

Can someone explain why Flash works this way with imported fonts?

(I know I should/could use TextFormat, but I'm curious about this other approach and why Flash works this unlogical way with embedded fonts)

embedded font styles procedure

you must embed your textfield's font.

if you're going to embed a font in the authoring environment there's no reason to import that font to the library.?just select your font from the font list and select the characters to embed.

if you're going to embed a font using actionscript, then you need to import the font to your library, in addition, to several other steps.

embedded font styles procedure

Any ideas?


The same thing will happen if you import all four styles or Arial (or any other) font.

So, let's say I've imported all four styles of Arial (regular, bold, italic, bold/italic) and give all of them appropriate names, which are added in the Font List with an asterisk behind their names:

Arial_Regular*
Arial_Bold*
Arial_Italic*
Arial_Bold_Italic*

again, if you're going to embed a font in the authoring environment there's no reason to import that font to the library.?just select your font from the font list and select the characters to embed.

in particular, do NOT select a starred font.?just select the font you want, tick the characteristics (bold, italic) you want and proceed.

I know. I've imported the fonts because in my case I'm using them in combination with CSS. And I could use TextFormat or the 'Embed' button in the Properties Panel etc.

But I was very curious about this approach and why Flash works like this with embedded fonts when it comes to 'starred fonts'.And why Flash offers four starred fonts for four imported styles of the same font, when all four starred fonts do the same thing: start in 'regular' and turn into bold, italic or both when clicking the B and I buttons.

So if anyone can enlighten me?

No comments:

Post a Comment