Name
  doc:UseCNTFonts -- enable traditional Chinese fonts
Synopsis

      status = doc:UseCNTFonts()

Function
  `doc:UseCNTFonts()` enables traditional Chinese fonts. After `doc:UseCNTFonts()` has been called, an application can use the following traditional Chinese fonts:

  When doc:UseCNSFonts() succeeds, it returns `#HPDF_OK`. Otherwise, it returns an error code and the error handler is invoked.

Inputs
  none

Results
  status
    status code
Errors
  `#HPDF_INVALID_DOCUMENT` - An invalid document handle was set.

  `#HPDF_FAILED_TO_ALLOC_MEM` - Memory allocation failed.

  `#HPDF_DUPLICATE_REGISTRATION` - The font of the same name has already been registered.

Show TOC