<commit_before>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](https://github.com/typekit/fvd) library.

## Documentation

This little library offers three static functions for your enjoyment:

#### `Fvd::Compact()`

Given a font description (in CSS), `Compact` will return the FVD code:

`Fvd::Compact('font-style:italic;font-weight:bold;')` will return `i7`.

#### `Fvd::Expand()`

Given a FVD code, `Expand` will return the CSS code:
<commit_msg>Added travis results image.<commit_after>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](https://github.com/typekit/fvd) library.

[![Build Status](https://travis-ci.org/kevintweber/KtwFvd.png?branch=master)](https://travis-ci.org/kevintweber/KtwFvd)

## Documentation

This little library offers three static functions for your enjoyment:

#### `Fvd::Compact()`

Given a font description (in CSS), `Compact` will return the FVD code:

`Fvd::Compact('font-style:italic;font-weight:bold;')` will return `i7`.

#### `Fvd::Expand()`

Given a FVD code, `Expand` will return the CSS code:

{'fraction_non_alphanumeric': 0.17720639332870047, 'fraction_numerical': 0.001389854065323141, 'mean_word_length': 5.575342465753424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5762664', 'n_tokens_mistral': 465, 'n_tokens_neox': 445, 'n_words': 151}