Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c9808b3a
Commit
c9808b3a
authored
Mar 15, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Logical markup.
Emphasized title "4Sight User's Guide".
parent
5f874d61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
Doc/lib/libfm.tex
Doc/lib/libfm.tex
+11
-11
Doc/libfm.tex
Doc/libfm.tex
+11
-11
No files found.
Doc/lib/libfm.tex
View file @
c9808b3a
...
...
@@ -4,8 +4,8 @@
This module provides access to the IRIS
\emph
{
Font Manager
}
library.
It is available only on Silicon Graphics machines.
See also:
4Sight User's Guide, Section 1, Chapter 5: Using the IRIS
Font Manager.
See also:
\emph
{
4Sight User's Guide
}
, Section 1, Chapter 5: ``Using
the IRIS Font Manager.''
This is not yet a full interface to the IRIS Font Manager.
Among the unsupported features are: matrix operations; cache
...
...
@@ -14,12 +14,11 @@ details of font info; individual glyph metrics; and printer matching.
It supports the following operations:
\setindexsubitem
{
(in module fm)
}
\begin{funcdesc}
{
init
}{}
Initialization function.
Calls
\c
ode
{
fminit()
}
.
Calls
\c
function
{
fminit()
}
.
It is normally not necessary to call this function, since it is called
automatically the first time the
\
cod
e
{
fm
}
module is imported.
automatically the first time the
\
modul
e
{
fm
}
module is imported.
\end{funcdesc}
\begin{funcdesc}
{
findfont
}{
fontname
}
...
...
@@ -29,18 +28,18 @@ Calls \code{fmfindfont(\var{fontname})}.
\begin{funcdesc}
{
enumerate
}{}
Returns a list of available font names.
This is an interface to
\c
ode
{
fmenumerate()
}
.
This is an interface to
\c
function
{
fmenumerate()
}
.
\end{funcdesc}
\begin{funcdesc}
{
prstr
}{
string
}
Render a string using the current font (see the
\
code
{
setfont()
}
font
Render a string using the current font (see the
\
function
{
setfont()
}
font
handle method below).
Calls
\code
{
fmprstr(
\var
{
string
}
)
}
.
\end{funcdesc}
\begin{funcdesc}
{
setpath
}{
string
}
Sets the font search path.
Calls
\code
{
fmsetpath(
string
)
}
.
Calls
\code
{
fmsetpath(
\var
{
string
}
)
}
.
(XXX Does not work!?!)
\end{funcdesc}
...
...
@@ -78,11 +77,12 @@ Calls \code{fmgetcomment(\var{fh})}.
Returns a tuple giving some pertinent data about this font.
This is an interface to
\code
{
fmgetfontinfo()
}
.
The returned tuple contains the following numbers:
\code
{
(
\var
{
printermatched
}
,
\var
{
fixed
_
width
}
,
\var
{
xorig
}
,
\var
{
yorig
}
,
\var
{
xsize
}
,
\var
{
ysize
}
,
\var
{
height
}
,
\var
{
nglyphs
}
)
}
.
\code
{
(
}
\var
{
printermatched
}
,
\var
{
fixed
_
width
}
,
\var
{
xorig
}
,
\var
{
yorig
}
,
\var
{
xsize
}
,
\var
{
ysize
}
,
\var
{
height
}
,
\var
{
nglyphs
}
\code
{
)
}
.
\end{funcdesc}
\begin{funcdesc}
{
getstrwidth
}{
string
}
Returns the width, in pixels, of
the string
when drawn in this font.
Returns the width, in pixels, of
\var
{
string
}
when drawn in this font.
Calls
\code
{
fmgetstrwidth(
\var
{
fh
}
,
\var
{
string
}
)
}
.
\end{funcdesc}
Doc/libfm.tex
View file @
c9808b3a
...
...
@@ -4,8 +4,8 @@
This module provides access to the IRIS
\emph
{
Font Manager
}
library.
It is available only on Silicon Graphics machines.
See also:
4Sight User's Guide, Section 1, Chapter 5: Using the IRIS
Font Manager.
See also:
\emph
{
4Sight User's Guide
}
, Section 1, Chapter 5: ``Using
the IRIS Font Manager.''
This is not yet a full interface to the IRIS Font Manager.
Among the unsupported features are: matrix operations; cache
...
...
@@ -14,12 +14,11 @@ details of font info; individual glyph metrics; and printer matching.
It supports the following operations:
\setindexsubitem
{
(in module fm)
}
\begin{funcdesc}
{
init
}{}
Initialization function.
Calls
\c
ode
{
fminit()
}
.
Calls
\c
function
{
fminit()
}
.
It is normally not necessary to call this function, since it is called
automatically the first time the
\
cod
e
{
fm
}
module is imported.
automatically the first time the
\
modul
e
{
fm
}
module is imported.
\end{funcdesc}
\begin{funcdesc}
{
findfont
}{
fontname
}
...
...
@@ -29,18 +28,18 @@ Calls \code{fmfindfont(\var{fontname})}.
\begin{funcdesc}
{
enumerate
}{}
Returns a list of available font names.
This is an interface to
\c
ode
{
fmenumerate()
}
.
This is an interface to
\c
function
{
fmenumerate()
}
.
\end{funcdesc}
\begin{funcdesc}
{
prstr
}{
string
}
Render a string using the current font (see the
\
code
{
setfont()
}
font
Render a string using the current font (see the
\
function
{
setfont()
}
font
handle method below).
Calls
\code
{
fmprstr(
\var
{
string
}
)
}
.
\end{funcdesc}
\begin{funcdesc}
{
setpath
}{
string
}
Sets the font search path.
Calls
\code
{
fmsetpath(
string
)
}
.
Calls
\code
{
fmsetpath(
\var
{
string
}
)
}
.
(XXX Does not work!?!)
\end{funcdesc}
...
...
@@ -78,11 +77,12 @@ Calls \code{fmgetcomment(\var{fh})}.
Returns a tuple giving some pertinent data about this font.
This is an interface to
\code
{
fmgetfontinfo()
}
.
The returned tuple contains the following numbers:
\code
{
(
\var
{
printermatched
}
,
\var
{
fixed
_
width
}
,
\var
{
xorig
}
,
\var
{
yorig
}
,
\var
{
xsize
}
,
\var
{
ysize
}
,
\var
{
height
}
,
\var
{
nglyphs
}
)
}
.
\code
{
(
}
\var
{
printermatched
}
,
\var
{
fixed
_
width
}
,
\var
{
xorig
}
,
\var
{
yorig
}
,
\var
{
xsize
}
,
\var
{
ysize
}
,
\var
{
height
}
,
\var
{
nglyphs
}
\code
{
)
}
.
\end{funcdesc}
\begin{funcdesc}
{
getstrwidth
}{
string
}
Returns the width, in pixels, of
the string
when drawn in this font.
Returns the width, in pixels, of
\var
{
string
}
when drawn in this font.
Calls
\code
{
fmgetstrwidth(
\var
{
fh
}
,
\var
{
string
}
)
}
.
\end{funcdesc}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment