Skip to content

Novis\Image\Font

A TrueType or OpenType font file that Image::withText and Image::measureText draw with. Your program reads the file itself. There are no system fonts.

Members

1 member.

MemberSignature
fromBytesfromBytes(tainted bytes $data): Font

Properties

  • $font->datatainted bytesthe bytes of the .ttf or .otf file