Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
pangoft2.h File Reference
#include <fontconfig/fontconfig.h>
#include <ft2build.h>
#include <pango/pangofc-fontmap.h>
#include <pango/pango-layout.h>
#include <pango/pangofc-font.h>

Go to the source code of this file.

Macros

#define PANGO_RENDER_TYPE_FT2   "PangoRenderFT2"
 
#define PANGO_TYPE_FT2_FONT_MAP   (pango_ft2_font_map_get_type ())
 
#define PANGO_FT2_FONT_MAP(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap))
 
#define PANGO_FT2_IS_FONT_MAP(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FT2_FONT_MAP))
 

Typedefs

typedef struct _PangoFT2FontMap PangoFT2FontMap
 
typedef void(* PangoFT2SubstituteFunc) (FcPattern *pattern, gpointer data)
 

Functions

PANGO_AVAILABLE_IN_ALL void pango_ft2_render (FT_Bitmap *bitmap, PangoFont *font, PangoGlyphString *glyphs, gint x, gint y)
 
PANGO_AVAILABLE_IN_1_6 void pango_ft2_render_transformed (FT_Bitmap *bitmap, const PangoMatrix *matrix, PangoFont *font, PangoGlyphString *glyphs, int x, int y)
 
PANGO_AVAILABLE_IN_ALL void pango_ft2_render_layout_line (FT_Bitmap *bitmap, PangoLayoutLine *line, int x, int y)
 
PANGO_AVAILABLE_IN_1_6 void pango_ft2_render_layout_line_subpixel (FT_Bitmap *bitmap, PangoLayoutLine *line, int x, int y)
 
PANGO_AVAILABLE_IN_ALL void pango_ft2_render_layout (FT_Bitmap *bitmap, PangoLayout *layout, int x, int y)
 
PANGO_AVAILABLE_IN_1_6 void pango_ft2_render_layout_subpixel (FT_Bitmap *bitmap, PangoLayout *layout, int x, int y)
 
PANGO_AVAILABLE_IN_ALL GType pango_ft2_font_map_get_type (void) G_GNUC_CONST
 
PANGO_AVAILABLE_IN_1_2 PangoFontMappango_ft2_font_map_new (void)
 
PANGO_AVAILABLE_IN_1_2 void pango_ft2_font_map_set_resolution (PangoFT2FontMap *fontmap, double dpi_x, double dpi_y)
 
void pango_ft2_font_map_set_default_substitute (PangoFT2FontMap *fontmap, PangoFT2SubstituteFunc func, gpointer data, GDestroyNotify notify)
 
void pango_ft2_font_map_substitute_changed (PangoFT2FontMap *fontmap)
 
PangoContextpango_ft2_font_map_create_context (PangoFT2FontMap *fontmap)
 
PangoContextpango_ft2_get_context (double dpi_x, double dpi_y)
 
PangoFontMappango_ft2_font_map_for_display (void)
 
PANGO_DEPRECATED void pango_ft2_shutdown_display (void)
 
PangoGlyph pango_ft2_get_unknown_glyph (PangoFont *font)
 
int pango_ft2_font_get_kerning (PangoFont *font, PangoGlyph left, PangoGlyph right)
 
FT_Face pango_ft2_font_get_face (PangoFont *font)
 
PangoCoveragepango_ft2_font_get_coverage (PangoFont *font, PangoLanguage *language)
 

Macro Definition Documentation

◆ PANGO_FT2_FONT_MAP

#define PANGO_FT2_FONT_MAP ( object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap))

Definition at line 57 of file pangoft2.h.

◆ PANGO_FT2_IS_FONT_MAP

#define PANGO_FT2_IS_FONT_MAP ( object)    (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FT2_FONT_MAP))

Definition at line 58 of file pangoft2.h.

◆ PANGO_RENDER_TYPE_FT2

#define PANGO_RENDER_TYPE_FT2   "PangoRenderFT2"

PANGO_RENDER_TYPE_FT2: (skip)

A string constant that was used to identify shape engines that work with the FreeType backend. See PANGO_RENDER_TYPE_FC for the replacement.

Definition at line 46 of file pangoft2.h.

◆ PANGO_TYPE_FT2_FONT_MAP

