sourcecodepro

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

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

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL