All Projects → ninjaprox → Inkwell

ninjaprox / Inkwell

Licence: mit
An inkwell to use custom fonts on the fly.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Inkwell

Fontsource
Self-host Open Source fonts in neatly bundled NPM packages.
Stars: ✭ 836 (+472.6%)
Mutual labels:  font, fonts, google-fonts
Urbanist
Urbanist is a low-contrast, geometric sans-serif inspired by Modernist design and typography.
Stars: ✭ 374 (+156.16%)
Mutual labels:  font, fonts, google-fonts
Yrsa Rasa
Yrsa & Rasa: fonts for Latin and Gujarati
Stars: ✭ 200 (+36.99%)
Mutual labels:  font, fonts, google-fonts
eczar
Eczar: fonts for Devanagari and Latin
Stars: ✭ 52 (-64.38%)
Mutual labels:  font, fonts, google-fonts
Work Sans
A grotesque sans.
Stars: ✭ 1,319 (+803.42%)
Mutual labels:  font, fonts, google-fonts
fontless
🚀🔒 Host your own Google Fonts.
Stars: ✭ 63 (-56.85%)
Mutual labels:  font, fonts, google-fonts
Firasystemfontreplacement
Modified version of the Fira Sans fonts to replace the default system font on macOS
Stars: ✭ 730 (+400%)
Mutual labels:  font, fonts
Awesome Fonts
Curated list of fonts and everything
Stars: ✭ 798 (+446.58%)
Mutual labels:  fonts, google-fonts
San Francisco Family
All the fonts in San Francisco family font, developed by Apple. Including new SF Camera font from iOS 13!
Stars: ✭ 141 (-3.42%)
Mutual labels:  font, fonts
Gftools
Misc tools for working with the Google Fonts library
Stars: ✭ 132 (-9.59%)
Mutual labels:  fonts, google-fonts
Quadplay
The quadplay✜ fantasy console
Stars: ✭ 563 (+285.62%)
Mutual labels:  font, fonts
Google Type
Collaborative typography project using select passages from Aesop's Fables set to Google Fonts
Stars: ✭ 971 (+565.07%)
Mutual labels:  font, google-fonts
Opendyslexic Chrome
Offical OpenDyslexic chrome extension
Stars: ✭ 36 (-75.34%)
Mutual labels:  font, fonts
Nerd Fonts
Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
Stars: ✭ 31,778 (+21665.75%)
Mutual labels:  font, fonts
Codeface
Typefaces for source code beautification
Stars: ✭ 5,612 (+3743.84%)
Mutual labels:  font, fonts
Juliamono
repository for JuliaMono, a monospaced font with reasonable Unicode support.
Stars: ✭ 625 (+328.08%)
Mutual labels:  font, fonts
Webfont Test
Test and analyze fonts for the web: Google fonts, system fonts and custom fonts.
Stars: ✭ 36 (-75.34%)
Mutual labels:  font, google-fonts
Swifticonfont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon)
Stars: ✭ 1,094 (+649.32%)
Mutual labels:  font, fonts
Linearicons
Linearicons is the highest quality set of line icons, matching with minimalist UI designs in iOS.
Stars: ✭ 64 (-56.16%)
Mutual labels:  font, fonts
Free Fonts
Free fonts available under the Apache license
Stars: ✭ 110 (-24.66%)
Mutual labels:  font, fonts

Inkwell

CI Status Version Carthage compatible License Platform

Introduction

In brief, Inkwell is a font library to use custom fonts on the fly. Inkwell takes responsibilities for:

  • [x] Downloading fonts from Google Fonts or custom resources.
  • [x] Registering custom fonts to the system.
  • [x] Loading and using custom fonts dynamically and seamlessly.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

alt tag

Installation

CocoaPods

Install CocoaPods if need be.

$ gem install cocoapods

Add Inkwell in your Podfile.

use_frameworks!

pod 'Inkwell'

Run the following command.

$ pod install

Carthage

Install Carthage if need be.

$ brew update
$ brew install carthage

Add Inkwell in your Cartfile.

github "ninjaprox/Inkwell"

Run carthage to build the framework and drag the built Inkwell.framework into your Xcode project.

Usage

Firstly, set the Google API key in the app delegate.

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    Inkwell.shared.APIKey = "paste your key here"
}

Now you are ready to use Inkwell with only one API to remember.

let font = Font(family: "ABeeZee" variant: .regular)
let fontSize = 27
Inkwell.shared.font(for: font, size: fontSize) { uifont in
    // Do something with the `uifont`.
}

Note: Do not forget to import Inkwell in any file using Inkwell.

Documentation

For full API documentation, please check Inkwell's documentation.

Dependency

License

Inkwell is available under the MIT license. See the LICENSE file for more info.

Copyright (c) 2017 Vinh Nguyen @ninjaprox

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].