[prev in list] [next in list] [prev in thread] [next in thread] 

List:       osflash-swfmill
Subject:    [swfmill] [Fwd: Re:  Font Embedding]
From:       gbelvedere () gmail ! com (gabriel)
Date:       2009-01-15 9:14:45
Message-ID: 496EFE85.4000505 () gmail ! com
[Download RAW message or body]

Hi Robin,

I've already checked this link, but I had problems doing this:


Fonts work slightly different. To import all numerical characters of 
vera.ttf as "vera", you would add the following after the library node:

<font id="vera" import="library/vera.ttf" glyphs="0123456789"/>




What is vera.ttf ? it is the real TrueType file?
The ID (vera in this case) may be anything? or should be the font name, 
and how do you use it in the TextField?

I made a quick (really quick) sample with a weird TTF and it does'nt 
work for me :(

<?xml version="1.0" encoding="iso-8859-1" ?>
   
<movie width="320" height="240" framerate="12">
    <background color="#ffffff"/>
    <font id="KlingonBlade" import="KlingonBlade.ttf" 
glyphs="abcdefghijklmnopqrstuvwxyz!"/>
    <textfield id="hellobox" width="200" height="50" size="20" 
font="KlingonBlade" text="hello world!"/>
    <place id="hellobox" name="output" depth="10"/>
  <frame/>
</movie>

and this is what I get






thanks again for the time!
Gabriel


Robin Palotai wrote:
> Hi!, Check http://swfmill.org/doc/using-swfmill.html#fonts
> Cheers
>
> Robin
> --
> www.mindless-labs.com
>
> On Tue, Jan 13, 2009 at 11:00 AM, gabriel <gbelvedere at gmail.com> wrote:
>   
>> Hi all,
>>
>> can anyone please point me in the right direction about embedding fonts with
>> swfmill?
>>
>>
>> thanks
>> Gabriel
>>
>> _______________________________________________
>> swfmill mailing list
>> swfmill at osflash.org
>> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>>
>>
>>     
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20090115/27e5a50c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 8255 bytes
Desc: not available
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20090115/27e5a50c/attachment.jpe>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic