[comp.windows.x] really large font?

max@spam.uchicago.edu (09/18/90)

NAIVE QUESTION: Is there a really large font in the standard mit distribution 
suitable for use with xterm?  Is one readily available elsewhere?

I am using mit X11R4 on a sparcstation.  I'd like a font like the one the
machine uses before you start up a windowing system; that is, something large
enough so that 24 rows and 80 columns fills the entire screen.

A secondary problem I have is that I can't seem to navigate the fonts I do have
using xfontsel.  So many of the components of the full font name seem to effect
the apparent size.  And what does the "ptSz" component refer to?  I guessed it
was size of the font in points, but it doesn't seem to be that, at least, not 
with respect to how the font is rendered on the screen.

Thanks for any help -- I'd prefer responses by e-mail.


Donald Ziff (Max)         Center for Information and Language Studies
                          1100 E. 57th Street, Chicago, Illinois   60637
                          max@estragon.UChicago.{EDU,BITNET,MAILNET,CSNET}
                          ...!uunet!mimsy!oddjob!gargoyle!max

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (09/19/90)

    Is there a really large font in the standard mit distribution 
    suitable for use with xterm?

How about one of these?
-adobe-courier-medium-r-normal--34-240-100-100-m-200-iso8859-1
-b&h-lucidatypewriter-bold-r-normal-sans-34-240-100-100-m-200-iso8859-1
-bitstream-terminal-medium-r-normal--36-280-100-100-c-22-iso8859-1

    And what does the "ptSz" component refer to?

See the XLFD (X Logical Font Descriptions) specification:

POINT_SIZE is an unsigned integer-string typographic metric in 
device-independent units which gives the body size 
the font was designed for.
This field normally incorporates additional vertical spacing 
considered part of the font design.
(Note, however, that POINT_SIZE is not necessarily equivalent to the height 
of the font bounding box). 
POINT_SIZE is expressed in decipoints (where points are as defined 
in the X protocol or 72.27 pts = 1 inch) in the range zero to a 
``very-large-number''.

    I guessed it
    was size of the font in points, but it doesn't seem to be that, at least, not 
    with respect to how the font is rendered on the screen.

Perhaps because you are looking at fonts with the same point size but done for
different screen resolutions.  Actual pixel size on the screen is related to
point size rougly as follows (from the XLFD):

   PIXEL_SIZE = ROUND ((RESOLUTION_Y * POINT_SIZE) / DeciPointsPerInch)

vania@osf.ORG (Vania Joloboff) (09/19/90)

>  Actual pixel size on the screen is related to point size rougly as follows
> (from the XLFD):

>   PIXEL_SIZE = ROUND ((RESOLUTION_Y * POINT_SIZE) / DeciPointsPerInch)

With this definition the of PIXEL_SIZE the font may not be the real pixel size.

I thought it was the reverse, PIXEL_SIZE was the real pixel size
and POINT_SIZE was computed from that.

	POINT_SIZE = (PIXEL_SIZE * DeciPointsPerInch) / RESOLUTION_Y 

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (09/20/90)

    With this definition the of PIXEL_SIZE the font may not be the real
    pixel size.

I did say *roughly* (actually I said "rougly" :-).

    I thought it was the reverse, PIXEL_SIZE was the real pixel size
    and POINT_SIZE was computed from that.

Please read the XLFD.  "Design POINT_SIZE cannot be calculated or approximated."
(Although people seem to do it all the time when making up XLFD names for
existing random bitmap fonts. :-)  "POINT_SIZE can be approximated if not
supplied as a font property, according to the following algorithm:" (the one
I gave).

mouse@LARRY.MCRCIM.MCGILL.EDU (09/20/90)

> NAIVE QUESTION: Is there a really large font in the standard mit
> distribution suitable for use with xterm?  Is one readily available
> elsewhere?

> I am using mit X11R4 on a sparcstation.  I'd like a font like the one
> the machine uses before you start up a windowing system; that is,
> something large enough so that 24 rows and 80 columns fills the
> entire screen.

I think you'll find that with the default raw-console font, it's more
like 90 columns by 40 lines.  (Approximate values; I don't recall the
actual ones.)

In any case, there is somewhere available a program to convert from
vfont format (the format Sun supplies fonts in
/usr/lib/fonts/fixedwidthfonts in) to .bdf format.  I do not recall
where I found it, and cannot find my copy, but I can offer a bdf-format
copy of gallant.r.19 (the font in question).  Get it by from
gallant.r.19.bdf on 132.206.1.1.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu