Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_freetype.h File Reference

(0ccf980226462398d5097987466bcffd8236e1e9)

#include <ft2build.h>
#include <memory>
#include "core/fxcrt/span.h"
Include dependency graph for fx_freetype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FXFTFaceRecDeleter
struct  FXFTLibraryRecDeleter
struct  FXFTMMVarDeleter
class  ScopedFXFTMMVar

Macros

#define FXFT_Get_Glyph_HoriBearingX(face)
#define FXFT_Get_Glyph_HoriBearingY(face)
#define FXFT_Get_Glyph_Width(face)
#define FXFT_Get_Glyph_Height(face)
#define FXFT_Get_Glyph_HoriAdvance(face)

Typedefs

using FXFT_LibraryRec = struct FT_LibraryRec_
using FXFT_FaceRec = struct FT_FaceRec_
using FXFT_StreamRec = struct FT_StreamRec_
using ScopedFXFTFaceRec = std::unique_ptr<FXFT_FaceRec, FXFTFaceRecDeleter>
using ScopedFXFTLibraryRec

Functions

int FXFT_unicode_from_adobe_name (const char *glyph_name)
void FXFT_adobe_name_from_unicode (pdfium::span< char > name_buf, wchar_t unicode)

Macro Definition Documentation

◆ FXFT_Get_Glyph_Height

#define FXFT_Get_Glyph_Height ( face)
Value:
(face)->glyph->metrics.height
GLenum face

Definition at line 63 of file fx_freetype.h.

◆ FXFT_Get_Glyph_HoriAdvance

#define FXFT_Get_Glyph_HoriAdvance ( face)
Value:
(face)->glyph->metrics.horiAdvance

Definition at line 64 of file fx_freetype.h.

◆ FXFT_Get_Glyph_HoriBearingX

#define FXFT_Get_Glyph_HoriBearingX ( face)
Value:
(face)->glyph->metrics.horiBearingX

Definition at line 60 of file fx_freetype.h.

◆ FXFT_Get_Glyph_HoriBearingY

#define FXFT_Get_Glyph_HoriBearingY ( face)
Value:
(face)->glyph->metrics.horiBearingY

Definition at line 61 of file fx_freetype.h.

◆ FXFT_Get_Glyph_Width

#define FXFT_Get_Glyph_Width ( face)
Value:
(face)->glyph->metrics.width

Definition at line 62 of file fx_freetype.h.

Typedef Documentation

◆ FXFT_FaceRec

using FXFT_FaceRec = struct FT_FaceRec_

Definition at line 24 of file fx_freetype.h.

◆ FXFT_LibraryRec

using FXFT_LibraryRec = struct FT_LibraryRec_

Definition at line 23 of file fx_freetype.h.

◆ FXFT_StreamRec

using FXFT_StreamRec = struct FT_StreamRec_

Definition at line 25 of file fx_freetype.h.

◆ ScopedFXFTFaceRec

Definition at line 39 of file fx_freetype.h.

◆ ScopedFXFTLibraryRec

Initial value:
std::unique_ptr<FXFT_LibraryRec, FXFTLibraryRecDeleter>

Definition at line 40 of file fx_freetype.h.

Function Documentation

◆ FXFT_adobe_name_from_unicode()

void FXFT_adobe_name_from_unicode ( pdfium::span< char > name_buf,
wchar_t unicode )

Definition at line 216 of file fx_freetype.cpp.

◆ FXFT_unicode_from_adobe_name()

int FXFT_unicode_from_adobe_name ( const char * glyph_name)

Definition at line 108 of file fx_freetype.cpp.

Referenced by UnicodeFromAdobeName().

Here is the caller graph for this function: