package
0.0.0-20240329101916-eee87fb235a3
Repository: https://github.com/go-text/typesetting-utils.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Generator of the mapping from OpenType tags to BCP 47 tags and vice versa.
Run go run main.go rune_coverage.go <OUTPUT_DIR>.
No description provided by the author
# Functions
NewLanguage canonicalizes the language input (as a BCP 47 language tag), by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters, numbers and '-'.
# Type aliases
Language store the canonicalized BCP 47 tag, which has the generic form <lang>-<country>-<other tags>...