Documentation ¶
Overview ¶
Package otcmerge combines TrueType / OpenType font files (.ttf / .otf) into TrueType / OpenType Collection files (.ttc / .otc).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Merge ¶
func Merge(fonts []io.ReadSeeker, out io.WriteSeeker, options ...Option) error
Merge combines the given fonts (in SFNT format) into a single OpenType Collection file. The input fonts must be individual TrueType / OpenType files; collections are not supported (and so this function cannot be used recursively). This merger is lossless. Merge will de-duplicate SFNT tables that are bit-for-bit matches, but it does not perform any other merging. Specifically, Merge does not parse the contents of SFNT tables.
Types ¶
Click to show internal directories.
Click to hide internal directories.