<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Verdana"><font face="Courier New, Courier, monospace"><font
face="Verdana"><font face="Courier New, Courier, monospace">sure...let
me know your results :)<br>
<br>
<br>
thanks<br>
</font></font></font></font>GaB<br>
mawe wrote:
<blockquote cite="mid:4978ED60.7070009@typeofundefined.com" type="cite">Damn
it ... ;-P
<br>
<br>
Well, sorry then. Would you like to send me a zip containing everything
that I need to test this on my (Vista) machine? I'm curious.
<br>
<br>
Regards,
<br>
Matthias
<br>
<br>
gabriel schrieb:
<br>
<blockquote type="cite">mmm sorry mawe, you lost your mum ;), UAC
already disabled here :)
<br>
<br>
but thanks for trying
<br>
<br>
mawe wrote:
<br>
<blockquote type="cite">I'd bet my mum that this has something to
do with the oh so great UAC.
<br>
<br>
gabriel schrieb:
<br>
<blockquote type="cite">Hi Axel, great f*** news...
<br>
<br>
I've tested installing the font and nothing happened... ON VISTA!...
<br>
Tried the same example in xp and it works :-( ...I can go on in this
way, but any idea in which could be the problem with vista?
<br>
<br>
thanks again!
<br>
Gabriel
<br>
<br>
Axel Huizinga wrote:
<br>
<blockquote type="cite">Hi Gabriel, are you working with
windows?
<br>
I tried your example and on windows it didn't work for me too until I
installed the font into the
<br>
windows fonts directory - weird but then it works
<br>
<br>
Axel
<br>
<blockquote type="cite">Mark, thanks I can't figure it out...
<br>
<br>
I've tried your suggestion and no way:
<br>
<br>
<?xml version="1.0" encoding="iso-8859-1" ?>
<br>
<movie width="320" height="240" framerate="12">
<br>
<background color="#ffffff"/>
<br>
<font id="*jettat*" name="*jettat*" import="*jettat*.ttf" />
<br>
<textfield id="hellobox" width="200" height="50" size="20"
font="*jettat*" text="HELLO world!"/>
<br>
<place id="hellobox" name="output" depth="10"/>
<br>
<frame/>
<br>
</movie>
<br>
<br>
The library tag has something to do here? swfmill is not complaining
about anything.
<br>
The TTF file is called "jettat.ttf" and the font name is "Jetta Tech".
I assume that @font in textfield is "jettat" (the font id) right?
<br>
I've attached the ttf file, can you test it please? so we know if is
working or not? I'm compiling like this:
<br>
<br>
swfmill.exe simple testText.xml testText.swf
<br>
<br>
is that correct?
<br>
<br>
thanks again.
<br>
Gabriel
<br>
<br>
Mark Winterhalder wrote:
<br>
<blockquote type="cite">
<blockquote type="cite">What is vera.ttf ? it is the real
TrueType file?
<br>
</blockquote>
<br>
Yes.
<br>
<br>
<br>
<blockquote type="cite">The ID (vera in this case) may be
anything? or should be the font name, and
<br>
how do you use it in the TextField?
<br>
</blockquote>
<br>
Yes, both -- it /may/ be anything, but /should/ be the font name for
<br>
clarity's sake.
<br>
What's missing in the tutorial, because font handling in Swfmill has
<br>
developed much further since it was written, is that there's also a
<br>
@name attribute to go with @id. @id is the Swfmill internal name (for
<br>
textfields created in Swfmill), @name is for AS usage (textfields
<br>
created by the script).
<br>
<br>
So, try this:
<br>
<font id="KlingonBlade" name="KlingonBlade"
import="KlingonBlade.ttf" />
<br>
<br>
Note the @name attribute I added. An advantage of this is that you can
<br>
import multiple font types, like normal, bold, italic etc., and all
<br>
give them the same @name. When you use a bold style in your textfield,
<br>
the appropriate font style will be chosen.
<br>
<br>
HTH,
<br>
Mark
<br>
<br>
<br>
<br>
On Thu, Jan 15, 2009 at 10:14 AM, gabriel <a class="moz-txt-link-rfc2396E" href="mailto:gbelvedere@gmail.com"><gbelvedere@gmail.com></a>
wrote:
<br>
<br>
<blockquote type="cite">Hi Robin,
<br>
<br>
I've already checked this link, but I had problems doing this:
<br>
<br>
Fonts work slightly different. To import all numerical characters of
<br>
vera.ttf as "vera", you would add the following after the library node:
<br>
<br>
<font id="vera" import="library/vera.ttf" glyphs="0123456789"/>
<br>
<br>
<br>
<br>
What is vera.ttf ? it is the real TrueType file?
<br>
The ID (vera in this case) may be anything? or should be the font name,
and
<br>
how do you use it in the TextField?
<br>
<br>
I made a quick (really quick) sample with a weird TTF and it does'nt
work
<br>
for me :(
<br>
<br>
<?xml version="1.0" encoding="iso-8859-1" ?>
<br>
<br>
<movie width="320" height="240" framerate="12">
<br>
<background color="#ffffff"/>
<br>
<font id="KlingonBlade" import="KlingonBlade.ttf"
<br>
glyphs="abcdefghijklmnopqrstuvwxyz!"/>
<br>
<textfield id="hellobox" width="200" height="50" size="20"
<br>
font="KlingonBlade" text="hello world!"/>
<br>
<place id="hellobox" name="output" depth="10"/>
<br>
<frame/>
<br>
</movie>
<br>
<br>
and this is what I get
<br>
<br>
<br>
<br>
<br>
<br>
<br>
thanks again for the time!
<br>
Gabriel
<br>
<br>
<br>
Robin Palotai wrote:
<br>
<br>
Hi!, Check <a class="moz-txt-link-freetext" href="http://swfmill.org/doc/using-swfmill.html#fonts">http://swfmill.org/doc/using-swfmill.html#fonts</a>
<br>
Cheers
<br>
<br>
Robin
<br>
-- <br>
<a class="moz-txt-link-abbreviated" href="http://www.mindless-labs.com">www.mindless-labs.com</a>
<br>
<br>
On Tue, Jan 13, 2009 at 11:00 AM, gabriel <a class="moz-txt-link-rfc2396E" href="mailto:gbelvedere@gmail.com"><gbelvedere@gmail.com></a>
wrote:
<br>
<br>
<br>
Hi all,
<br>
<br>
can anyone please point me in the right direction about embedding fonts
with
<br>
swfmill?
<br>
<br>
<br>
thanks
<br>
Gabriel
<br>
<br>
_______________________________________________
<br>
swfmill mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
<br>
<br>
<br>
<br>
<br>
_______________________________________________
<br>
swfmill mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
<br>
<br>
<br>
<br>
_______________________________________________
<br>
swfmill mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
<br>
<br>
<br>
</blockquote>
<br>
_______________________________________________
<br>
swfmill mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
<br>
<br>
</blockquote>
------------------------------------------------------------------------
<br>
<br>
_______________________________________________
<br>
swfmill mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
<br>
</blockquote>
<br>
------------------------------------------------------------------------
<br>
<br>
_______________________________________________
<br>
swfmill mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
<br>
</blockquote>
<br>
------------------------------------------------------------------------
<br>
<br>
_______________________________________________
<br>
swfmill mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
swfmill mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
<br>
<br>
</blockquote>
<br>
------------------------------------------------------------------------
<br>
<br>
_______________________________________________
<br>
swfmill mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
swfmill mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
<br>
<br>
</blockquote>
</body>
</html>