sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
t1tables.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * t1tables.h
4 *
5 * Basic Type 1/Type 2 tables definitions and interface (specification
6 * only).
7 *
8 * Copyright (C) 1996-2025 by
9 * David Turner, Robert Wilhelm, and Werner Lemberg.
10 *
11 * This file is part of the FreeType project, and may only be used,
12 * modified, and distributed under the terms of the FreeType project
13 * license, LICENSE.TXT. By continuing to use, modify, or distribute
14 * this file you indicate that you have read the license and
15 * understand and accept it fully.
16 *
17 */
18
19
24#ifndef T1TABLES_H_
25#define T1TABLES_H_
26
27
28#include <freetype/freetype.h>
29
30#ifdef FREETYPE_H
31#error "freetype.h of FreeType 1 has been loaded!"
32#error "Please fix the directory search order for header files"
33#error "so that freetype.h of FreeType 2 is found first."
34#endif
35
36
37FT_BEGIN_HEADER
38
39
40 /**************************************************************************
41 *
42 * @section:
43 * type1_tables
44 *
45 * @title:
46 * Type 1 Tables
47 *
48 * @abstract:
49 * Type~1-specific font tables.
50 *
51 * @description:
52 * This section contains the definition of Type~1-specific tables,
53 * including structures related to other PostScript font formats.
54 *
55 * @order:
56 * PS_FontInfoRec
57 * PS_FontInfo
58 * PS_PrivateRec
59 * PS_Private
60 *
61 * CID_FaceDictRec
62 * CID_FaceDict
63 * CID_FaceInfoRec
64 * CID_FaceInfo
65 *
66 * FT_Has_PS_Glyph_Names
67 * FT_Get_PS_Font_Info
68 * FT_Get_PS_Font_Private
69 * FT_Get_PS_Font_Value
70 *
71 * T1_Blend_Flags
72 * T1_EncodingType
73 * PS_Dict_Keys
74 *
75 */
76
77
78 /* Note that we separate font data in PS_FontInfoRec and PS_PrivateRec */
79 /* structures in order to support Multiple Master fonts. */
80
81
82 /**************************************************************************
83 *
84 * @struct:
85 * PS_FontInfoRec
86 *
87 * @description:
88 * A structure used to model a Type~1 or Type~2 FontInfo dictionary.
89 * Note that for Multiple Master fonts, each instance has its own
90 * FontInfo dictionary.
91 */
92 typedef struct PS_FontInfoRec_
93 {
94 FT_String* version;
95 FT_String* notice;
96 FT_String* full_name;
97 FT_String* family_name;
98 FT_String* weight;
99 FT_Long italic_angle;
100 FT_Bool is_fixed_pitch;
101 FT_Short underline_position;
102 FT_UShort underline_thickness;
103
104 } PS_FontInfoRec;
105
106
107 /**************************************************************************
108 *
109 * @struct:
110 * PS_FontInfo
111 *
112 * @description:
113 * A handle to a @PS_FontInfoRec structure.
114 */
115 typedef struct PS_FontInfoRec_* PS_FontInfo;
116
117
118 /**************************************************************************
119 *
120 * @struct:
121 * T1_FontInfo
122 *
123 * @description:
124 * This type is equivalent to @PS_FontInfoRec. It is deprecated but kept
125 * to maintain source compatibility between various versions of FreeType.
126 */
127 typedef PS_FontInfoRec T1_FontInfo;
128
129
130 /**************************************************************************
131 *
132 * @struct:
133 * PS_PrivateRec
134 *
135 * @description:
136 * A structure used to model a Type~1 or Type~2 private dictionary. Note
137 * that for Multiple Master fonts, each instance has its own Private
138 * dictionary.
139 */
140 typedef struct PS_PrivateRec_
141 {
142 FT_Int unique_id;
143 FT_Int lenIV;
144
145 FT_Byte num_blue_values;
146 FT_Byte num_other_blues;
147 FT_Byte num_family_blues;
148 FT_Byte num_family_other_blues;
149
150 FT_Short blue_values[14];
151 FT_Short other_blues[10];
152
153 FT_Short family_blues [14];
154 FT_Short family_other_blues[10];
155
156 FT_Fixed blue_scale;
157 FT_Int blue_shift;
158 FT_Int blue_fuzz;
159
160 FT_UShort standard_width[1];
161 FT_UShort standard_height[1];
162
163 FT_Byte num_snap_widths;
164 FT_Byte num_snap_heights;
165 FT_Bool force_bold;
166 FT_Bool round_stem_up;
167
168 FT_Short snap_widths [13]; /* including std width */
169 FT_Short snap_heights[13]; /* including std height */
170
171 FT_Fixed expansion_factor;
172
173 FT_Long language_group;
174 FT_Long password;
175
176 FT_Short min_feature[2];
177
178 } PS_PrivateRec;
179
180
181 /**************************************************************************
182 *
183 * @struct:
184 * PS_Private
185 *
186 * @description:
187 * A handle to a @PS_PrivateRec structure.
188 */
189 typedef struct PS_PrivateRec_* PS_Private;
190
191
192 /**************************************************************************
193 *
194 * @struct:
195 * T1_Private
196 *
197 * @description:
198 * This type is equivalent to @PS_PrivateRec. It is deprecated but kept
199 * to maintain source compatibility between various versions of FreeType.
200 */
201 typedef PS_PrivateRec T1_Private;
202
203
204 /**************************************************************************
205 *
206 * @enum:
207 * T1_Blend_Flags
208 *
209 * @description:
210 * A set of flags used to indicate which fields are present in a given
211 * blend dictionary (font info or private). Used to support Multiple
212 * Masters fonts.
213 *
214 * @values:
215 * T1_BLEND_UNDERLINE_POSITION ::
216 * T1_BLEND_UNDERLINE_THICKNESS ::
217 * T1_BLEND_ITALIC_ANGLE ::
218 * T1_BLEND_BLUE_VALUES ::
219 * T1_BLEND_OTHER_BLUES ::
220 * T1_BLEND_STANDARD_WIDTH ::
221 * T1_BLEND_STANDARD_HEIGHT ::
222 * T1_BLEND_STEM_SNAP_WIDTHS ::
223 * T1_BLEND_STEM_SNAP_HEIGHTS ::
224 * T1_BLEND_BLUE_SCALE ::
225 * T1_BLEND_BLUE_SHIFT ::
226 * T1_BLEND_FAMILY_BLUES ::
227 * T1_BLEND_FAMILY_OTHER_BLUES ::
228 * T1_BLEND_FORCE_BOLD ::
229 */
230 typedef enum T1_Blend_Flags_
231 {
232 /* required fields in a FontInfo blend dictionary */
233 T1_BLEND_UNDERLINE_POSITION = 0,
234 T1_BLEND_UNDERLINE_THICKNESS,
235 T1_BLEND_ITALIC_ANGLE,
236
237 /* required fields in a Private blend dictionary */
238 T1_BLEND_BLUE_VALUES,
239 T1_BLEND_OTHER_BLUES,
240 T1_BLEND_STANDARD_WIDTH,
241 T1_BLEND_STANDARD_HEIGHT,
242 T1_BLEND_STEM_SNAP_WIDTHS,
243 T1_BLEND_STEM_SNAP_HEIGHTS,
244 T1_BLEND_BLUE_SCALE,
245 T1_BLEND_BLUE_SHIFT,
246 T1_BLEND_FAMILY_BLUES,
247 T1_BLEND_FAMILY_OTHER_BLUES,
248 T1_BLEND_FORCE_BOLD,
249
250 T1_BLEND_MAX /* do not remove */
251
252 } T1_Blend_Flags;
253
254
255 /* these constants are deprecated; use the corresponding */
256 /* `T1_Blend_Flags` values instead */
257#define t1_blend_underline_position T1_BLEND_UNDERLINE_POSITION
258#define t1_blend_underline_thickness T1_BLEND_UNDERLINE_THICKNESS
259#define t1_blend_italic_angle T1_BLEND_ITALIC_ANGLE
260#define t1_blend_blue_values T1_BLEND_BLUE_VALUES
261#define t1_blend_other_blues T1_BLEND_OTHER_BLUES
262#define t1_blend_standard_widths T1_BLEND_STANDARD_WIDTH
263#define t1_blend_standard_height T1_BLEND_STANDARD_HEIGHT
264#define t1_blend_stem_snap_widths T1_BLEND_STEM_SNAP_WIDTHS
265#define t1_blend_stem_snap_heights T1_BLEND_STEM_SNAP_HEIGHTS
266#define t1_blend_blue_scale T1_BLEND_BLUE_SCALE
267#define t1_blend_blue_shift T1_BLEND_BLUE_SHIFT
268#define t1_blend_family_blues T1_BLEND_FAMILY_BLUES
269#define t1_blend_family_other_blues T1_BLEND_FAMILY_OTHER_BLUES
270#define t1_blend_force_bold T1_BLEND_FORCE_BOLD
271#define t1_blend_max T1_BLEND_MAX
272
273 /* */
274
275
276 /**************************************************************************
277 *
278 * @struct:
279 * CID_FaceDictRec
280 *
281 * @description:
282 * A structure used to represent data in a CID top-level dictionary. In
283 * most cases, they are part of the font's '/FDArray' array. Within a
284 * CID font file, such (internal) subfont dictionaries are enclosed by
285 * '%ADOBeginFontDict' and '%ADOEndFontDict' comments.
286 *
287 * Note that `CID_FaceDictRec` misses a field for the '/FontName'
288 * keyword, specifying the subfont's name (the top-level font name is
289 * given by the '/CIDFontName' keyword). This is an oversight, but it
290 * doesn't limit the 'cid' font module's functionality because FreeType
291 * neither needs this entry nor gives access to CID subfonts.
292 */
293 typedef struct CID_FaceDictRec_
294 {
295 PS_PrivateRec private_dict;
296
297 FT_UInt len_buildchar;
298 FT_Fixed forcebold_threshold;
299 FT_Pos stroke_width;
300 FT_Fixed expansion_factor; /* this is a duplicate of */
301 /* `private_dict->expansion_factor' */
302 FT_Byte paint_type;
303 FT_Byte font_type;
304 FT_Matrix font_matrix;
305 FT_Vector font_offset;
306
307 FT_UInt num_subrs;
308 FT_ULong subrmap_offset;
309 FT_UInt sd_bytes;
310
311 } CID_FaceDictRec;
312
313
314 /**************************************************************************
315 *
316 * @struct:
317 * CID_FaceDict
318 *
319 * @description:
320 * A handle to a @CID_FaceDictRec structure.
321 */
322 typedef struct CID_FaceDictRec_* CID_FaceDict;
323
324
325 /**************************************************************************
326 *
327 * @struct:
328 * CID_FontDict
329 *
330 * @description:
331 * This type is equivalent to @CID_FaceDictRec. It is deprecated but
332 * kept to maintain source compatibility between various versions of
333 * FreeType.
334 */
335 typedef CID_FaceDictRec CID_FontDict;
336
337
338 /**************************************************************************
339 *
340 * @struct:
341 * CID_FaceInfoRec
342 *
343 * @description:
344 * A structure used to represent CID Face information.
345 */
346 typedef struct CID_FaceInfoRec_
347 {
348 FT_String* cid_font_name;
349 FT_Fixed cid_version;
350 FT_Int cid_font_type;
351
352 FT_String* registry;
353 FT_String* ordering;
354 FT_Int supplement;
355
356 PS_FontInfoRec font_info;
357 FT_BBox font_bbox;
358 FT_ULong uid_base;
359
360 FT_Int num_xuid;
361 FT_ULong xuid[16];
362
363 FT_ULong cidmap_offset;
364 FT_UInt fd_bytes;
365 FT_UInt gd_bytes;
366 FT_ULong cid_count;
367
368 FT_UInt num_dicts;
369 CID_FaceDict font_dicts;
370
371 FT_ULong data_offset;
372
373 } CID_FaceInfoRec;
374
375
376 /**************************************************************************
377 *
378 * @struct:
379 * CID_FaceInfo
380 *
381 * @description:
382 * A handle to a @CID_FaceInfoRec structure.
383 */
384 typedef struct CID_FaceInfoRec_* CID_FaceInfo;
385
386
387 /**************************************************************************
388 *
389 * @struct:
390 * CID_Info
391 *
392 * @description:
393 * This type is equivalent to @CID_FaceInfoRec. It is deprecated but kept
394 * to maintain source compatibility between various versions of FreeType.
395 */
396 typedef CID_FaceInfoRec CID_Info;
397
398
399 /**************************************************************************
400 *
401 * @function:
402 * FT_Has_PS_Glyph_Names
403 *
404 * @description:
405 * Return true if a given face provides reliable PostScript glyph names.
406 * This is similar to using the @FT_HAS_GLYPH_NAMES macro, except that
407 * certain fonts (mostly TrueType) contain incorrect glyph name tables.
408 *
409 * When this function returns true, the caller is sure that the glyph
410 * names returned by @FT_Get_Glyph_Name are reliable.
411 *
412 * @input:
413 * face ::
414 * face handle
415 *
416 * @return:
417 * Boolean. True if glyph names are reliable.
418 *
419 */
420 FT_EXPORT( FT_Int )
421 FT_Has_PS_Glyph_Names( FT_Face face );
422
423
424 /**************************************************************************
425 *
426 * @function:
427 * FT_Get_PS_Font_Info
428 *
429 * @description:
430 * Retrieve the @PS_FontInfoRec structure corresponding to a given
431 * PostScript font.
432 *
433 * @input:
434 * face ::
435 * PostScript face handle.
436 *
437 * @output:
438 * afont_info ::
439 * A pointer to a @PS_FontInfoRec object.
440 *
441 * @return:
442 * FreeType error code. 0~means success.
443 *
444 * @note:
445 * String pointers within the @PS_FontInfoRec structure are owned by the
446 * face and don't need to be freed by the caller. Missing entries in the
447 * font's FontInfo dictionary are represented by `NULL` pointers.
448 *
449 * The following font formats support this feature: 'Type~1', 'Type~42',
450 * 'CFF', 'CID~Type~1'. For other font formats this function returns the
451 * `FT_Err_Invalid_Argument` error code.
452 *
453 * @example:
454 * ```
455 * PS_FontInfoRec font_info;
456 *
457 *
458 * error = FT_Get_PS_Font_Info( face, &font_info );
459 * ...
460 * ```
461 *
462 */
463 FT_EXPORT( FT_Error )
464 FT_Get_PS_Font_Info( FT_Face face,
465 PS_FontInfo afont_info );
466
467
468 /**************************************************************************
469 *
470 * @function:
471 * FT_Get_PS_Font_Private
472 *
473 * @description:
474 * Retrieve the @PS_PrivateRec structure corresponding to a given
475 * PostScript font.
476 *
477 * @input:
478 * face ::
479 * PostScript face handle.
480 *
481 * @output:
482 * afont_private ::
483 * A pointer to a @PS_PrivateRec object.
484 *
485 * @return:
486 * FreeType error code. 0~means success.
487 *
488 * @note:
489 * The string pointers within the @PS_PrivateRec structure are owned by
490 * the face and don't need to be freed by the caller.
491 *
492 * Only the 'Type~1' font format supports this feature. For other font
493 * formats this function returns the `FT_Err_Invalid_Argument` error
494 * code.
495 *
496 * @example:
497 * ```
498 * PS_PrivateRec font_private;
499 *
500 *
501 * error = FT_Get_PS_Font_Private( face, &font_private );
502 * ...
503 * ```
504 *
505 */
506 FT_EXPORT( FT_Error )
507 FT_Get_PS_Font_Private( FT_Face face,
508 PS_Private afont_private );
509
510
511 /**************************************************************************
512 *
513 * @enum:
514 * T1_EncodingType
515 *
516 * @description:
517 * An enumeration describing the 'Encoding' entry in a Type 1 dictionary.
518 *
519 * @values:
520 * T1_ENCODING_TYPE_NONE ::
521 * T1_ENCODING_TYPE_ARRAY ::
522 * T1_ENCODING_TYPE_STANDARD ::
523 * T1_ENCODING_TYPE_ISOLATIN1 ::
524 * T1_ENCODING_TYPE_EXPERT ::
525 *
526 * @since:
527 * 2.4.8
528 */
529 typedef enum T1_EncodingType_
530 {
531 T1_ENCODING_TYPE_NONE = 0,
532 T1_ENCODING_TYPE_ARRAY,
533 T1_ENCODING_TYPE_STANDARD,
534 T1_ENCODING_TYPE_ISOLATIN1,
535 T1_ENCODING_TYPE_EXPERT
536
537 } T1_EncodingType;
538
539
540 /**************************************************************************
541 *
542 * @enum:
543 * PS_Dict_Keys
544 *
545 * @description:
546 * An enumeration used in calls to @FT_Get_PS_Font_Value to identify the
547 * Type~1 dictionary entry to retrieve.
548 *
549 * @values:
550 * PS_DICT_FONT_TYPE ::
551 * PS_DICT_FONT_MATRIX ::
552 * PS_DICT_FONT_BBOX ::
553 * PS_DICT_PAINT_TYPE ::
554 * PS_DICT_FONT_NAME ::
555 * PS_DICT_UNIQUE_ID ::
556 * PS_DICT_NUM_CHAR_STRINGS ::
557 * PS_DICT_CHAR_STRING_KEY ::
558 * PS_DICT_CHAR_STRING ::
559 * PS_DICT_ENCODING_TYPE ::
560 * PS_DICT_ENCODING_ENTRY ::
561 * PS_DICT_NUM_SUBRS ::
562 * PS_DICT_SUBR ::
563 * PS_DICT_STD_HW ::
564 * PS_DICT_STD_VW ::
565 * PS_DICT_NUM_BLUE_VALUES ::
566 * PS_DICT_BLUE_VALUE ::
567 * PS_DICT_BLUE_FUZZ ::
568 * PS_DICT_NUM_OTHER_BLUES ::
569 * PS_DICT_OTHER_BLUE ::
570 * PS_DICT_NUM_FAMILY_BLUES ::
571 * PS_DICT_FAMILY_BLUE ::
572 * PS_DICT_NUM_FAMILY_OTHER_BLUES ::
573 * PS_DICT_FAMILY_OTHER_BLUE ::
574 * PS_DICT_BLUE_SCALE ::
575 * PS_DICT_BLUE_SHIFT ::
576 * PS_DICT_NUM_STEM_SNAP_H ::
577 * PS_DICT_STEM_SNAP_H ::
578 * PS_DICT_NUM_STEM_SNAP_V ::
579 * PS_DICT_STEM_SNAP_V ::
580 * PS_DICT_FORCE_BOLD ::
581 * PS_DICT_RND_STEM_UP ::
582 * PS_DICT_MIN_FEATURE ::
583 * PS_DICT_LEN_IV ::
584 * PS_DICT_PASSWORD ::
585 * PS_DICT_LANGUAGE_GROUP ::
586 * PS_DICT_VERSION ::
587 * PS_DICT_NOTICE ::
588 * PS_DICT_FULL_NAME ::
589 * PS_DICT_FAMILY_NAME ::
590 * PS_DICT_WEIGHT ::
591 * PS_DICT_IS_FIXED_PITCH ::
592 * PS_DICT_UNDERLINE_POSITION ::
593 * PS_DICT_UNDERLINE_THICKNESS ::
594 * PS_DICT_FS_TYPE ::
595 * PS_DICT_ITALIC_ANGLE ::
596 *
597 * @since:
598 * 2.4.8
599 */
600 typedef enum PS_Dict_Keys_
601 {
602 /* conventionally in the font dictionary */
603 PS_DICT_FONT_TYPE, /* FT_Byte */
604 PS_DICT_FONT_MATRIX, /* FT_Fixed */
605 PS_DICT_FONT_BBOX, /* FT_Fixed */
606 PS_DICT_PAINT_TYPE, /* FT_Byte */
607 PS_DICT_FONT_NAME, /* FT_String* */
608 PS_DICT_UNIQUE_ID, /* FT_Int */
609 PS_DICT_NUM_CHAR_STRINGS, /* FT_Int */
610 PS_DICT_CHAR_STRING_KEY, /* FT_String* */
611 PS_DICT_CHAR_STRING, /* FT_String* */
612 PS_DICT_ENCODING_TYPE, /* T1_EncodingType */
613 PS_DICT_ENCODING_ENTRY, /* FT_String* */
614
615 /* conventionally in the font Private dictionary */
616 PS_DICT_NUM_SUBRS, /* FT_Int */
617 PS_DICT_SUBR, /* FT_String* */
618 PS_DICT_STD_HW, /* FT_UShort */
619 PS_DICT_STD_VW, /* FT_UShort */
620 PS_DICT_NUM_BLUE_VALUES, /* FT_Byte */
621 PS_DICT_BLUE_VALUE, /* FT_Short */
622 PS_DICT_BLUE_FUZZ, /* FT_Int */
623 PS_DICT_NUM_OTHER_BLUES, /* FT_Byte */
624 PS_DICT_OTHER_BLUE, /* FT_Short */
625 PS_DICT_NUM_FAMILY_BLUES, /* FT_Byte */
626 PS_DICT_FAMILY_BLUE, /* FT_Short */
627 PS_DICT_NUM_FAMILY_OTHER_BLUES, /* FT_Byte */
628 PS_DICT_FAMILY_OTHER_BLUE, /* FT_Short */
629 PS_DICT_BLUE_SCALE, /* FT_Fixed */
630 PS_DICT_BLUE_SHIFT, /* FT_Int */
631 PS_DICT_NUM_STEM_SNAP_H, /* FT_Byte */
632 PS_DICT_STEM_SNAP_H, /* FT_Short */
633 PS_DICT_NUM_STEM_SNAP_V, /* FT_Byte */
634 PS_DICT_STEM_SNAP_V, /* FT_Short */
635 PS_DICT_FORCE_BOLD, /* FT_Bool */
636 PS_DICT_RND_STEM_UP, /* FT_Bool */
637 PS_DICT_MIN_FEATURE, /* FT_Short */
638 PS_DICT_LEN_IV, /* FT_Int */
639 PS_DICT_PASSWORD, /* FT_Long */
640 PS_DICT_LANGUAGE_GROUP, /* FT_Long */
641
642 /* conventionally in the font FontInfo dictionary */
643 PS_DICT_VERSION, /* FT_String* */
644 PS_DICT_NOTICE, /* FT_String* */
645 PS_DICT_FULL_NAME, /* FT_String* */
646 PS_DICT_FAMILY_NAME, /* FT_String* */
647 PS_DICT_WEIGHT, /* FT_String* */
648 PS_DICT_IS_FIXED_PITCH, /* FT_Bool */
649 PS_DICT_UNDERLINE_POSITION, /* FT_Short */
650 PS_DICT_UNDERLINE_THICKNESS, /* FT_UShort */
651 PS_DICT_FS_TYPE, /* FT_UShort */
652 PS_DICT_ITALIC_ANGLE, /* FT_Long */
653
654 PS_DICT_MAX = PS_DICT_ITALIC_ANGLE
655
656 } PS_Dict_Keys;
657
658
659 /**************************************************************************
660 *
661 * @function:
662 * FT_Get_PS_Font_Value
663 *
664 * @description:
665 * Retrieve the value for the supplied key from a PostScript font.
666 *
667 * @input:
668 * face ::
669 * PostScript face handle.
670 *
671 * key ::
672 * An enumeration value representing the dictionary key to retrieve.
673 *
674 * idx ::
675 * For array values, this specifies the index to be returned.
676 *
677 * value ::
678 * A pointer to memory into which to write the value.
679 *
680 * valen_len ::
681 * The size, in bytes, of the memory supplied for the value.
682 *
683 * @output:
684 * value ::
685 * The value matching the above key, if it exists.
686 *
687 * @return:
688 * The amount of memory (in bytes) required to hold the requested value
689 * (if it exists, -1 otherwise).
690 *
691 * @note:
692 * The values returned are not pointers into the internal structures of
693 * the face, but are 'fresh' copies, so that the memory containing them
694 * belongs to the calling application. This also enforces the
695 * 'read-only' nature of these values, i.e., this function cannot be
696 * used to manipulate the face.
697 *
698 * `value` is a void pointer because the values returned can be of
699 * various types.
700 *
701 * If either `value` is `NULL` or `value_len` is too small, just the
702 * required memory size for the requested entry is returned.
703 *
704 * The `idx` parameter is used, not only to retrieve elements of, for
705 * example, the FontMatrix or FontBBox, but also to retrieve name keys
706 * from the CharStrings dictionary, and the charstrings themselves. It
707 * is ignored for atomic values.
708 *
709 * `PS_DICT_BLUE_SCALE` returns a value that is scaled up by 1000. To
710 * get the value as in the font stream, you need to divide by 65536000.0
711 * (to remove the FT_Fixed scale, and the x1000 scale).
712 *
713 * IMPORTANT: Only key/value pairs read by the FreeType interpreter can
714 * be retrieved. So, for example, PostScript procedures such as NP, ND,
715 * and RD are not available. Arbitrary keys are, obviously, not be
716 * available either.
717 *
718 * If the font's format is not PostScript-based, this function returns
719 * the `FT_Err_Invalid_Argument` error code.
720 *
721 * @since:
722 * 2.4.8
723 *
724 */
725 FT_EXPORT( FT_Long )
726 FT_Get_PS_Font_Value( FT_Face face,
727 PS_Dict_Keys key,
728 FT_UInt idx,
729 void *value,
730 FT_Long value_len );
731
732 /* */
733
734FT_END_HEADER
735
736#endif /* T1TABLES_H_ */
737
738
739/* END */