dev-master
9999999-dev https://github.com/kevintweber/KtwFvdPHP port of Typekit/fvd
MIT
The Requires
- php >=5.3.3
by Kevin Weber
font fvd
Wallogit.com
2017 © Pedro Peláez
PHP port of Typekit/fvd
Fvd (Font Variant Description) is "a way to unambiguously, compactly and clearly describe a set of @font-face properties." KtwFvd is a PHP port of the Typekit Fvd library., (*1)
This little library offers three static functions for your enjoyment:, (*3)
Fvd::Compact()Given a font description (in CSS), Compact will return the FVD code:, (*4)
Fvd::Compact('font-style:italic;font-weight:bold;') will return i7., (*5)
Fvd::Expand()Given a FVD code, Expand will return the CSS code:, (*6)
Fvd::Expand('n5') will return font-style:normal;font-weight:500;., (*7)
Fvd::Parse()Given a FVD code, Parse will return an array of CSS code:, (*8)
Fvd::Parse('o4') will return array('font-style' => 'oblique', 'font-weight' => 400)., (*9)
Kevin Weber - kevintweber@gmail.com, (*10)
KtwFvd is licensed under the MIT license. See LICENSE for
more details., (*11)
PHP port of Typekit/fvd
MIT
font fvd