All Projects → kennethormandy → Utility Opentype

kennethormandy / Utility Opentype

Licence: mit
Simple, CSS utility classes for advanced typographic features.

Projects that are alternatives of or similar to Utility Opentype

Harfbuzz
HarfBuzz text shaping engine
Stars: ✭ 2,206 (+358.63%)
Mutual labels:  typography, opentype
Sassy Gridlover
Super easy to use Sass mixins to establish a typographic system with modular scale and vertical rhythm. Based on the Gridlover app.
Stars: ✭ 223 (-53.64%)
Mutual labels:  typography, sass
Han
「漢字標準格式」印刷品般的漢字排版框架 Han.css: the CSS typography framework optimised for Hanzi.
Stars: ✭ 2,156 (+348.23%)
Mutual labels:  typography, sass
Personal Goals
List of books I've read, projects I've done, videos I've seen, articles I've read or podcasts I've listened to.
Stars: ✭ 75 (-84.41%)
Mutual labels:  typography, sass
Tehreer-Cocoa
Standalone text engine for iOS
Stars: ✭ 31 (-93.56%)
Mutual labels:  typography, opentype
Vertical Rhythm
Put some typographical vertical rhythm in your CSS. LESS, Stylus and SCSS/SASS versions included.
Stars: ✭ 83 (-82.74%)
Mutual labels:  typography, sass
Graaf
A collection of pure CSS grids for designing your new projects
Stars: ✭ 186 (-61.33%)
Mutual labels:  typography, sass
Shevy
Configurable Vertical Rhythm & Typography for Sass
Stars: ✭ 177 (-63.2%)
Mutual labels:  typography, sass
fdiff
An OpenType table diff tool for fonts. Based on the fontTools TTX format.
Stars: ✭ 33 (-93.14%)
Mutual labels:  typography, opentype
Tehreer-Android
Standalone text engine for Android aimed to be free from platform limitations
Stars: ✭ 61 (-87.32%)
Mutual labels:  typography, opentype
Sing App
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
Stars: ✭ 1,187 (+146.78%)
Mutual labels:  typography, sass
Simple Typography
A simple starting ground for beautiful typography on the web using Sass.
Stars: ✭ 311 (-35.34%)
Mutual labels:  typography, sass
Awesome Typography
✏︎ Curated list about digital typography 🔥
Stars: ✭ 947 (+96.88%)
Mutual labels:  typography, opentype
Light Blue Dashboard
🔥 Free and open-source admin dashboard template built with Bootstrap
Stars: ✭ 110 (-77.13%)
Mutual labels:  typography, sass
Typi
A sass mixin to make responsive typography easy
Stars: ✭ 862 (+79.21%)
Mutual labels:  typography, sass
Typography
C# Font Reader (TrueType / OpenType / OpenFont / CFF / woff / woff2) , Glyphs Layout and Rendering
Stars: ✭ 246 (-48.86%)
Mutual labels:  typography, opentype
Gutenberg
A meaningful web typography starter kit.
Stars: ✭ 2,765 (+474.84%)
Mutual labels:  typography, sass
Typesettings
A Sass or Stylus toolkit that sets type in Ems based on modular scale, vertical rhythm, and responsive ratio based headlines.
Stars: ✭ 380 (-21%)
Mutual labels:  typography, sass
Pixel Bootstrap Ui Kit
Pixel UI - Free and open source Bootstrap 5 UI Kit without jQuery
Stars: ✭ 406 (-15.59%)
Mutual labels:  sass
Progress Tracker
A HTML component to illustrate the steps in a multi step process e.g. a multi step form, a timeline or a quiz.
Stars: ✭ 461 (-4.16%)
Mutual labels:  sass


Utility OpenType

Simple, CSS utility classes for advanced typographic features. Falls back gracefully through feature queries. Less than 1.75kB gzipped. —@kennethormandy

Utility OpenType helps you make the most of the font that you are loading in, reducing convoluted CSS into four-letter, typographic utility classes, because:

  1. OpenType features should be as easy to apply as bold and italics.
  2. OpenType features should cascade predictably.
  3. OpenType features should fallback gracefully.

This is described in more detail in the design decisions. The following examples are supported on Chrome, Firefox, and Internet Explorer 10+ and fallback as gracefully elsewhere. Works on its own, or alongside frameworks like Basscss.

Get started

Utility OpenType is ready to use with Sass, PostCSS, or vanilla CSS. If you’re using Sass or PostCSS, install it through npm:

npm install --save utility-opentype

Then, include it within your source files:

@import "utility-opentype";

If you’re using Sass without Eyeglass modules, you will need to include the actual path to the file in the node_modules directory, for example:

@import "../node_modules/utility-opentype/css/utility-opentype";

If you’d like to use the css directly, download the latest version of the compiled file, or reference the hosted CDN version in your HTML:

<link href="https://cdn.rawgit.com/kennethormandy/utility-opentype/master/css/utility-opentype.min.css" rel="stylesheet">

That’s it! You’re ready to use the classes within your markup.

Classes

Read the full docs with examples.

  • .liga – Common Ligatures
  • .dlig – Discretionary Ligatures
  • .smcp – Proper Small Caps
  • .c2sc – Caps to Small Caps
  • .caps – Small Caps and Caps to Small Caps, still requires docs
  • .case – Case Sensitive Forms
  • .titl - Titling alternates
  • .calt – Contextual alternates
  • .hist – Historical forms
  • .swsh – Swashes, 1–3, still requires docs
  • .salt – Stylistic Alternates, numbered 1–3 classes still require docs
  • .ss01 – Stylistic Sets, 1–20, still requires docs
  • .frac – Diagonal Fractions
  • .afrc – Alternate Fractions, still requires docs
  • .ordn – Ordinals
  • .sups – Superscripts
  • .subs – Subscripts
  • .sinf – Scientific Inferiors
  • .lnum – Lining numbers
  • .onum – Oldstyle numbers
  • .pnum – Proportinal numbers
  • .tnum – Tabular numbers
  • .zero – Slashes Zero

Running locally

git clone https://github.com/kennethormandy/utility-opentype
cd utility-opentype

# Install development dependencies
npm install

# Run the test basic PostCSS tests
npm test

License

The MIT License (MIT)

Copyright © 2015 Kenneth Ormandy

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].