C
SafeRenderer::QSafeFontException Class
class SafeRenderer::QSafeFontExceptionAn instance of QSafeFontException is thrown in case of an exception. More...
| Header: | #include <QSafeFontException> |
| Since: | QtSafeRenderer 2.1 |
| Inherits: | SafeRenderer::QSafeException |
Public Types
| enum class | SafeFontException { UnsupportedCmapFormat, InvalidFontHeader, InvalidGlyphMap, GlyphNotFound, InvalidCmapTable, …, MaxNumOfFontsExceed } |
Public Functions
| QSafeFontException(SafeRenderer::QSafeFontException &&other) | |
| SafeRenderer::QSafeFontException & | operator=(SafeRenderer::QSafeFontException &&other) |
| SafeRenderer::QSafeFontException & | operator=(const SafeRenderer::QSafeFontException &other) |
Detailed Description
Instance of this class is thrown when an exception occurs related to safe font and font readers.
Member Type Documentation
enum class QSafeFontException::SafeFontException
This enum describes the id of a thrown safe font exception.
| Constant | Value | Description |
|---|---|---|
SafeRenderer::QSafeFontException::SafeFontException::UnsupportedCmapFormat | 0 | Cmap format in the font file is not supported. |
SafeRenderer::QSafeFontException::SafeFontException::InvalidFontHeader | 1 | Header in font file is invalid. |
SafeRenderer::QSafeFontException::SafeFontException::InvalidGlyphMap | 2 | Glyph map in the font file is invalid. |
SafeRenderer::QSafeFontException::SafeFontException::GlyphNotFound | 3 | Glyph not found for the requested character. |
SafeRenderer::QSafeFontException::SafeFontException::InvalidCmapTable | 4 | Cmap table in the font file is invalid. |
SafeRenderer::QSafeFontException::SafeFontException::GlyphMapNotFound | 5 | Glyph map is missing in the font file. |
SafeRenderer::QSafeFontException::SafeFontException::DataSizeMismatch | 6 | Data index is out of boundary. |
SafeRenderer::QSafeFontException::SafeFontException::OutOfCache | 8 | Font file reader is out of cache. |
SafeRenderer::QSafeFontException::SafeFontException::DataCorrupted | 9 | The data read is corrupted. |
SafeRenderer::QSafeFontException::SafeFontException::MaxNumOfFontsExceed | 7 | Font cache is full. |
Member Function Documentation
[constexpr noexcept default] QSafeFontException::QSafeFontException(SafeRenderer::QSafeFontException &&other)
Move-constructs an instance of QSafeFontException.
[delete] SafeRenderer::QSafeFontException &QSafeFontException::operator=(SafeRenderer::QSafeFontException &&other)
Move-assigns other to this QSafeFontException instance. This function is deleted.
[delete] SafeRenderer::QSafeFontException &QSafeFontException::operator=(const SafeRenderer::QSafeFontException &other)
Copy-assigns other to this QSafeFontException instance. This function is deleted.
Available under certain Qt licenses.
Find out more.