3769 {
3775
3777
3778
3781
3782
3784 {
3786 " unsupported `cmap' table format = %d\n",
3789 }
3790
3792
3793 for ( ; num_cmaps > 0 &&
p + 8 <=
limit; num_cmaps-- )
3794 {
3797
3798
3802 charmap.
encoding = FT_ENCODING_NONE;
3804
3805 if (
offset && offset <= face->cmap_size - 2 )
3806 {
3811
3812
3813 for ( ; *pclazz; pclazz++ )
3814 {
3815 clazz = *pclazz;
3817 {
3820
3821
3824
3826
3828 {
3829
3831 }
3832
3833 if ( !
valid.validator.error )
3834 {
3836
3837
3838
3839
3840
3841
3843 cmap, &charmap, &ttcmap ) )
3844 {
3845
3846
3848 }
3849 }
3850 else
3851 {
3853 " broken cmap sub-table ignored\n" ));
3854 }
3855 break;
3856 }
3857 }
3858
3859 if ( !*pclazz )
3860 {
3862 " unsupported cmap sub-table ignored\n" ));
3863 }
3864 }
3865 }
3866
3868 }
#define FT_TRACE0(varformat)
#define FT_ERROR(varformat)
#define FT_FACE_LIBRARY(x)
FT_CMap_New(FT_CMap_Class clazz, FT_Pointer init_data, FT_CharMap charmap, FT_CMap *acmap)
ft_validator_init(FT_Validator valid, const FT_Byte *base, const FT_Byte *limit, FT_ValidationLevel level)
GLenum GLuint GLint GLenum face
TT_CMap_ValidateFunc validate
static const TT_CMap_Class tt_cmap_classes[]
struct TT_CMapRec_ * TT_CMap