home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / w3_prog / s13382.arj / TT.H < prev    next >
Encoding:
Text File  |  1992-03-25  |  9.5 KB  |  234 lines

  1. // TT.H
  2. // Copyright (c) 1992 Microsoft Corporation. All rights reserved.
  3.  
  4.    char *szOTM[] = {"otmSize:           %u",
  5.                     "otmTextMetrics:    %s",
  6.                     "otmFiller:         %d", 
  7.                     "otmPanoseNumber:   %s", 
  8.                     "otmfsSelection:    %u",
  9.                     "otmfsType:         %u",
  10.                     "otmsCharSlopeRise: %u",
  11.                     "otmsCharSlopeRun:  %u",
  12.                     "otmItalicAngle:    %u",
  13.                     "otmEMSquare:       %u",
  14.                     "otmAscent:         %u",
  15.                     "otmDescent:        %u",
  16.                     "otmLineGap:        %u",
  17.                     "otmsXHeight:       %u",
  18.                     "otmsCapEmHeight:   %u",
  19.                     "otmrcFontBox:      (%d,%d,%d,%d)",
  20.                     "otmMacAscent:           %u",
  21.                     "otmMacDescent:          %u",
  22.                     "otmMacLineGap:          %u",
  23.                     "otmusMinimumPPEM:       %u",
  24.                     "otmptSubscriptSize:     (%d,%d)",
  25.                     "otmptSubscriptOffset:   (%d,%d)",
  26.                     "otmptSuperscriptSize:   (%d,%d)",
  27.                     "otmptSuperscriptOffset: (%d,%d)",
  28.                     "otmsStrikeoutSize:      %u",
  29.                     "otmsStrikeoutPosition:  %u",
  30.                     "otmsUnderscoreSize:     %u",
  31.                     "otmsUnderscorePosition: %u",
  32.                     "otmpFamilyName:         %s",
  33.                     "otmpFaceName:           %s",
  34.                     "otmpStyleName:          %s",
  35.                     "otmpFullName:      %s"
  36.                     };
  37.  
  38.  
  39.  
  40.    char *szPanose[] = {"bFamilyType:      %d (%s)",
  41.                        "bSerifStyle:      %d (%s)",
  42.                        "bWeight:          %d (%s)",
  43.                        "bProportion:      %d (%s)",
  44.                        "bContrast:        %d (%s)",
  45.                        "bStrokeVariation: %d (%s)",
  46.                        "bArmStyle:        %d (%s)",
  47.                        "bLetterform:      %d (%s)",
  48.                        "bMidline:         %d (%s)",
  49.                        "bXHeight:         %d (%s)"
  50.                        };
  51.  
  52.  
  53.    char *szPanFamily[] = { "Any", 
  54.                            "No fit", 
  55.                            "Text and Display", 
  56.                            "Script", 
  57.                            "Decorative", 
  58.                            "Pictorial"
  59.                            };
  60.  
  61.    char *szPanSerif[] = { "Any", 
  62.                           "No fit", 
  63.                           "Cove", 
  64.                           "Obtuse Cove", 
  65.                           "Square Cove", 
  66.                           "Obtuse Square Cove",
  67.                           "Square", 
  68.                           "Thin",
  69.                           "Bone", 
  70.                           "Exaggerated", 
  71.                           "Triangle", 
  72.                           "Normal Sans", 
  73.                           "Obtuse Sans", 
  74.                           "Perp Sans", 
  75.                           "Flared", 
  76.                           "Rounded" 
  77.                           };
  78.  
  79.    char *szPanWeight[] = {"Any", 
  80.                           "No fit", 
  81.                           "Very Light",
  82.                           "Light", 
  83.                           "Thin",
  84.                           "Book", 
  85.                           "Medium", 
  86.                           "Demi", 
  87.                           "Bold", 
  88.                           "Heavy", 
  89.                           "Black", 
  90.                           "Nord" 
  91.                           };
  92.  
  93.    char *szPanProportion[] = {"Any ",
  94.                               "No fit", 
  95.                               "Old Style", 
  96.                               "Modern", 
  97.                               "Even Width", 
  98.                               "Expanded", 
  99.                               "Condensed", 
  100.                               "Very Expanded", 
  101.                               "Very Condensed",
  102.                               "Monospaced" 
  103.                               };
  104.  
  105.    char *szPanContrast[] = {"Any", 
  106.                             "No fit", 
  107.                             "None", 
  108.                             "Very Low", 
  109.                             "Low", 
  110.                             "Medium Low", 
  111.                             "Medium", 
  112.                             "Medium High", 
  113.                             "High", 
  114.                             "Very High" 
  115.                             };
  116.  
  117.    char *szPanStrokeVar[] = {"Any", 
  118.                              "No fit", 
  119.                              "Gradual/Diagonal",
  120.                              "Gradual/Transitional", 
  121.                              "Gradual/Vertical", 
  122.                              "Gradual/Horizontal", 
  123.                              "Rapid/Vertical", 
  124.                              "Rapid/Horizontal", 
  125.                              "Instant/Vertical" 
  126.                              };
  127.  
  128.    char *szPanArmStyle[] = {"Any", 
  129.                             "No fit", 
  130.                             "Straight Arms/Horizontal",
  131.                             "Straight Arms/Wedge", 
  132.                             "Straight Arms/Vertical", 
  133.                             "Straight Arms/Single Serif", 
  134.                             "Straight Arms/Double Serif", 
  135.                             "Non-Straight Arms/Horizontal", 
  136.                             "Non-Straight Arms/Wedge", 
  137.                             "Non-Straight Arms/Vertical", 
  138.                             "Non-Straight Arms/Single Serif", 
  139.                             "Non-Straight Arms/Double Serif" 
  140.                             };
  141.  
  142.    char *szPanLetterForm[] = {"Any", 
  143.                               "No fit", 
  144.                               "Normal/Contact", 
  145.                               "Normal/Weighted", 
  146.                               "Normal/Boxed", 
  147.                               "Normal/Flattened", 
  148.                               "Normal/Rounded", 
  149.                               "Normal/Off-Center", 
  150.                               "Normal/Square", 
  151.                               "Oblique/Contact", 
  152.                               "Oblique/Weighted", 
  153.                               "Oblique/Boxed", 
  154.                               "Oblique/Flattened", 
  155.                               "Oblique/Rounded", 
  156.                               "Oblique/Off-Center",
  157.                               "Oblique/Square" 
  158.                               };
  159.  
  160.    char *szPanMidline[] = {"Any", 
  161.                            "No fit", 
  162.                            "Standard/Trimmed",
  163.                            "Standard/Pointed", 
  164.                            "Standard/Serifed", 
  165.                            "High/Trimmed", 
  166.                            "High/Pointed", 
  167.                            "High/Serifed", 
  168.                            "Constant/Trimmed", 
  169.                            "Constant/Pointed", 
  170.                            "Constant/Serifed", 
  171.                            "Low/Trimmed", 
  172.                            "Low/Pointed", 
  173.                            "Low/Serifed" 
  174.                            };
  175.  
  176.  
  177.    char *szPanXHeight[] =  {"Any", 
  178.                             "No fit", 
  179.                             "Constant/Small", 
  180.                             "Constant/Standard", 
  181.                             "Constant/Large", 
  182.                             "Ducking/Small", 
  183.                             "Ducking/Standard", 
  184.                             "Ducking/Large" 
  185.                             };
  186.  
  187.  
  188.    char *szTextMetric[] = {"tmHeight:           %d",
  189.                            "tmAscent:           %d",
  190.                            "tmDescent:          %d",
  191.                            "tmInternalLeading:  %d",
  192.                            "tmExternalLeading:  %d",
  193.                            "tmAveCharWidth:     %d",
  194.                            "tmMaxCharWidth:     %d",
  195.                            "tmWeight:           %d",
  196.                            "tmItalic:           %d",
  197.                            "tmUnderlined:       %d",
  198.                            "tmStruckOut:        %d",
  199.                            "tmFirstChar:        %d",
  200.                            "tmLastChar:         %d",
  201.                            "tmDefaultChar:      %d",
  202.                            "tmBreakChar:        %d",
  203.                            "tmPitchAndFamily:   %d",
  204.                            "tmCharSet:          %d",
  205.                            "tmOverhang:         %d",
  206.                            "tmDigitizedAspectX: %d",
  207.                            "tmDigitizedAspectY: %d",
  208.                            "ntmFlags:           %lu",
  209.                            "ntmSizeEM:          %u",
  210.                            "ntmCellHeight:      %u",
  211.                            "ntmAvgWidth:        %u"
  212.                            };
  213.  
  214.  
  215.  
  216.    char  *szLF[] = {"lfHeight:         %d",
  217.                     "lfWidth:          %d",
  218.                     "lfEscapement:     %d",
  219.                     "lfOrientation:    %d",
  220.                     "lfWeight:         %d",
  221.                     "lfItalic:         %d",
  222.                     "lfUnderline:      %d",
  223.                     "lfStrikeOut:      %d",
  224.                     "lfCharSet:        %d",
  225.                     "lfOutPrecision:   %d",
  226.                     "lfClipPrecision:  %d",
  227.                     "lfQuality:        %d",
  228.                     "lfPitchAndFamily: %d",
  229.                     "lfFaceName:       %s",
  230.                     "elfFullName:      %s",
  231.                     "elfStyle:         %s"
  232.                     };
  233.  
  234.