chickadee » pdf » register-font

register-font DOC FONT-OBJ #!optional PREFIXprocedure

Registers an already-built font dictionary object FONT-OBJ (see build-indirect-obj and build-dictionary) in DOC: assigns it a resource name starting with PREFIX (default "/CLF", the same prefix build-font uses) and records it so every page's /Font resource includes it. Returns FONT-OBJ.

build-font is written in terms of register-font. Call register-font directly when building a font dictionary by hand, e.g. for a font type build-font does not support.