View on GitHub


CSS `@font-face` driven Font Selection and Loading

[Raku CSS Project] / [CSS-Font-Resources] / CSS::Font :: Resources :: Source :: Local

class CSS::Font::Resources::Source::Local

local source references

Description This class is used to represent local source references.

The IO and Blob methods resolve the font using fc-match from the fontconfig package.

The Str method returns the font path.

Methods This class inherits from CSS::Font::Resources::Source and has its method available, including font-descriptor, format, IO and Blob.