Re: [Flashcoders] How to japanese people embed fonts?

2006-06-30 Thread Kenneth Kawamoto

 i have to get japanese characters into our application, but as i see it,
 there is no solution for this :(

If you embed a Japanese font the file size will increase by 1.75MB or 
more per font, so I would not embed Japanese fonts for on-line delivery. 
I would use generic device fonts for dynamic texts. For static texts you 
don't need to embed fonts at all.


Kenneth Kawamoto
http://www.materiaprima.co.uk/


___
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] How to japanese people embed fonts?

2006-06-30 Thread Adrian Park

I'd agree with Kenneth. If possible, use something like Verdana which
definitely includes all the characters you need - not all fonts do.

But, if you really do need to embed the fonts, then you can use a
combination of your first two suggestions to acheive what you want.

1) create a font symbol, giving it whatever name you want to use to refer to
your font.
2) create a text field on the stage and use that to force Flash to embed
whichever characters you want. For different font weights, use more font
symbols and text fields.

As Kenneth warns, it can very quickly pump up your compiled swf size though.

HTH
Adrian P.


On 6/30/06, Kenneth Kawamoto [EMAIL PROTECTED] wrote:


 i have to get japanese characters into our application, but as i see it,
 there is no solution for this :(

If you embed a Japanese font the file size will increase by 1.75MB or
more per font, so I would not embed Japanese fonts for on-line delivery.
I would use generic device fonts for dynamic texts. For static texts you
don't need to embed fonts at all.

Kenneth Kawamoto
http://www.materiaprima.co.uk/


___
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] How to japanese people embed fonts?

2006-06-30 Thread Zeh Fernando

 i have to get japanese characters into our application, but as i see it,
 there is no solution for this :(

If you embed a Japanese font the file size will increase by 1.75MB or more 
per font, so I would not embed Japanese fonts for on-line delivery. I 
would use generic device fonts for dynamic texts. For static texts you 
don't need to embed fonts at all.


Like Kenneth said, simply don't - use _sans or _serif as fonts so it will 
use the default system fonts.


You will lose some control of the text - you won't know in advance the 
length it will have (it will change from computer to computer), and even how 
it will be rendered (with or without antialias - also change from computer 
to computer).


The good thing is that although it's limited, you do have some control of 
it - you can still use effects (Flash 8+) for example. So it's simply a 
matter of dealing with it in a different way.


- Zeh 


___
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] How to japanese people embed fonts?

2006-06-30 Thread Kenneth Kawamoto

 But, if you really do need to embed the fonts, then you can use a
 combination of your first two suggestions to acheive what you want.

 1) create a font symbol, giving it whatever name you want to use to 
refer to

 your font.
 2) create a text field on the stage and use that to force Flash to embed
 whichever characters you want.

I'm not sure if this works for Japanese text, as a Font Symbol does not 
include Japanese font outlines even for a Japanese font. (This behaviour 
may be different on Japanese version of Flash IDE, but I don't know.)


The only way I know is to embed fonts into TextFields manually. But then 
you can embed only one style per TextField and you cannot mix styles 
such as bold and italic in one TextField.


(These issues were the points of the original poster if I understood 
correctly.)


If you really want, you can create 3 extra dummy TextFields per font, 
and embed bold, italic and bold-italic styles. After that you can mix 
all these styles in one TextField.


However this has a heavy penalty - about 9MB for just one font.

Use _sans or _serif as in Zeh's post…

Kenneth Kawamoto
http://www.materiaprima.co.uk/

___
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