Documentation
¶
Overview ¶
Package dmsans embeds DM Sans, a variable font upstream (bundled at its default master).
License: OFL-1.1. Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts) Upstream: https://github.com/google/fonts/tree/main/ofl/dmsans
DM Sans is a variable font upstream; the bundled .ttf is pinned at its default master (static instance). go-opentype has no variable-font support, so it always renders that default instance — OpenType Variations axes are not applied.
Importing this package links only DM Sans into your binary. No other bundled family is compiled in unless you import its package too.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var TTF []byte
TTF holds the raw TrueType bytes of DM Sans, ready for opentype.Parse.
Functions ¶
This section is empty.
Types ¶
This section is empty.