Nice idea. You think just one shared library would work?

Since the problem is that each platform renders the same font differently,
the presentation needs to be compiled in the same platform it was designed
in, but the source should have no effect on the presentation; atleast none
that pertain from the compiler. This approach is analogous to how the same
font on both platforms render differently.

If the process of embeding the font is the source of the problem, it can be
determined by observing the effects of not embeding the culprit font,
however, I'm under the impression that this occurs at author time. If it's
the case, then you would have to seperate the libraries.

I had this problem when I was freelancing with a company that had mac users,
and if my memory is right, then the fonts were shifted at author time.

Just tossing in my 2 cents =]

M.

On 4/28/06, Kevin Newman <[EMAIL PROTECTED]> wrote:

I just posted something similar a few days ago. To take care of the font
shifting you can make sure to publish the files with the fonts on the
system they were designed on. So for example if you did the design on
the pc, then the swf and the shared lib with the fonts should also be
published on the pc. If you did the design on the mac, then the final
output should also be on the mac.

I suppose you could end up with a problem where some files were designed
on the mac, and some on then pc, in this case you may never be able to
get them to line up right all the time using the same publishing
computer - so you could do a comprimise by making sure all PC designed
flas are finally published on a PC and use a PC fonts shared lib, while
all the Mac designed flas are published on the Mac, and use a Mac fonts
shared lib. It's suboptimal, but it's better than 50K on every file.

By the way I have no experience with fonts in shared libraries, so while
conceptually this solution should work, it might be overkill, since just
making sure to publish the final swf on the platform they were layed out
in, might fix the problem. In our environment, I do programming on the
PC, and the designers do layout on the Mac, so after they do the layout,
I have to program it, then send it back to them for final output to get
the fonts to line up. I'm not sure how to work in the shared font libs,
but I would bet that using two different libs (one PC and one Mac) would
fix it.

Kevin N.


Serge Jespers wrote:
> Hey guyz,
>
> I'm working on this project that has a shared library with some
> movieclips and fonts...
> It are those fonts that cause quite a bit of stress...
>
> The designer on this project is on a PC and I work on a Mac... Not
> that that should matter but I'm taking a wild guess this is the
> problem...
>
> The situation... Both his PC and my Mac have all the fonts... Same TTF
> files. However, if I use the shared fonts in the swf on the server,
> they come out looking like this:
> http://webkitchen.be/downloads/sharedfonts.png
> Not really what was intended...
>
> If I make that library again, and use my shared lib instead of the one
> on the server, the text comes out right but is shifted down by quite a
> few pixels causing the design to be screwed up...
>
> So yeah... Should we just drop the shared fonts and thereby add a some
> 50k to each swf? Or is there something we may not have thought about?
>
> Thanks for your help,
> Serge
>
>


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to