Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
338b4e88
by Werner Lemberg at 2022-02-11T19:32:49+01:00
1 changed file:
Changes:
... | ... | @@ -150,22 +150,13 @@ |
150 | 150 | }
|
151 | 151 | |
152 | 152 | |
153 | - static FT_Error
|
|
154 | - t42_ps_get_font_private( FT_Face face,
|
|
155 | - PS_PrivateRec* afont_private )
|
|
156 | - {
|
|
157 | - *afont_private = ((T42_Face)face)->type1.private_dict;
|
|
158 | - |
|
159 | - return FT_Err_Ok;
|
|
160 | - }
|
|
161 | - |
|
162 | - |
|
163 | 153 | static const FT_Service_PsInfoRec t42_service_ps_info =
|
164 | 154 | {
|
165 | 155 | (PS_GetFontInfoFunc) t42_ps_get_font_info, /* ps_get_font_info */
|
166 | 156 | (PS_GetFontExtraFunc) t42_ps_get_font_extra, /* ps_get_font_extra */
|
167 | 157 | (PS_HasGlyphNamesFunc) t42_ps_has_glyph_names, /* ps_has_glyph_names */
|
168 | - (PS_GetFontPrivateFunc)t42_ps_get_font_private, /* ps_get_font_private */
|
|
158 | + /* Type42 fonts don't have a Private dict */
|
|
159 | + (PS_GetFontPrivateFunc)NULL, /* ps_get_font_private */
|
|
169 | 160 | /* not implemented */
|
170 | 161 | (PS_GetFontValueFunc) NULL /* ps_get_font_value */
|
171 | 162 | };
|