Obrigado pela ajuda de todos! Resolvi o problema fazendo o seguinte:
@font-face {
font-family: angelinaFonte;
src: url("fonts/angelina.ttf");
}
.myCustomStyle {
font-family:angelinaFonte;
font-size: 32pt;
Faltou apenas as aspas no fontFamily: *"*angelina*"*;
@font-face{
src: url("fonts/angelina.ttf");
fontFamily: "angelina";
}
Mais detalhes, no final do POST.
http://blog.mxml.com.br/embed
*Eduardo Kraus*
Desenvolvedor
eduardokr...@gmail.com
http://blog.mxml.com.br
2009/4/20 Brian
eu uso assim:[Embed(source='zurich/Zurch.TTF', fontName='Zurich',
mimeType='application/x-font')]
private var myfont:Class;
2009/4/20 Brian
>
> Mário, havia utilizado [Embed] também e o resultado foi o mesmo...
>
> .angelinaFont {
> font-family: angelina;
> }
>
> [Embed(systemFon
Mário, havia utilizado [Embed] também e o resultado foi o mesmo...
.angelinaFont {
font-family: angelina;
}
[Embed(systemFont="angelina",
fontName="angelina",
mimeType="application/x-font")]
--~--~-~--~~~---
dessa forma não, oq vc tem q fazer é usar o @Embed(css/mxml) ou [Embed]
(as3)
2009/4/20 Brian
>
> Olá,
> Estou adicionando um fonte ao meu projeto Flex da seguinte forma:
>
> @font-face {
>src:url("fonts/angelina.ttf");
>fontFamily: angelina;
> }
>
>
>
> Funciona bem, porém em