#define PANGO_TYPE_FT2_FONT_MAP   (pango_ft2_font_map_get_type ())

Definition at line 56 of file pangoft2.h.

Typedef Documentation

◆ PangoFT2FontMap

typedef struct _PangoFT2FontMap PangoFT2FontMap

Definition at line 61 of file pangoft2.h.

◆ PangoFT2SubstituteFunc

typedef void(* PangoFT2SubstituteFunc) (FcPattern *pattern, gpointer data)

PangoFT2SubstituteFunc: @pattern: the FcPattern to tweak. @data: user data.

Function type for doing final config tweaking on prepared FcPatterns.

Definition at line 70 of file pangoft2.h.

Function Documentation

◆ pango_ft2_font_get_coverage()

PangoCoverage * pango_ft2_font_get_coverage ( PangoFont * font,
PangoLanguage * language )

◆ pango_ft2_font_get_face()

FT_Face pango_ft2_font_get_face ( PangoFont * font)

◆ pango_ft2_font_get_kerning()

int pango_ft2_font_get_kerning ( PangoFont * font,
PangoGlyph left,
PangoGlyph right )

◆ pango_ft2_font_map_create_context()

PangoContext * pango_ft2_font_map_create_context ( PangoFT2FontMap * fontmap)

◆ pango_ft2_font_map_for_display()

PangoFontMap * pango_ft2_font_map_for_display ( void )

◆ pango_ft2_font_map_get_type()

PANGO_AVAILABLE_IN_ALL GType pango_ft2_font_map_get_type ( void )

◆ pango_ft2_font_map_new()

PANGO_AVAILABLE_IN_1_2 PangoFontMap * pango_ft2_font_map_new ( void )

◆ pango_ft2_font_map_set_default_substitute()

void pango_ft2_font_map_set_default_substitute ( PangoFT2FontMap * fontmap,
PangoFT2SubstituteFunc func,
gpointer data,
GDestroyNotify notify )

◆ pango_ft2_font_map_set_resolution()

PANGO_AVAILABLE_IN_1_2 void pango_ft2_font_map_set_resolution ( PangoFT2FontMap * fontmap,
double dpi_x,
double dpi_y )

◆ pango_ft2_font_map_substitute_changed()

void pango_ft2_font_map_substitute_changed ( PangoFT2FontMap * fontmap)

◆ pango_ft2_get_context()

PangoContext * pango_ft2_get_context ( double dpi_x,
double dpi_y )

◆ pango_ft2_get_unknown_glyph()

PangoGlyph pango_ft2_get_unknown_glyph ( PangoFont * font)

◆ pango_ft2_render()

PANGO_AVAILABLE_IN_ALL void pango_ft2_render ( FT_Bitmap * bitmap,
PangoFont * font,
PangoGlyphString * glyphs,
gint x,
gint y )

◆ pango_ft2_render_layout()

PANGO_AVAILABLE_IN_ALL void pango_ft2_render_layout ( FT_Bitmap * bitmap,
PangoLayout * layout,
int x,
int y )

◆ pango_ft2_render_layout_line()

PANGO_AVAILABLE_IN_ALL void pango_ft2_render_layout_line ( FT_Bitmap * bitmap,
PangoLayoutLine * line,
int x,
int y )

◆ pango_ft2_render_layout_line_subpixel()

PANGO_AVAILABLE_IN_1_6 void pango_ft2_render_layout_line_subpixel ( FT_Bitmap * bitmap,
PangoLayoutLine * line,
int x,
int y )

◆ pango_ft2_render_layout_subpixel()

PANGO_AVAILABLE_IN_1_6 void pango_ft2_render_layout_subpixel ( FT_Bitmap * bitmap,
PangoLayout * layout,
int x,
int y )

◆ pango_ft2_render_transformed()

PANGO_AVAILABLE_IN_1_6 void pango_ft2_render_transformed ( FT_Bitmap * bitmap,
const PangoMatrix * matrix,
PangoFont * font,
PangoGlyphString * glyphs,
int x,
int y )

◆ pango_ft2_shutdown_display()

PANGO_DEPRECATED void pango_ft2_shutdown_display ( void )