module Hpdf::Base14

Overview

Base14 fonts are built-in font of PDF, and all the Viewer applications can display these fonts. An application can get a font-handle of a base14 font any time by invoking Doc#font. The size of pdf files which use base14 fonts become smaller than those which use other type of fonts. Moreover, a processing that creates the PDF file is fast because of that there is no overhead that loads the font. However, base14 fonts are only available to display latin1 character set. To use other character set, an application have to use other type of font.

Included Modules

Defined in:

hpdf/fonts.cr

Constant Summary

All = [Courier, CourierBold, CourierOblique, CourierBoldOblique, Helvetica, HelveticaBold, HelveticaOblique, HelveticaBoldOblique, TimesRoman, TimesBold, TimesItalic, TimesBoldItalic, Symbol, ZapfDingbats]
Courier = "Courier"
CourierBold = "Courier-Bold"
CourierBoldOblique = "Courier-BoldOblique"
CourierOblique = "Courier-Oblique"
Helvetica = "Helvetica"
HelveticaBold = "Helvetica-Bold"
HelveticaBoldOblique = "Helvetica-BoldOblique"
HelveticaOblique = "Helvetica-Oblique"
Symbol = "Symbol"
TimesBold = "Times-Bold"
TimesBoldItalic = "Times-BoldItalic"
TimesItalic = "Times-Italic"
TimesRoman = "Times-Roman"
ZapfDingbats = "ZapfDingbats"