|
libart-paperback 0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
|
Represents a standard PDF font. More...
#include <art/paperback/graphics/standard-font.hxx>

Classes | |
| struct | Internal |
Public Member Functions | |
| Standard_font (Document &, string const &) | |
| Constructor. | |
| ~Standard_font () noexcept override | |
| Destructor. | |
| Document & | document () override |
| Access the parent document of this font. | |
| Carousel::Object | object () override |
| Get the COS object for this font. | |
| string | name () const override |
| Get the name of the font. | |
| int16_t | get_ascent () const override |
| int16_t | get_descent () const override |
| uint16_t | get_xheight () const override |
| uint16_t | get_capheight () const override |
| 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. | |
Private Member Functions | |
| Standard_font (Standard_font const &)=delete | |
| Standard_font (Standard_font &&)=delete | |
| Standard_font & | operator= (Standard_font const &)=delete |
| Standard_font & | operator= (Standard_font &&)=delete |
Private Attributes | |
| unique_ptr< Internal > | internal |
Represents a standard PDF font.
This class represents one of the 14 standard fonts supported by the PDF-specification.
| Art::Paperback::Graphics::Standard_font::Standard_font | ( | Document & | document, |
| string const & | base_font ) |
Constructor.
| document | A reference to the parent document. |
| base_font | The name of the base font. |
|
overridenoexcept |
Destructor.
|
overridevirtual |
Access the parent document of this font.
Implements Art::Paperback::Graphics::Font.
|
overridevirtual |
Get the COS object for this font.
Implements Art::Paperback::Graphics::Font.
|
overridevirtual |
Get the name of the font.
Implements Art::Paperback::Graphics::Font.
|
overridevirtual |
Implements Art::Paperback::Graphics::Font.
|
overridevirtual |
Implements Art::Paperback::Graphics::Font.
|
overridevirtual |
Implements Art::Paperback::Graphics::Font.
|
overridevirtual |
Implements Art::Paperback::Graphics::Font.
|
overridevirtual |
text is assumed to be encoded in UTF-8 and will be decoded as such during text width computation.
| text | The text for which to compute metrics. |
Implements Art::Paperback::Graphics::Font.