Skip to content

darklightcode/Font-Face-CSS-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Font-Face-CSS-Generator

Generate the fonts you need based on your url link. You can use this library for your CDN to generate your css fonts on the spot.

Usage

Run from your shell 'npm run start-default' or 'php -S 0.0.0.0:9000 router/router.php' then go to the url:

http://localhost:9000/?font-family=Roboto,OleoScript

Query Options

font-family - Type your folders name that contains the fonts

list_fonts - Shows all existing fonts from your FONTS folder so you can use them with font-family parameter

available - Shows an output at the beginning of each generated font with all the font families found.

Callback Fonts / Generic Font Types

Create a file "default.genericfont" in your font folder and write your callback font into the file: cursive, fantasy, monospace, serif, sans-serif

You can read more about fonts on w3.org or here

About

Generate the fonts you need based on your url link.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages