Skip to content

spotbot2k/webfont-generator-bundle

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

Contao 4 Webfont Generator Bundle

Helps you to manage your self-hosted webfonts as an alternative to the Google fonts API.

Why

As you might know, the usage of Google Services is not fully cmplient with the new GPDR, so hosting your own fonts is safer. As a bonus you can quickly switch fonts and styles in your layout.

Installation

Using Contao Manager

Just find it, install and update your database

Manual installation

Via ssh go to your contao directory (not webroot, aka "/web") and type

composer require spotbot2k/webfont-generator-bundle

Things to be aware of

File picker will not work in contao 4.3. It is about time to upgrae anyway.

Please use only free or properly licensed fonts.

Where to get fonts

fontsquirrel.com fontlibrary.org

What does work

  • Generate and load font CSS
  • Manage font styles (bold, italic etc.)
  • Assign fonts to CSS selectors automaticly
  • Tested on Contao 4.11

About

A bundle for Contao 4 CMS that helps you to manage your webfonts as an alternative to the Google API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages