forked from fontforge/fontforge.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fontimage.html
executable file
·156 lines (156 loc) · 7 KB
/
fontimage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<HTML>
<HEAD>
<!-- Created with AOLpress/2.0 -->
<!-- AP: Created on: 26-Oct-2006 -->
<!-- AP: Last modified: 11-Sep-2009 -->
<TITLE>fontimage -- generate a font thumbnail image</TITLE>
<LINK REL="icon" href="fftype16.png">
<LINK REL="stylesheet" TYPE="text/css" HREF="/assets/css/old/FontForge.css">
</HEAD>
>
<div style="margin:0; height: 4 em; padding: 0.5em; background: red; color:yellow; text-align:center; font-size:1em; font-family: sans-serif;">
<p><a href="http://fontforge.github.io" style="padding: 0.5em; color: yellow; font-weight: bold; text-decoration: none;" onmouseover="this.style.background='black';" onmouseout="this.style.background='red';" >This is part of the old website. New website begins at fontforge.github.io</a></p>
<p><a href="https://github.com/fontforge/fontforge.github.io" style="padding: 0.5em; color: yellow; font-weight: bold; text-decoration: none;" onmouseover="this.style.background='black';" onmouseout="this.style.background='red';" >Are you a web developer? Help us migrate this page on Github</a></p>
</div>
<DIV id="in">
<H1 ALIGN=Center>
fontimage<BR>
<SMALL>generate a font thumbnail image</SMALL>
</H1>
<P>
<CODE>fontimage [--o outfile] [--width num] [--height num] [--pixelsize num]
[--fontname] [--text string] [--version] [--help] fontfile</CODE>
<P>
<EM>Fontimage</EM> produces a thumbnail image of a font (which may be in
any format <A HREF="overview.html">fontforge</A> can read).
<P>
You may either explicitly specify text to be displayed in the font, or rely
on fontimage's default behavior, which is to check for various scripts it
knows about and display something appropriate for each one present.
<DL>
<DT>
--help
<DD>
Displays a list of arguments and descriptions of each.
<DT>
--width num
<DD>
Specifies the width (in pixels) of the output image. If omitted the image
will be as wide as it needs to be to display the text.
<DT>
--height num
<DD>
Specifies the height (in pixels) of the output image. If omitted the image
will be as high as it needs to be to display the text.
<DT>
--o outputfile
<DD>
Specifies the name of the output image file. The format is determined by
the extension. Currently only ".bmp" and ".png" are supported. If omitted,
fontimage will choose a filename based on the fontname of the font.
<DT>
--pixelsize num
<DD>
Specifies the pixelsize at which to display text. This may be specified multiple
times. Each specification applies to any --text arguments which occur after
it.
<DT>
--fontname
<DD>
Include the fontname as a line of text.
<DT>
--text string
<DD>
Specifies a string to be displayed. The string <EM>must</EM> be in UTF-8.
This option may be provided multiple times to supply more than one line of
text. If omitted entirely, fontimage will examine the scripts it knows about
in the font and will display text appropriate to each one present.
<DT>
--version
<DD>
Displays the fontimage version.
</DL>
<H3>
See Also
</H3>
<P>
<A HREF="overview.html">FontForge</A>
<HR>
<H3>
Example
</H3>
<FORM action="/cgi-bin/fontimage-cgi" method="post" accept-charset="UTF-8"
enctype="multipart/form-data" target="fontimage-window">
Font:
<SELECT name="font">
<OPTION value="AmbrosiaBold.sfd.bz2">Ambrosia Bold
<OPTION value="AmbrosiaItalic.sfd.bz2">Ambrosia Italic
<OPTION value="AmbrosiaOutline.sfd.bz2">Ambrosia Outline
<OPTION value="Ambrosia.sfd.bz2">Ambrosia
<OPTION value="AndradeSwash.sfd.bz2">Andrade Swash
<OPTION value="Baldur.sfd.bz2">Baldur
<OPTION value="Bastarda.sfd.bz2">Bastarda
<OPTION value="Bocklin.sfd.bz2">Bocklin
<OPTION value="Caliban.sfd.gz">Caliban
<OPTION value="Caprice.sfd.bz2">Caprice
<OPTION value="Carmen.sfd.bz2">Carmen
<OPTION value="Caslon-Black.sfd.gz">Caslon Black
<OPTION value="CaslonItalic.sfd.gz">Caslon Italic
<OPTION value="CaslonRoman.sfd.gz" selected>Caslon Roman
<OPTION value="CaslonBold.sfd.gz">Caslon Bold
<OPTION value="Crystal.sfd.bz2">Crystal
<OPTION value="CupolaBoldItalic.sfd.bz2">Cupola BoldItalic
<OPTION value="CupolaBold.sfd.bz2">Cupola Bold
<OPTION value="CupolaItalic.sfd.bz2">Cupola Italic
<OPTION value="Cupola.sfd.bz2">Cupola
<OPTION value="CupolaSmallCaps.sfd.bz2">Cupola SmallCaps
<OPTION value="Decorative.sfd.bz2">Decorative
<OPTION value="DufreneType3.sfd.bz2">Dufrene Type3
<OPTION value="EddaFilled.sfd.bz2">Edda Filled
<OPTION value="EddaNarrow.sfd.bz2">Edda Narrow
<OPTION value="EddaOutline.sfd.bz2">Edda Outline
<OPTION value="ExtravagantCapitals.sfd.bz2">Extravagant Capitals
<OPTION value="FantasieArtistique.sfd.bz2">Fantasie Artistique
<OPTION value="Flash.sfd.bz2">Flash
<OPTION value="FloralCaps.sfd.bz2">Floral Caps
<OPTION value="FormalScriptBold.sfd.bz2">Formal Script Bold
<OPTION value="FormalScript.sfd.bz2">Formal Script
<OPTION value="Fractur.sfd.bz2">Fractur
<OPTION value="GothicBamboo.sfd.bz2">Gothic Bamboo
<OPTION value="HohenzollernInitials.sfd.bz2">Hohenzollern Initials
<OPTION value="HumanisticCursive.sfd.bz2">Humanistic Cursive
<OPTION value="Humanistic.sfd.bz2">Humanistic
<OPTION value="ItalicHand.sfd.bz2">Italic Hand
<OPTION value="LombardicMix.sfd.bz2">Lombardic Mix
<OPTION value="Lombardic.sfd.bz2">Lombardic
<OPTION value="Mirage.sfd.bz2">Mirage
<OPTION value="Monopol.sfd.bz2">Monopol
<OPTION value="MonospaceBold.sfd.gz">Monospace Bold
<OPTION value="MonospaceOblique.sfd.gz">Monospace Oblique
<OPTION value="MonospaceRegular.sfd.gz">Monospace Regular
<OPTION value="Morris-Initials.sfd.bz2">Morris Initials
<OPTION value="Parisian.sfd.bz2">Parisian
<OPTION value="Peignot.sfd.bz2">Peignot
<OPTION value="PicadillyBizarre.sfd.bz2">Picadilly Bizarre
<OPTION value="Picadilly.sfd.bz2">Picadilly
<OPTION value="RingletBlack.sfd.bz2">Ringlet Black
<OPTION value="Ringlet.sfd.bz2">Ringlet
<OPTION value="RomanUncialModern.sfd.bz2">Roman Uncial Modern
<OPTION value="Rotunda.sfd.bz2">Rotunda
<OPTION value="SquareCaps.sfd.bz2">Square Caps
<OPTION value="TexturaModern.sfd.bz2">Textura Modern
<OPTION value="UncialAnimals.sfd.bz2">Uncial Animals
<OPTION value="Versal.sfd.bz2">Versal </SELECT> Point size:
<INPUT type="text" value="24" size="4" name="size"> DPI:
<INPUT type="text" value="100" size="4" name="dpi"><BR>
Text: <SMALL>(If you leave this blank, fontimage will generate some default
text showing all scripts in the font)</SMALL><BR>
<TEXTAREA name="text" cols=80 rows=8></TEXTAREA><BR>
<INPUT type="submit" value="Display">
</FORM>
<P>
<IFRAME name="fontimage-window" SRC="http://fontforge.sf.net/cgi-bin/fontimage-cgi?size=24&dpi=100&font=CaslonRoman.sfd.gz"
WIDTH="100%" HEIGHT=500> IFrame doesn't work in your browser. Try pressing
the [Display] button </IFRAME>
</DIV>
</BODY></HTML>