C
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 | SafeFontException { UnsupportedCmapFormat, InvalidFontHeader, InvalidGlyphMap, GlyphNotFound, InvalidCmapTable, …, MaxNumOfFontsExceed } |
Detailed Description
Instance of this class is thrown when an exception occurs related to safe font and font readers.
Member Type Documentation
enum QSafeFontException::SafeFontException
This enum describes the id of a thrown safe font exception.
Constant | Value | Description |
---|---|---|
SafeRenderer::QSafeFontException::UnsupportedCmapFormat | 0 | Cmap format in the font file is not supported. |
SafeRenderer::QSafeFontException::InvalidFontHeader | 1 | Header in font file is invalid. |
SafeRenderer::QSafeFontException::InvalidGlyphMap | 2 | Glyph map in the font file is invalid. |
SafeRenderer::QSafeFontException::GlyphNotFound | 3 | Glyph not found for the requested character. |
SafeRenderer::QSafeFontException::InvalidCmapTable | 4 | Cmap table in the font file is invalid. |
SafeRenderer::QSafeFontException::GlyphMapNotFound | 5 | Glyph map is missing in the font file. |
SafeRenderer::QSafeFontException::DataSizeMismatch | 6 | Data index is out of boundary. |
SafeRenderer::QSafeFontException::OutOfCache | 8 | Font file reader is out of cache. |
SafeRenderer::QSafeFontException::DataCorrupted | 9 | The data read is corrupted. |
SafeRenderer::QSafeFontException::MaxNumOfFontsExceed | 7 | Font cache is full. |
Available under certain Qt licenses.
Find out more.