type1c

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package type1c provides a parser for the CFF font format defined at https://www.adobe.com/content/dam/acom/en/devnet/font/pdfs/5176.CFF.pdf. It can be used to read standalone CFF font files, but is mainly used through the truetype package to read embedded CFF glyph tables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseEncoding

func ParseEncoding(file *bytes.Reader) (*simpleencodings.Encoding, error)

Parse parse a .cff font file, extracting its encoding Although CFF enables multiple font or CIDFont programs to be bundled together in a single file, embedded CFF font file in PDF or in TrueType/OpenType fonts shall consist of exactly one font or CIDFont. Thus, this function returns an error if the file contains more than one font.

Types

This section is empty.

Jump to

Keyboard shortcuts

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