home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: libfm.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [R*ch] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 42 75 69 6c 74 2d 69 |\section|{Built-i|
|00000010| 6e 20 4d 6f 64 75 6c 65 | 20 5c 73 65 63 74 63 6f |n Module| \sectco|
|00000020| 64 65 7b 66 6d 7d 7d 0d | 5c 62 69 6d 6f 64 69 6e |de{fm}}.|\bimodin|
|00000030| 64 65 78 7b 66 6d 7d 0d | 0d 54 68 69 73 20 6d 6f |dex{fm}.|.This mo|
|00000040| 64 75 6c 65 20 70 72 6f | 76 69 64 65 73 20 61 63 |dule pro|vides ac|
|00000050| 63 65 73 73 20 74 6f 20 | 74 68 65 20 49 52 49 53 |cess to |the IRIS|
|00000060| 20 7b 5c 65 6d 20 46 6f | 6e 74 20 4d 61 6e 61 67 | {\em Fo|nt Manag|
|00000070| 65 72 7d 20 6c 69 62 72 | 61 72 79 2e 0d 49 74 20 |er} libr|ary..It |
|00000080| 69 73 20 61 76 61 69 6c | 61 62 6c 65 20 6f 6e 6c |is avail|able onl|
|00000090| 79 20 6f 6e 20 53 69 6c | 69 63 6f 6e 20 47 72 61 |y on Sil|icon Gra|
|000000a0| 70 68 69 63 73 20 6d 61 | 63 68 69 6e 65 73 2e 0d |phics ma|chines..|
|000000b0| 53 65 65 20 61 6c 73 6f | 3a 20 34 53 69 67 68 74 |See also|: 4Sight|
|000000c0| 20 55 73 65 72 27 73 20 | 47 75 69 64 65 2c 20 53 | User's |Guide, S|
|000000d0| 65 63 74 69 6f 6e 20 31 | 2c 20 43 68 61 70 74 65 |ection 1|, Chapte|
|000000e0| 72 20 35 3a 20 55 73 69 | 6e 67 20 74 68 65 20 49 |r 5: Usi|ng the I|
|000000f0| 52 49 53 0d 46 6f 6e 74 | 20 4d 61 6e 61 67 65 72 |RIS.Font| Manager|
|00000100| 2e 0d 0d 54 68 69 73 20 | 69 73 20 6e 6f 74 20 79 |...This |is not y|
|00000110| 65 74 20 61 20 66 75 6c | 6c 20 69 6e 74 65 72 66 |et a ful|l interf|
|00000120| 61 63 65 20 74 6f 20 74 | 68 65 20 49 52 49 53 20 |ace to t|he IRIS |
|00000130| 46 6f 6e 74 20 4d 61 6e | 61 67 65 72 2e 0d 41 6d |Font Man|ager..Am|
|00000140| 6f 6e 67 20 74 68 65 20 | 75 6e 73 75 70 70 6f 72 |ong the |unsuppor|
|00000150| 74 65 64 20 66 65 61 74 | 75 72 65 73 20 61 72 65 |ted feat|ures are|
|00000160| 3a 20 6d 61 74 72 69 78 | 20 6f 70 65 72 61 74 69 |: matrix| operati|
|00000170| 6f 6e 73 3b 20 63 61 63 | 68 65 0d 6f 70 65 72 61 |ons; cac|he.opera|
|00000180| 74 69 6f 6e 73 3b 20 63 | 68 61 72 61 63 74 65 72 |tions; c|haracter|
|00000190| 20 6f 70 65 72 61 74 69 | 6f 6e 73 20 28 75 73 65 | operati|ons (use|
|000001a0| 20 73 74 72 69 6e 67 20 | 6f 70 65 72 61 74 69 6f | string |operatio|
|000001b0| 6e 73 20 69 6e 73 74 65 | 61 64 29 3b 20 73 6f 6d |ns inste|ad); som|
|000001c0| 65 0d 64 65 74 61 69 6c | 73 20 6f 66 20 66 6f 6e |e.detail|s of fon|
|000001d0| 74 20 69 6e 66 6f 3b 20 | 69 6e 64 69 76 69 64 75 |t info; |individu|
|000001e0| 61 6c 20 67 6c 79 70 68 | 20 6d 65 74 72 69 63 73 |al glyph| metrics|
|000001f0| 3b 20 61 6e 64 20 70 72 | 69 6e 74 65 72 20 6d 61 |; and pr|inter ma|
|00000200| 74 63 68 69 6e 67 2e 0d | 0d 49 74 20 73 75 70 70 |tching..|.It supp|
|00000210| 6f 72 74 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |orts the| followi|
|00000220| 6e 67 20 6f 70 65 72 61 | 74 69 6f 6e 73 3a 0d 0d |ng opera|tions:..|
|00000230| 5c 72 65 6e 65 77 63 6f | 6d 6d 61 6e 64 7b 5c 69 |\renewco|mmand{\i|
|00000240| 6e 64 65 78 73 75 62 69 | 74 65 6d 7d 7b 28 69 6e |ndexsubi|tem}{(in|
|00000250| 20 6d 6f 64 75 6c 65 20 | 66 6d 29 7d 0d 5c 62 65 | module |fm)}.\be|
|00000260| 67 69 6e 7b 66 75 6e 63 | 64 65 73 63 7d 7b 69 6e |gin{func|desc}{in|
|00000270| 69 74 7d 7b 7d 0d 49 6e | 69 74 69 61 6c 69 7a 61 |it}{}.In|itializa|
|00000280| 74 69 6f 6e 20 66 75 6e | 63 74 69 6f 6e 2e 0d 43 |tion fun|ction..C|
|00000290| 61 6c 6c 73 20 5c 63 6f | 64 65 7b 66 6d 69 6e 69 |alls \co|de{fmini|
|000002a0| 74 28 29 7d 2e 0d 49 74 | 20 69 73 20 6e 6f 72 6d |t()}..It| is norm|
|000002b0| 61 6c 6c 79 20 6e 6f 74 | 20 6e 65 63 65 73 73 61 |ally not| necessa|
|000002c0| 72 79 20 74 6f 20 63 61 | 6c 6c 20 74 68 69 73 20 |ry to ca|ll this |
|000002d0| 66 75 6e 63 74 69 6f 6e | 2c 20 73 69 6e 63 65 20 |function|, since |
|000002e0| 69 74 20 69 73 20 63 61 | 6c 6c 65 64 0d 61 75 74 |it is ca|lled.aut|
|000002f0| 6f 6d 61 74 69 63 61 6c | 6c 79 20 74 68 65 20 66 |omatical|ly the f|
|00000300| 69 72 73 74 20 74 69 6d | 65 20 74 68 65 20 5c 63 |irst tim|e the \c|
|00000310| 6f 64 65 7b 66 6d 7d 20 | 6d 6f 64 75 6c 65 20 69 |ode{fm} |module i|
|00000320| 73 20 69 6d 70 6f 72 74 | 65 64 2e 0d 5c 65 6e 64 |s import|ed..\end|
|00000330| 7b 66 75 6e 63 64 65 73 | 63 7d 0d 0d 5c 62 65 67 |{funcdes|c}..\beg|
|00000340| 69 6e 7b 66 75 6e 63 64 | 65 73 63 7d 7b 66 69 6e |in{funcd|esc}{fin|
|00000350| 64 66 6f 6e 74 7d 7b 66 | 6f 6e 74 6e 61 6d 65 7d |dfont}{f|ontname}|
|00000360| 0d 52 65 74 75 72 6e 20 | 61 20 66 6f 6e 74 20 68 |.Return |a font h|
|00000370| 61 6e 64 6c 65 20 6f 62 | 6a 65 63 74 2e 0d 43 61 |andle ob|ject..Ca|
|00000380| 6c 6c 73 20 5c 63 6f 64 | 65 7b 66 6d 66 69 6e 64 |lls \cod|e{fmfind|
|00000390| 66 6f 6e 74 28 5c 76 61 | 72 7b 66 6f 6e 74 6e 61 |font(\va|r{fontna|
|000003a0| 6d 65 7d 29 7d 2e 0d 5c | 65 6e 64 7b 66 75 6e 63 |me})}..\|end{func|
|000003b0| 64 65 73 63 7d 0d 0d 5c | 62 65 67 69 6e 7b 66 75 |desc}..\|begin{fu|
|000003c0| 6e 63 64 65 73 63 7d 7b | 65 6e 75 6d 65 72 61 74 |ncdesc}{|enumerat|
|000003d0| 65 7d 7b 7d 0d 52 65 74 | 75 72 6e 73 20 61 20 6c |e}{}.Ret|urns a l|
|000003e0| 69 73 74 20 6f 66 20 61 | 76 61 69 6c 61 62 6c 65 |ist of a|vailable|
|000003f0| 20 66 6f 6e 74 20 6e 61 | 6d 65 73 2e 0d 54 68 69 | font na|mes..Thi|
|00000400| 73 20 69 73 20 61 6e 20 | 69 6e 74 65 72 66 61 63 |s is an |interfac|
|00000410| 65 20 74 6f 20 5c 63 6f | 64 65 7b 66 6d 65 6e 75 |e to \co|de{fmenu|
|00000420| 6d 65 72 61 74 65 28 29 | 7d 2e 0d 5c 65 6e 64 7b |merate()|}..\end{|
|00000430| 66 75 6e 63 64 65 73 63 | 7d 0d 0d 5c 62 65 67 69 |funcdesc|}..\begi|
|00000440| 6e 7b 66 75 6e 63 64 65 | 73 63 7d 7b 70 72 73 74 |n{funcde|sc}{prst|
|00000450| 72 7d 7b 73 74 72 69 6e | 67 7d 0d 52 65 6e 64 65 |r}{strin|g}.Rende|
|00000460| 72 20 61 20 73 74 72 69 | 6e 67 20 75 73 69 6e 67 |r a stri|ng using|
|00000470| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 66 6f 6e | the cur|rent fon|
|00000480| 74 20 28 73 65 65 20 74 | 68 65 20 5c 63 6f 64 65 |t (see t|he \code|
|00000490| 7b 73 65 74 66 6f 6e 74 | 28 29 7d 20 66 6f 6e 74 |{setfont|()} font|
|000004a0| 0d 68 61 6e 64 6c 65 20 | 6d 65 74 68 6f 64 20 62 |.handle |method b|
|000004b0| 65 6c 6f 77 29 2e 0d 43 | 61 6c 6c 73 20 5c 63 6f |elow)..C|alls \co|
|000004c0| 64 65 7b 66 6d 70 72 73 | 74 72 28 5c 76 61 72 7b |de{fmprs|tr(\var{|
|000004d0| 73 74 72 69 6e 67 7d 29 | 7d 2e 0d 5c 65 6e 64 7b |string})|}..\end{|
|000004e0| 66 75 6e 63 64 65 73 63 | 7d 0d 0d 5c 62 65 67 69 |funcdesc|}..\begi|
|000004f0| 6e 7b 66 75 6e 63 64 65 | 73 63 7d 7b 73 65 74 70 |n{funcde|sc}{setp|
|00000500| 61 74 68 7d 7b 73 74 72 | 69 6e 67 7d 0d 53 65 74 |ath}{str|ing}.Set|
|00000510| 73 20 74 68 65 20 66 6f | 6e 74 20 73 65 61 72 63 |s the fo|nt searc|
|00000520| 68 20 70 61 74 68 2e 0d | 43 61 6c 6c 73 20 5c 63 |h path..|Calls \c|
|00000530| 6f 64 65 7b 66 6d 73 65 | 74 70 61 74 68 28 73 74 |ode{fmse|tpath(st|
|00000540| 72 69 6e 67 29 7d 2e 0d | 28 58 58 58 20 44 6f 65 |ring)}..|(XXX Doe|
|00000550| 73 20 6e 6f 74 20 77 6f | 72 6b 21 3f 21 29 0d 5c |s not wo|rk!?!).\|
|00000560| 65 6e 64 7b 66 75 6e 63 | 64 65 73 63 7d 0d 0d 5c |end{func|desc}..\|
|00000570| 62 65 67 69 6e 7b 66 75 | 6e 63 64 65 73 63 7d 7b |begin{fu|ncdesc}{|
|00000580| 66 6f 6e 74 70 61 74 68 | 7d 7b 7d 0d 52 65 74 75 |fontpath|}{}.Retu|
|00000590| 72 6e 73 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |rns the |current |
|000005a0| 66 6f 6e 74 20 73 65 61 | 72 63 68 20 70 61 74 68 |font sea|rch path|
|000005b0| 2e 0d 5c 65 6e 64 7b 66 | 75 6e 63 64 65 73 63 7d |..\end{f|uncdesc}|
|000005c0| 0d 0d 46 6f 6e 74 20 68 | 61 6e 64 6c 65 20 6f 62 |..Font h|andle ob|
|000005d0| 6a 65 63 74 73 20 73 75 | 70 70 6f 72 74 20 74 68 |jects su|pport th|
|000005e0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6f 70 65 72 |e follow|ing oper|
|000005f0| 61 74 69 6f 6e 73 3a 0d | 0d 5c 72 65 6e 65 77 63 |ations:.|.\renewc|
|00000600| 6f 6d 6d 61 6e 64 7b 5c | 69 6e 64 65 78 73 75 62 |ommand{\|indexsub|
|00000610| 69 74 65 6d 7d 7b 28 66 | 6f 6e 74 20 68 61 6e 64 |item}{(f|ont hand|
|00000620| 6c 65 20 6d 65 74 68 6f | 64 29 7d 0d 5c 62 65 67 |le metho|d)}.\beg|
|00000630| 69 6e 7b 66 75 6e 63 64 | 65 73 63 7d 7b 73 63 61 |in{funcd|esc}{sca|
|00000640| 6c 65 66 6f 6e 74 7d 7b | 66 61 63 74 6f 72 7d 0d |lefont}{|factor}.|
|00000650| 52 65 74 75 72 6e 73 20 | 61 20 68 61 6e 64 6c 65 |Returns |a handle|
|00000660| 20 66 6f 72 20 61 20 73 | 63 61 6c 65 64 20 76 65 | for a s|caled ve|
|00000670| 72 73 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 66 6f |rsion of| this fo|
|00000680| 6e 74 2e 0d 43 61 6c 6c | 73 20 5c 63 6f 64 65 7b |nt..Call|s \code{|
|00000690| 66 6d 73 63 61 6c 65 66 | 6f 6e 74 28 5c 76 61 72 |fmscalef|ont(\var|
|000006a0| 7b 66 68 7d 2c 20 5c 76 | 61 72 7b 66 61 63 74 6f |{fh}, \v|ar{facto|
|000006b0| 72 7d 29 7d 2e 0d 5c 65 | 6e 64 7b 66 75 6e 63 64 |r})}..\e|nd{funcd|
|000006c0| 65 73 63 7d 0d 0d 5c 62 | 65 67 69 6e 7b 66 75 6e |esc}..\b|egin{fun|
|000006d0| 63 64 65 73 63 7d 7b 73 | 65 74 66 6f 6e 74 7d 7b |cdesc}{s|etfont}{|
|000006e0| 7d 0d 4d 61 6b 65 73 20 | 74 68 69 73 20 66 6f 6e |}.Makes |this fon|
|000006f0| 74 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 66 6f |t the cu|rrent fo|
|00000700| 6e 74 2e 0d 4e 6f 74 65 | 3a 20 74 68 65 20 65 66 |nt..Note|: the ef|
|00000710| 66 65 63 74 20 69 73 20 | 75 6e 64 6f 6e 65 20 73 |fect is |undone s|
|00000720| 69 6c 65 6e 74 6c 79 20 | 77 68 65 6e 20 74 68 65 |ilently |when the|
|00000730| 20 66 6f 6e 74 20 68 61 | 6e 64 6c 65 20 6f 62 6a | font ha|ndle obj|
|00000740| 65 63 74 20 69 73 0d 64 | 65 6c 65 74 65 64 2e 0d |ect is.d|eleted..|
|00000750| 43 61 6c 6c 73 20 5c 63 | 6f 64 65 7b 66 6d 73 65 |Calls \c|ode{fmse|
|00000760| 74 66 6f 6e 74 28 5c 76 | 61 72 7b 66 68 7d 29 7d |tfont(\v|ar{fh})}|
|00000770| 2e 0d 5c 65 6e 64 7b 66 | 75 6e 63 64 65 73 63 7d |..\end{f|uncdesc}|
|00000780| 0d 0d 5c 62 65 67 69 6e | 7b 66 75 6e 63 64 65 73 |..\begin|{funcdes|
|00000790| 63 7d 7b 67 65 74 66 6f | 6e 74 6e 61 6d 65 7d 7b |c}{getfo|ntname}{|
|000007a0| 7d 0d 52 65 74 75 72 6e | 73 20 74 68 69 73 20 66 |}.Return|s this f|
|000007b0| 6f 6e 74 27 73 20 6e 61 | 6d 65 2e 0d 43 61 6c 6c |ont's na|me..Call|
|000007c0| 73 20 5c 63 6f 64 65 7b | 66 6d 67 65 74 66 6f 6e |s \code{|fmgetfon|
|000007d0| 74 6e 61 6d 65 28 5c 76 | 61 72 7b 66 68 7d 29 7d |tname(\v|ar{fh})}|
|000007e0| 2e 0d 5c 65 6e 64 7b 66 | 75 6e 63 64 65 73 63 7d |..\end{f|uncdesc}|
|000007f0| 0d 0d 5c 62 65 67 69 6e | 7b 66 75 6e 63 64 65 73 |..\begin|{funcdes|
|00000800| 63 7d 7b 67 65 74 63 6f | 6d 6d 65 6e 74 7d 7b 7d |c}{getco|mment}{}|
|00000810| 0d 52 65 74 75 72 6e 73 | 20 74 68 65 20 63 6f 6d |.Returns| the com|
|00000820| 6d 65 6e 74 20 73 74 72 | 69 6e 67 20 61 73 73 6f |ment str|ing asso|
|00000830| 63 69 61 74 65 64 20 77 | 69 74 68 20 74 68 69 73 |ciated w|ith this|
|00000840| 20 66 6f 6e 74 2e 0d 52 | 61 69 73 65 73 20 61 6e | font..R|aises an|
|00000850| 20 65 78 63 65 70 74 69 | 6f 6e 20 69 66 20 74 68 | excepti|on if th|
|00000860| 65 72 65 20 69 73 20 6e | 6f 6e 65 2e 0d 43 61 6c |ere is n|one..Cal|
|00000870| 6c 73 20 5c 63 6f 64 65 | 7b 66 6d 67 65 74 63 6f |ls \code|{fmgetco|
|00000880| 6d 6d 65 6e 74 28 5c 76 | 61 72 7b 66 68 7d 29 7d |mment(\v|ar{fh})}|
|00000890| 2e 0d 5c 65 6e 64 7b 66 | 75 6e 63 64 65 73 63 7d |..\end{f|uncdesc}|
|000008a0| 0d 0d 5c 62 65 67 69 6e | 7b 66 75 6e 63 64 65 73 |..\begin|{funcdes|
|000008b0| 63 7d 7b 67 65 74 66 6f | 6e 74 69 6e 66 6f 7d 7b |c}{getfo|ntinfo}{|
|000008c0| 7d 0d 52 65 74 75 72 6e | 73 20 61 20 74 75 70 6c |}.Return|s a tupl|
|000008d0| 65 20 67 69 76 69 6e 67 | 20 73 6f 6d 65 20 70 65 |e giving| some pe|
|000008e0| 72 74 69 6e 65 6e 74 20 | 64 61 74 61 20 61 62 6f |rtinent |data abo|
|000008f0| 75 74 20 74 68 69 73 20 | 66 6f 6e 74 2e 0d 54 68 |ut this |font..Th|
|00000900| 69 73 20 69 73 20 61 6e | 20 69 6e 74 65 72 66 61 |is is an| interfa|
|00000910| 63 65 20 74 6f 20 5c 63 | 6f 64 65 7b 66 6d 67 65 |ce to \c|ode{fmge|
|00000920| 74 66 6f 6e 74 69 6e 66 | 6f 28 29 7d 2e 0d 54 68 |tfontinf|o()}..Th|
|00000930| 65 20 72 65 74 75 72 6e | 65 64 20 74 75 70 6c 65 |e return|ed tuple|
|00000940| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 66 6f | contain|s the fo|
|00000950| 6c 6c 6f 77 69 6e 67 20 | 6e 75 6d 62 65 72 73 3a |llowing |numbers:|
|00000960| 0d 7b 5c 74 74 28 5c 76 | 61 72 7b 70 72 69 6e 74 |.{\tt(\v|ar{print|
|00000970| 65 72 6d 61 74 63 68 65 | 64 7d 2c 20 5c 76 61 72 |ermatche|d}, \var|
|00000980| 7b 66 69 78 65 64 5f 77 | 69 64 74 68 7d 2c 20 5c |{fixed_w|idth}, \|
|00000990| 76 61 72 7b 78 6f 72 69 | 67 7d 2c 20 5c 76 61 72 |var{xori|g}, \var|
|000009a0| 7b 79 6f 72 69 67 7d 2c | 0d 5c 76 61 72 7b 78 73 |{yorig},|.\var{xs|
|000009b0| 69 7a 65 7d 2c 20 5c 76 | 61 72 7b 79 73 69 7a 65 |ize}, \v|ar{ysize|
|000009c0| 7d 2c 20 5c 76 61 72 7b | 68 65 69 67 68 74 7d 2c |}, \var{|height},|
|000009d0| 20 5c 76 61 72 7b 6e 67 | 6c 79 70 68 73 7d 29 7d | \var{ng|lyphs})}|
|000009e0| 2e 0d 5c 65 6e 64 7b 66 | 75 6e 63 64 65 73 63 7d |..\end{f|uncdesc}|
|000009f0| 0d 0d 5c 62 65 67 69 6e | 7b 66 75 6e 63 64 65 73 |..\begin|{funcdes|
|00000a00| 63 7d 7b 67 65 74 73 74 | 72 77 69 64 74 68 7d 7b |c}{getst|rwidth}{|
|00000a10| 73 74 72 69 6e 67 7d 0d | 52 65 74 75 72 6e 73 20 |string}.|Returns |
|00000a20| 74 68 65 20 77 69 64 74 | 68 2c 20 69 6e 20 70 69 |the widt|h, in pi|
|00000a30| 78 65 6c 73 2c 20 6f 66 | 20 74 68 65 20 73 74 72 |xels, of| the str|
|00000a40| 69 6e 67 20 77 68 65 6e | 20 64 72 61 77 6e 20 69 |ing when| drawn i|
|00000a50| 6e 20 74 68 69 73 20 66 | 6f 6e 74 2e 0d 43 61 6c |n this f|ont..Cal|
|00000a60| 6c 73 20 5c 63 6f 64 65 | 7b 66 6d 67 65 74 73 74 |ls \code|{fmgetst|
|00000a70| 72 77 69 64 74 68 28 5c | 76 61 72 7b 66 68 7d 2c |rwidth(\|var{fh},|
|00000a80| 20 5c 76 61 72 7b 73 74 | 72 69 6e 67 7d 29 7d 2e | \var{st|ring})}.|
|00000a90| 0d 5c 65 6e 64 7b 66 75 | 6e 63 64 65 73 63 7d 0d |.\end{fu|ncdesc}.|
+--------+-------------------------+-------------------------+--------+--------+