class Fontist::Import::Google::DataSources::Woff2
Data source for fetching WOFF2 (Web Open Font Format 2) fonts
This data source fetches fonts from the Google Fonts API with the WOFF2 capability. The response includes fonts in WOFF2 format, which is optimized for web delivery.
Constants
- CAPABILITY
Public Class Methods
Source
# File lib/fontist/import/google/data_sources/woff2.rb, line 18 def initialize(api_key:) super(api_key: api_key, capability: CAPABILITY) end
Initialize a new WOFF2 data source
@param api_key [String] Google Fonts API key
Calls superclass method
Fontist::Import::Google::DataSources::Base::new