abunashir / fontist

A simple font finder for Windows, Linux and Mac

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fontist

ubuntu

A simple library to find and download fonts for Windows, Linux and Mac.

Installation

Add this line to your application's Gemfile:

gem "fontist"

And then execute:

bundle install

Or install it yourself as:

gem install fontist

Usage

Find a font

The fontist library allows us to easily locate or download a any of the supported fonts and then it returns the complete path for the path. To find any font in a user's system we can use the following interface.

Fontist::Finder.find("CALIBRI.TTF")

Development

We are following Sandi Metz's Rules for this gem, you can read the description of the rules here All new code should follow these rules. If you make changes in a pre-existing file that violates these rules you should fix the violations as part of your contribution.

Setup

Clone the repository.

git clone https://github.com/fontist/fontist

Setup your environment.

bin/setup

Run the test suite

bin/rspec

Contributing

First, thank you for contributing! We love pull requests from everyone. By participating in this project, you hereby grant Ribose Inc. the right to grant or transfer an unlimited number of non exclusive licenses or sub-licenses to third parties, under the copyright covering the contribution to use the contribution by all means.

Here are a few technical guidelines to follow:

  1. Open an issue to discuss a new feature.
  2. Write tests to support your new feature.
  3. Make sure the entire test suite passes locally and on CI.
  4. Open a Pull Request.
  5. Squash your commits after receiving feedback.
  6. Party!

Credit

This gem is developed, maintained and funded by Ribose Inc.

About

A simple font finder for Windows, Linux and Mac

License:Other


Languages

Language:Ruby 99.2%Language:Shell 0.8%