note 38727 added to function.swftextfield.setfont
| From: | jerryscript at aol dot com | Date: | Sun, 04 Jan 2004 23:57:45 +0000 |
| Subject: | note 38727 added to function.swftextfield.setfont | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62917@lists.php.net to get a copy of this message | ||
Ming 0.3 (current cvs) allows you to embed fonts using addChars().
$t-new SWFTextField();
$t->setFont(new SWFFont("font_file.fdb"));
$lowercase="abcdefghijklmnopqrstuvwxyz";
$uppercase="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$numbers="1234567890";
$charsToAdd="$lowercase$uppercase$numbers";
$t->addChars($charsToAdd);
I'm not sure if you can use regExp to addChars?
[note-I broke the char list up due to this board's wordwrap]
----
Manual Page -- http://www.php.net/manual/en/function.swftextfield.setfont.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38727
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38727&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38727&report=yes
Search -- http://master.php.net/manage/user-notes.php