Sized font value built from a Skia.Typeface.
{:ok, typeface} = Skia.Typeface.match_family("Inter", weight: 700)
font = Skia.Font.new(typeface, size: 18)
Summary
Types
@type t() :: %Skia.Font{size: float() | nil, typeface: Skia.Typeface.t() | nil}
Functions
@spec glyph_ids(t(), String.t()) :: {:ok, [non_neg_integer()]} | {:error, atom()}
@spec new( Skia.Typeface.t() | nil, keyword() ) :: t()