[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 <HTML> 2 <HEAD> 3 <TITLE> 4 Supplements for True Type to PostScript Type 1 Converter 5 </TITLE> 6 </HEAD> 7 <BODY> 8 <H2> 9 Supplements for True Type to PostScript Type 1 Converter 10 </H2> 11 12 <! 13 (Do not edit this file, it is generated from README.html!!!) 14 > 15 16 <h4><tt>bz</tt></h4> 17 <! 18 -- 19 > 20 21 A small program to draw the Bezier curves on an alphanumeric display. 22 The recommended way of uing it is to run it from xterm with "Tiny" 23 (if you want higher magnification) or "Unreadable" (if you want 24 higher resolution) font and as big window size as possible. The size 25 of the window can be obtained by running "<tt>stty -a</tt>". For everything else 26 just "Use the source, Luke!" 27 <p> 28 29 <h4><tt>cmpf</tt></h4> 30 <! 31 ---- 32 > 33 34 A small program to compare the rendering of two supposedly 35 nearly-identical fonts at low resolutions. It requires the 36 T1LIB library. This program may be used to compare the 37 effect of various options of the converter on the resulting 38 fonts. Create two <tt>.pfa</tt> files, one with one set of options, 39 another with another set of options, then use this program 40 to compare them. 41 <p> 42 43 <h4><tt>dmpf</tt></h4> 44 <! 45 ---- 46 > 47 48 A small program to dump the bitmaps of all glyphs of the font 49 at low pixel sizes, up to 20 pixels. It requires the 50 T1LIB library. This program may be used to compare the 51 effect of changes in the T1LIB rasterizer and just for visual 52 search for rendering anomalies. 53 <p> 54 55 <h4><tt>lst.pl</tt></h4> 56 <! 57 ------ 58 > 59 60 A simple PERL script that generates an HTML file 61 with the full list of all characters in all 62 possible styles of the Variable-width and Fixed-width 63 fonts. This file is quite convenient to look 64 at the converted fonts in Netscape (or other 65 graphical browser). 66 67 <h4><tt>cntstems.pl</tt></h4> 68 <! 69 ------ 70 > 71 72 A simple PERL script that counts the required hint stack in the 73 interpreter to rasterize the glyphs of the font. May be quite 74 useful in search for missing glyphs which may be aborted due to 75 insufficient stack depth. 76 77 <h4><tt>showg</tt></h4> 78 <! 79 ----- 80 > 81 82 A PERL script that draws the glyphs and their interesting 83 metrics (such as coordinates of the dots, hints and blue zones) 84 in PostScript. It works only with un-encoded font files generated 85 by <tt>ttf2pt1</tt>. The intended use is like: 86 <p> 87 88 <tt>showg [-c <i><fontfile.t1a></i>]... <i><fontfile.t1a> <glyph-to-draw></i>... >file.ps</tt><br> 89 <tt>gv file.ps # start the Ghostscript viewer</tt> 90 <p> 91 92 As you can see, multiple glyphs may be specified. The glyphs may be 93 specified in one of three ways: 94 <br> 95 - as a decimal code (for example, <tt>43</tt> ) 96 <br> 97 - as a glyph name preceded by a slash (for example, <tt>/plus</tt> ) 98 <br> 99 - as a literal character preceded by a dot (for example, <tt>.+</tt> ) 100 <p> 101 102 So for example the following command would draw the same glyph "left 103 parenthesis" three times: 104 <p> 105 106 <tt>showg file.t1a 40 /parenleft .\( >/file.ps</tt> 107 <p> 108 109 Don't forget that some characters have to be protected from the shell 110 by backslash as shown above, or else the shell would try to interpret 111 them before passing to the program. 112 <p> 113 114 One file (given as the first argument) is considered the main file 115 but multiple files can be specified with option <b>-c</b> for visual comparison 116 of the outlines. The glyphs from the main file are drawn in black 117 and supplemented with coordinate grid and sidebars for hints. The 118 glyphs from the comparison files are drawn in slightly lighter colors 119 (red, cyan, brown) and no supplemental information is provided for them. 120 Each use of option <b>-c</b> adds one comparison file, this option may be used 121 multiple times. If there are more than 3 comparison files the colors 122 repeat cyclically. 123 <p> 124 125 So for example the following command would draw the same glyph "left 126 parenthesis" from three files on the same page: 127 <p> 128 129 <tt>showg -c fileA.t1a -c fileB.t1a file.t1a .\( >/file.ps</tt> 130 <p> 131 132 This program is quite valuable it you want to take a close-up view at 133 the font. 134 <p> 135 136 The outlines are drawn in black, the ends of the curves and 137 lines are marked as dots, the first dots of the outlines 138 are fatter. The Blue Zones are drawn in light blue. The 139 substituted hints are marked in red, the global hints are 140 marked in blue. The coordinate grid is drawn in green. 141 The stems and the values of coordinates are for convenience 142 marked twice, on each size of the picture. 143 <p> 144 145 <h4><tt>showdf</tt></h4> 146 <! 147 ------ 148 > 149 150 A Perl script to find a list of differing glyphs in two versions of a font 151 file (for example, converted with different versions of <tt>ttf2pt1</tt> or 152 with different options given to ttf2pt1) and feed this list into the <tt>showg</tt> 153 program for display. The intended use is like: 154 <p> 155 156 <tt>showdf <i><showg-location></i> <i><fontfile1.t1a></i> <i><fontfile2.t1a></i> >file.ps</tt><br> 157 <tt>gv file.ps # start the Ghostscript viewer</tt> 158 <p> 159 160 If both <tt>showdf</tt> and <tt>showg</tt> scripts are located in the 161 same directory, the command would look like: 162 <p> 163 164 <tt>./showdf ./showg font1.t1a font2.t1a >file.ps</tt><br> 165 <p> 166 167 For decent results both font files should be converted from the same original 168 font and contain the same glyphs with the same names in the same order. 169 Otherwise most probably all the glyphs will be included, or a failure may 170 happen if some glyph is not found in one of the files. It is also a good 171 idea to convert the fonts for comparison with hinting disabled, otherwise 172 the differences in hinting may trigger the otherwise equal glyphs to be shown. 173 <p> 174 175 </BODY> 176 </HTML>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |