PHP » GoLang |
login |
register |
about
|
GoLang SWFFont::__construct
request it (306)
GoLang replacement for PHP's SWFFont::__construct
[edit | history]
SWFFont::__construct(PHP 5 < 5.3.0, PECL ming SVN) SWFFont::__construct — Loads a font definition Description
SWFFont::__construct
( string
$filename
)Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
If FDB ("font definition block") is a very simple wrapper for the SWF DefineFont2 block which contains a full description of a font. One may create FDB files from SWT Generator template files with the included makefdb utility- look in the util directory off the main ming distribution directory. Browser-defined fonts don't contain any information about the font other than its name. It is assumed that the font definition will be provided by the movie player. The fonts _serif, _sans, and _typewriter should always be available. For example:
<?php
|
more
Recently updated
more
Most requested
more
Last requests
|