Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread Kevin Newman

That's even better then. :-)

I actually don't know where the problem is, with embedding or with 
authoring - but as you said, it should be easy to figure it out, and if 
it's embedding that's the problem, then the workaround is pretty easy 
too (using two different external libs for the fonts - 1 PC, and 1 Mac).


Kevin N.


elibol wrote:

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


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread elibol

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


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread Kevin Newman
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


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread Danny Kodicek
> 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...

It looks like you're dealing with the same problem I've been struggling with
recently. It's all about code pages. Windows and Macs have different ways of
translating text info into characters. The lower-end characters (those in
the ASCII range from 0-127) are the same. The higher end ones (in the ANSI
range 128-255) are different. You can see them in these tables:
http://en.wikipedia.org/wiki/Mac_OS_Roman,
http://en.wikipedia.org/wiki/Windows-1252 (These are for English-language
OS's; for other languages the encodings are different again).

There are a number of ways to deal with this. One is simply to switch to
Unicode. Unicode is cross-platform and will work in any language. If you
can't use Unicode for some reason, you have two options: either create two
fonts, one for the Mac and one for Windows (possibly more if you need to
deal with multiple regions), or do what I did, which is to run a translation
function to change your text from one code page to the other (eg, running
myText.split(String.fromCharCode(128)).join(String.fromCharCode(219)) will
swap a Windows Euro symbol with a Mac Euro symbol). This isn't going to
solve your problem in a general sense, and it will only work for those
characters that are represented in both code pages, but if you have some
control over which characters you will be using, it will do the job.

Best
Danny

___
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


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread eugen pflüger

i never worked with shared fonts but maybe this could help you:
http://www.sharedfonts.com

e


Am 28.04.2006 um 09:44 schrieb Serge Jespers:


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










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


___
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] Shared fonts nightmare

2006-04-28 Thread Serge Jespers

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