dummyfont

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Embed

func Embed(w pdf.Putter, defaultName pdf.Name) font.Embedded

Embed installs a dummy font into the given PDF file. The only glyphs available are the space and the capital letter A. The font is embedded as a simple CFF font.

If a write error on w occurs, the function panics.

func EmbedCFF

func EmbedCFF(w pdf.Putter, info *pdfcff.FontDictSimple, defaultName pdf.Name) font.Embedded

Types

This section is empty.

Jump to

Keyboard shortcuts

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