melt

package module
v0.0.0-...-041ae48 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

README

melt

GitHub release GoDoc License

melt provides a set of tools related with fonts, in Go.

Example

$> go get github.com/go-fonts/melt/cmd/otf2otc
$> otf2otc -h
Usage: otf2otc [options] file1.ttf file2.ttf [file3.ttf [...]]

ex:
 $> otf2otc -o foo.otc file1.ttf file2.ttf
 $> otf2otc -o foo.otc file1.ttf file2.otf file3.otf file4.ttf

options:
  -o string
    	path to output OpenType Collection file (default "out.otc")


$> otf2otc -o out.otc LiberationMono-*.ttf
$> ll out.otc
-rw-r--r-- 1 binet binet 1.2M Jun 17 11:27 out.otc

Documentation

Overview

Package melt provides tools for fonts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteCollection

func WriteCollection(w io.Writer, ttfs ...*sfnt.Font) error

WriteCollection writes the slice of sfnt fonts to the provided writer as an OpenType font collection.

Types

This section is empty.

Directories

Path Synopsis
cmd
otf2otc
Command otf2otc creates an OpenType Collection font file from a set of OpenType/TTF font files.
Command otf2otc creates an OpenType Collection font file from a set of OpenType/TTF font files.

Jump to

Keyboard shortcuts

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