Type.js is a font designer's dream, allowing them to adjust a page's text display properties via CSS.
This eliminates the need to modulate (edit) the Web font, letting him control the display properties on any font, may it be a standard font family or a custom one.
Support is included for editing the following font properties:
- kerning pairs (spacing between different characters)
- rag adjusting (line to break in a paragraph)
- text widows (orphaned words on the last line of text)
- min/max font-size
For each one of these details an unique CSS property is added, which developers can embed in their CSS files with their desired selectors.
Since CSS is loaded in three ways, it is worth mentioning that the Type.js library is recommended for usage only with on-page <style> tags only, and not with inline CSS or external stylesheets.
Requirements:
- JavaScript enabled on client side
Comments not found