@font-face At-Rule
Oxygen XML Editor plugin allows you to use custom fonts in the Author
mode by specifying them in the CSS using the @font-face
media type. Only the
src
and font-family
CSS properties can be used for this
media type.
@font-face{ font-family:"Baroque Script"; /*The location of the loaded TTF font must be relative to the CSS*/ src:url("BaroqueScript.ttf"); }
The specified font-family
must match
the name of the font declared in the .ttf
file.