swftools-common
[Top][All Lists]
Advanced

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

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


From: Matthias Kramm
Subject: [Swftools-common] Re: swfc: font encoding?
Date: Fri, 30 Jul 2004 23:27:48 +0200
User-agent: Mutt/1.5.6i

> 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







reply via email to

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