swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Re: swfc: font encoding?


From: Leonhard Minutillo
Subject: Re: [Swftools-common] Re: swfc: font encoding?
Date: Thu, 5 Aug 2004 15:58:03 +0200 (CEST)

i generated an swf textbox using this:


.flash name="Septmi__.ttf.swf" version=6 background=white
.font myfont "Septmi__.ttf"  # <--- insert font name here
.edittext  fs_font font=myfont size=500% width=1000 height=1000  color=red  
multiline
.put fs_font
.end

the output is here:

http://el.null2.net/swftools/Septmi__.ttf.swf

the source .ttf is here:

http://el.null2.net/swftools/Septmi__.ttf


----> note that most of the umlauts work, except, strangely, the small
"ue". what can i do?



now, i generated another file:

http://el.null2.net/swftools/BeSnDi__.ttf.swf

from this font:

http://el.null2.net/swftools/BeSnDi__.ttf

-------> note: the umlauts dont work at all.

what could be the reason?


bst, Leonhard







On Thu, 5 Aug 2004, Leonhard Minutillo wrote:

>
>
> thanks for your answer.. but what  i thought of was not the encoding
> of the text displayed, but how swfc handles the encoding of the .TTF font
> itself, when converting a .ttf font so an swf font.. what does it need as
> an input?  Adobe's original, ISO-Latin1, Symbol?
>
> bst; L.
>
>
> On Fri, 30 Jul 2004, Matthias Kramm wrote:
>
> > > when converting fonts w. swfc, certain fonts behave in a strange way. some
> > > characters which are  definately contained in the font are ot showing up.
> > > sometimes some of the  german umlauts are missing, sometimes the capital A
> > > sometimes other
> > > characters.
> >
> > Usually, this happens because the text you display with the font
> > has the wrong encoding- it needs to be UTF-8.
> >
> > E.g. this doesn't work:
> >
> > .flash name="font.swf" version=6
> >     .font arial "Arial.ttf"
> >     .text text1 size=100% color=white font=arial text="Test umlauts: 
> > äöüÄÖÜß"
> >     .put text1
> > .end
> >
> > but this does:
> >
> > .flash name="font.swf" version=6
> >     .font arial "Arial.ttf"
> >     .text text1 size=100% color=white font=arial text="Test umlauts: 
> > ÀöÌÄÖÜß"
> >     .put text1
> > .end
> >
> > Btw., you can convert an iso-encoded .sc file to utf-8 by running uconv:
> >
> >     uconv -f iso-8859-1 -t utf-8 infile.sc -o outfile.sc
> >
> > I'll also add a detection routine to swfc soon, so that iso is
> > recognized and converted to utf-8 automatically.
> >
> > Greetings
> >
> > Matthias
> >
> >
> >
> >
> >
> > _______________________________________________
> > Swftools-common mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/swftools-common
> >
>
> ------------------------------------------
> null2::webhosting::programmierung::service
>
> http://null2.net
>
> null2 IT-solutions GbR
> Ackerstrasse 19
> 10117 Berlin
>
> t: +(49) 30 28092974
> f: +(49) 30 28092976
>
> leonhard minutillo::code u.v.m.
>
>
> _______________________________________________
> Swftools-common mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/swftools-common
>

------------------------------------------
null2::webhosting::programmierung::service

http://null2.net

null2 IT-solutions GbR
Ackerstrasse 19
10117 Berlin

t: +(49) 30 28092974
f: +(49) 30 28092976

leonhard minutillo::code u.v.m.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]