2017 © Pedro Peláez
 

library ktw-fvd

PHP port of Typekit/fvd

image

kevintweber/ktw-fvd

PHP port of Typekit/fvd

  • Sunday, August 18, 2013
  • by kevintweber
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

KtwFvd - Font Variant Description for PHP

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)

Build Status, (*2)

Documentation

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)

Authors

Kevin Weber - kevintweber@gmail.com, (*10)

License

KtwFvd is licensed under the MIT license. See LICENSE for more details., (*11)

The Versions

18/08 2013

dev-master

9999999-dev https://github.com/kevintweber/KtwFvd

PHP port of Typekit/fvd

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Kevin Weber

font fvd