The primary purpose of the WOFF format is to package fonts linked to web documents by means of CSS @font-face rules. Opera Presto provides support for the WOFF format with the following exception:
<metadata>
element
Element | Attributes | Descriptions | Support |
---|---|---|---|
<metadata>
|
version
|
<metadata> : The main element
|
Yes |
<metadata>
child elements
Child Element / attributes |
Subelements / attributes |
Descriptions | Support |
---|---|---|---|
<uniqueid>
|
<uniqueid> : A unique identifier string for the font
|
Yes | |
<vendor>
|
<vendor> : Information about the font vendor
|
Yes | |
<credits>
|
<credit>
|
<credits> : Credit information for the font
|
Yes |
<description>
|
<description> : An arbitrary text description of the font's design, its history, etc.
|
Yes | |
<license>
|
<license> : Licensing information for the font
|
Yes | |
<copyright>
|
The copyright for the font | Yes | |
<trademark>
|
The trademark for the font | Yes | |
<licensee>
|
<licensee> : The licensee of the font
|
Yes | |
<extension>
|
<name>
<item>
|
<extension> : A container element for extended metadata provided by the vendor
|
Yes |
<?xml version="1.0" encoding="UTF-8"?> <metadata version="1.0"> <uniqueid id="com.example.fontvendor.demofont.rev12345" /> <vendor name="Font Vendor" url="http://fontvendor.example.com" /> <credits> <credit name="Font Designer" url="http://fontdesigner.example.com" role="Lead" /> <credit name="Another Font Designer" url="http://anotherdesigner.example.org" role="Contributor" /> <credit name="Yet Another" role="Hinting" /> </credits> <description> <text lang="en"> A member of the Demo font family. This font is a humanist sans serif style designed for optimal legibility in low-resolution environments. It can be obtained from fontvendor.example.com. </text> </description> <license url="http://fontvendor.example.com/license" id="fontvendor-Web-corporate-v2"> <text lang="en">A license goes here.</text> <text lang="fr">Un permis va ici.</text> </license> <copyright> <text lang="en">Copyright ©2009 Font Vendor"</text> </copyright> <trademark> <text lang="en">Demo Font is a trademark of Font Vendor</text> <text lang="de">Demo Font ist ein eingetragenes Warenzeichen der Font Vendor</text> </trademark> <licensee name="Wonderful Websites, Inc." /> <extension id="org.example.fonts.metadata.v1"> <name lang="en">Additional font information</name> <item id="org.example.fonts.metadata.v1.why"> <name lang="en">Purpose</name> <value lang="en">This font exists as an example of WOFF packaging.</value> </item> </extension> </metadata>
Need help? Hit F1 anytime while using Opera to access our online help files, or go here.