#include "t42drivr.h"
#include "t42objs.h"
#include "t42error.h"
Go to the source code of this file.
◆ FT_COMPONENT
#define FT_COMPONENT trace_t42 |
◆ t42_get_glyph_name()
Definition at line 60 of file t42drivr.c.
64 {
66
68 }
#define FT_STRCPYN(dst, src, size)
GLenum GLuint GLint GLenum face
◆ T42_Get_Interface()
Definition at line 191 of file t42drivr.c.
193 {
195
197 }
ft_service_list_lookup(FT_ServiceDesc service_descriptors, const char *service_id)
static const FT_ServiceDescRec t42_services[]
◆ t42_get_name_index()
Definition at line 72 of file t42drivr.c.
74 {
76
77
78 for (
i = 0;
i <
face->type1.num_glyphs;
i++ )
79 {
81
82
83 if ( glyph_name[0] == gname[0] && !
ft_strcmp( glyph_name, gname ) )
86 }
87
88 return 0;
89 }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
◆ t42_get_ps_font_name()
Definition at line 106 of file t42drivr.c.
107 {
108 return (
const char*)
face->type1.font_name;
109 }
◆ t42_ps_get_font_extra()
Definition at line 135 of file t42drivr.c.
137 {
139
141 }
FT_BEGIN_HEADER struct T42_FaceRec_ * T42_Face
◆ t42_ps_get_font_info()
◆ t42_ps_get_font_private()
◆ t42_ps_has_glyph_names()
Definition at line 145 of file t42drivr.c.
146 {
148
149 return 1;
150 }
◆ t42_driver_class
◆ t42_service_glyph_dict
const FT_Service_GlyphDictRec t42_service_glyph_dict |
|
static |
Initial value:=
{
}
FT_UInt(* FT_GlyphDict_NameIndexFunc)(FT_Face face, FT_String *glyph_name)
FT_Error(* FT_GlyphDict_GetNameFunc)(FT_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max)
static FT_Error t42_get_glyph_name(T42_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max)
static FT_UInt t42_get_name_index(T42_Face face, FT_String *glyph_name)
Definition at line 92 of file t42drivr.c.
◆ t42_service_ps_font_name
const FT_Service_PsFontNameRec t42_service_ps_font_name |
|
static |
Initial value:=
{
}
const char *(* FT_PsName_GetFunc)(FT_Face face)
static const char * t42_get_ps_font_name(T42_Face face)
Definition at line 112 of file t42drivr.c.
◆ t42_service_ps_info
const FT_Service_PsInfoRec t42_service_ps_info |
|
static |
Initial value:=
{
}
FT_Long(* PS_GetFontValueFunc)(FT_Face face, PS_Dict_Keys key, FT_UInt idx, void *value, FT_Long value_len)
FT_Error(* PS_GetFontInfoFunc)(FT_Face face, PS_FontInfoRec *afont_info)
FT_Int(* PS_HasGlyphNamesFunc)(FT_Face face)
FT_Error(* PS_GetFontExtraFunc)(FT_Face face, PS_FontExtraRec *afont_extra)
FT_Error(* PS_GetFontPrivateFunc)(FT_Face face, PS_PrivateRec *afont_private)
static FT_Error t42_ps_get_font_extra(FT_Face face, PS_FontExtraRec *afont_extra)
static FT_Error t42_ps_get_font_info(FT_Face face, PS_FontInfoRec *afont_info)
static FT_Error t42_ps_get_font_private(FT_Face face, PS_PrivateRec *afont_private)
static FT_Int t42_ps_has_glyph_names(FT_Face face)
Definition at line 163 of file t42drivr.c.
◆ t42_services
Initial value:=
{
}
#define FT_SERVICE_ID_FONT_FORMAT
#define FT_FONT_FORMAT_TYPE_42
#define FT_SERVICE_ID_GLYPH_DICT
#define FT_SERVICE_ID_POSTSCRIPT_FONT_NAME
#define FT_SERVICE_ID_POSTSCRIPT_INFO
static const FT_Service_PsFontNameRec t42_service_ps_font_name
static const FT_Service_GlyphDictRec t42_service_glyph_dict
static const FT_Service_PsInfoRec t42_service_ps_info
Definition at line 180 of file t42drivr.c.
Referenced by T42_Get_Interface().