names

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: GPL-3.0 Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromUnicode

func FromUnicode(r rune) string

FromUnicode find the PostScript glyph name for a unicode character.

func ToUnicode

func ToUnicode(name string, dingbats bool) []rune

ToUnicode maps a Type1 Glyph name to a sequence of unicode characters. This implements the algorithm documented at https://github.com/adobe-type-tools/agl-specification .

For the ".notdef" glyph, an empty slice is returned.

TODO(voss): get rid of the dingbats parameter, and implement a separate function for dingbats.

Types

This section is empty.

Jump to

Keyboard shortcuts

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