package corefont

import "github.com/edragoev1/pdfjet/v9/src/corefont"

Package corefont defines the metrics of the 14 standard PDF fonts.

Index

Types

type CoreFont

type CoreFont struct {
	Name               string
	Notice             string
	BBoxLLx            int16
	BBoxLLy            int16
	BBoxURx            int16
	BBoxURy            int16
	UnderlinePosition  int16
	UnderlineThickness int16
	Metrics            [][]int
}

CoreFont structure.

func Courier
func Courier() *CoreFont

Courier returns the core font.

func CourierBold
func CourierBold() *CoreFont

CourierBold returns the core font.

func CourierBoldOblique
func CourierBoldOblique() *CoreFont

CourierBoldOblique returns the core font.

func CourierOblique
func CourierOblique() *CoreFont

CourierOblique returns the core font.

func Helvetica
func Helvetica() *CoreFont

Helvetica returns the core font.

func HelveticaBold
func HelveticaBold() *CoreFont

HelveticaBold returns the core font.

func HelveticaBoldOblique
func HelveticaBoldOblique() *CoreFont

HelveticaBoldOblique returns the core font.

func HelveticaOblique
func HelveticaOblique() *CoreFont

HelveticaOblique returns the core font.

func Symbol
func Symbol() *CoreFont

Symbol returns the core font.

func TimesBold
func TimesBold() *CoreFont

TimesBold returns the core font.

func TimesBoldItalic
func TimesBoldItalic() *CoreFont

TimesBoldItalic returns the core font.

func TimesItalic
func TimesItalic() *CoreFont

TimesItalic returns the core font.

func TimesRoman
func TimesRoman() *CoreFont

TimesRoman returns the core font.

func ZapfDingbats
func ZapfDingbats() *CoreFont

ZapfDingbats returns the core font.