You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A way to unambiguously, compactly and clearly describe a set of
@font-face properties. This is implemented
as a simple string. For example.
n4
With these two characters we can choose a font, or generate style and
weight information for an @font-face rule.
font-style: normal;
font-weight: normal;
Properties
The order of properties is well defined. Currently:
font-style
font-weight
Forward compatibility is maintained by adding new properties to the end.
Possible additions:
font-stretch
font-variant
Values
The possible values for each property are well defined, and a value is
required for each property. Values must be a single character. The Font
Variation Description value and its equivalent CSS value for each property are
as follows.
Each property must have a default value, but may have aliases for use when
generating a Font Variation Description. To maintain unambiguous output, there
must be no alias return values.
Describing an entire family of fonts. Here each variation is delimited by a
comma.
"Droid Serif:n4,i4,n7,i7"
This string describes four fonts in the family 'Droid Serif':
- Normal
- Italic
- Bold
- Bold Italic
Copyright and License
Copyright (c) 2010 Adobe Systems Incorporated.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
About
A compact and unambiguous way to describe a font in CSS.