textlayout – github.com/benoitkugler/textlayout Directories

textlayout/ directory

Directories

PathSynopsis
fontsPackage fonts provides supports for parsing several font formats (postscript, bitmap and truetype) and provides a common API, inspired by freetype.
fonts/binaryreaderPackage binaryreader provides a convenient reader to decode (big endian) binary content.
fonts/bitmapPacakge bitmap provides support for bitmap fonts found in .pcf files.
fonts/glyphsnamescopied from https://git.maze.io/go/unipdf/src/branch/master/internal/textencoding
fonts/psinterpreterPackage psinterpreter implement a Postscript interpreter required to parse .CFF files, and Type1 and Type2 Charstrings.
fonts/simpleencodingsSimple encodings map a subset of the unicode characters (at most 256) to a set of single bytes.
fonts/truetypePackage truetype provides support for OpenType and TrueType font formats, used in PDF.
fonts/type1Package type1 implements a parser for Adobe Type1 fonts, defined by .afm files (https://www.adobe.com/content/dam/acom/en/devnet/font/pdfs/5004.AFM_Spec.pdf) and .pdf files (https://www.adobe.com/content/dam/acom/en/devnet/font/pdfs/T1_SPEC.pdf)
fonts/type1CPackage 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.
graphitePackage graphite Graphite implements a "smart font" system developed specifically to handle the complexities of lesser-known languages of the world.
harfbuzzPackage harfbuzz provides advanced text layout for various scripts and languages, with font-aware substitutions and positionning.
harfbuzz/langsGenerator of the mapping from OpenType tags to BCP 47 tags && vice versa.
language
unicodedataPackage unicodedata provides additional lookup functions for unicode properties, not covered by the standard package unicode.
unicodedata/generateGenerate lookup function for Unicode properties not covered by the standard package unicode.
Version
v0.3.1 (latest)
Published
Nov 14, 2024
Platform
linux/amd64
Last checked
5 days ago

Tools for package owners.