1#ifndef art__paperback__graphics__standard_font_hxx_
2#define art__paperback__graphics__standard_font_hxx_
4#include <art/paperback/types.hxx>
5#include <art/paperback/forward.hxx>
7#include <art/paperback/graphics/font.hxx>
33 name()
const override;
58 unique_ptr<Internal> internal;
Represents a COS-file object.
Definition object.hxx:16
Definition document.hxx:12
Font()
Constructor.
Definition font.hxx:94
int16_t get_descent() const override
Definition standard-font.cxx:102
Text_width get_text_width(string const &) override
text is assumed to be encoded in UTF-8 and will be decoded as such during text width computation.
Definition standard-font.cxx:132
Carousel::Object object() override
Get the COS object for this font.
Definition standard-font.cxx:77
int16_t get_ascent() const override
Definition standard-font.cxx:93
uint16_t get_xheight() const override
Definition standard-font.cxx:111
uint16_t get_capheight() const override
Definition standard-font.cxx:120
~Standard_font() noexcept override
Destructor.
Definition standard-font.cxx:65
Standard_font(Document &, string const &)
Constructor.
Definition standard-font.cxx:45
Document & document() override
Access the parent document of this font.
Definition standard-font.cxx:70
string name() const override
Get the name of the font.
Definition standard-font.cxx:84
Graphics namespace.
Definition forward.hxx:105
Definition standard-font.cxx:18
Represents text width computations.
Definition font.hxx:13