PdfElixide.Document.Char (pdf_elixide v0.7.0)

Copy Markdown View Source

A single character extracted from a PDF page, with its zero-based page index, bounding box, font metadata, and typographic placement.

Summary

Types

t()

@type t() :: %PdfElixide.Document.Char{
  advance_width: float(),
  ascent: float(),
  bbox: PdfElixide.Geometry.Rect.t(),
  bold?: boolean(),
  color: PdfElixide.Color.t(),
  descent: float(),
  font: String.t(),
  font_size: float(),
  font_weight: non_neg_integer(),
  italic?: boolean(),
  mcid: non_neg_integer() | nil,
  monospace?: boolean(),
  origin: {float(), float()},
  page: non_neg_integer(),
  rendered_advance: float(),
  rotation: float(),
  text: String.t()
}