The sample programs are now exposed through a single runner in this directory.
List the available samples:
go run ./samples -listRun every sample and write all PDFs into samples/:
go run ./samples -allRun a sample and write its PDF into samples/:
go run ./samples test_003_hello_world
go run ./samples test_022_emojiOpen the generated PDF after writing it:
go run ./samples -o test_003_hello_worldThe -o and -open flags both enable opening the generated file with the
platform open command.
Samples test_003_hello_world, test_004_afm_fonts, and
test_007_i18n_afm keep their historical Firefox preference when opened with
-o, since Preview does not handle their Type1 font output well.