class Fontist::Import::Google::DataSources::Ttf
Data source for fetching TTF (TrueType Font) format fonts
This data source fetches fonts from the standard Google Fonts API endpoint, which returns font files in TTF format.
Public Class Methods
Source
# File lib/fontist/import/google/data_sources/ttf.rb, line 15 def initialize(api_key:) super(api_key: api_key, capability: nil) end
Initialize a new TTF data source
@param api_key [String] Google Fonts API key
Calls superclass method
Fontist::Import::Google::DataSources::Base::new