[swfmill] font issues
erixtekila
erixtekila at gmail.com
Wed Jul 5 10:15:35 EDT 2006
Le 5 juil. 06, à 13:30, nils at hub124.co.uk a écrit :
> I've been trying to follow the dynamic embedding tutorial here:
>
> http://www.deja-vue.net/blog/2006/05/26/as2-sharedfonts-datagrid-
> example-the-last-stand/
>
> which basically uses swfmill to create a shared font library.
>
> Everything works fine but the font I want to use isn't aligned
> properly - text in textfields is moved up by up to 20 pixels.
Do you compile for swf8 ?
Could be the issue as the new tags for fonts are not yet included in
swfmill.
>
> This is only a problem with swfmill and only a problem with some fonts.
> The font in question is Avenir from Linotype in TTF format.
>
> I'm guessing it's something to do with the font's metric information -
> is there a solution?
Beware anyway that font are converted to vector in the swf.
Be sure that the glyphs don't use big space around them.
Give a look at it with fontforge (excellent software)
You'll get probably a clue.
So not sure it's a metric problem.
I use font embedding with swf8 and don't (i think) get any position
shift.
Best luck.
-----------
erixtekila
http://blog.v-i-a.net/
More information about the swfmill
mailing list