Documentation
¶
Overview ¶
Package sourcecodepro embeds Source Code Pro, a variable font upstream (bundled at its default master).
License: OFL-1.1. Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. Upstream: https://github.com/google/fonts/tree/main/ofl/sourcecodepro
Source Code Pro 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 Source Code Pro 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 Source Code Pro, ready for opentype.Parse.
Functions ¶
This section is empty.
Types ¶
This section is empty.