Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

lil5/google-font-localizer

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Font Localizer

Usage

  1. Retrieve a google fonts css file
    • From google fonts website
      1. Go to https://fonts.google.com/ and select your font.
      2. Under the Selected famities sidenav, find the text aria with HTML code.
      3. Copy the url that begins with https://fonts.googleapis.com/css2?family... to your clipboard.
    • Or from another website
      1. Right click and inspect element.
      2. Look for this element<link href="https://fonts.googleapis.com/css2?family=..." rel="stylesheet"> under the <head>
      3. Copy the url that begins with https://fonts.googleapis.com/css2?family... to your clipboard.
  2. Save css file
    1. Create a directory for the fonts to live in. e.g.: mkdir -p fonts/roboto
    2. Create the style.css file there and paste the contents of your clipboard in there.
  3. Run the binary google-font-localizer in the terminal in that directory.

About

Downloads Fonts of Google fonts and adapts to local use

Topics

Resources

License

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.