Documentation
¶
Overview ¶
Package fonttest makes test fonts from the fonts that the module bundles: the same outlines under another character map, so that a test can have many fonts that cover different characters, and a font whose character map cannot be read, without keeping font files in the repository.
It is for tests only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Replace ¶
Replace returns a copy of the TrueType font with the content of some tables replaced (by tag).
Flutter: no counterpart
func WithBrokenCmap ¶
WithBrokenCmap returns a copy of the font whose cmap table is too short to be one.
Flutter: no counterpart
func WithCmap ¶
WithCmap returns a copy of the TrueType font ttf in which the character map maps exactly the given runes (in increasing order), the i-th of them to glyph i+1 of the font. The other tables are the font's, so the copy is as large and as slow to parse as the font is.
Flutter: no counterpart
Types ¶
This section is empty.