3784 {
3790
3792
3793
3796
3797
3799 {
3801 " unsupported `cmap' table format = %d\n",
3804 }
3805
3807
3808 for ( ; num_cmaps > 0 &&
p + 8 <=
limit; num_cmaps-- )
3809 {
3812
3813
3817 charmap.
encoding = FT_ENCODING_NONE;
3819
3820 if (
offset && offset <= face->cmap_size - 2 )
3821 {
3826
3827
3828 for ( ; *pclazz; pclazz++ )
3829 {
3830 clazz = *pclazz;
3832 {
3835
3836
3839
3841
3843 {
3844
3846 }
3847
3848 if ( !
valid.validator.error )
3849 {
3851
3852
3853
3854
3855
3856
3858 cmap, &charmap, &ttcmap ) )
3859 {
3860
3861
3863 }
3864 }
3865 else
3866 {
3868 " broken cmap sub-table ignored\n" ));
3869 }
3870 break;
3871 }
3872 }
3873
3874 if ( !*pclazz )
3875 {
3877 " unsupported cmap sub-table ignored\n" ));
3878 }
3879 }
3880 }
3881
3883 }
#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