how do I get a different font?

James E. Prior jep at oink.UUCP
Wed Oct 12 23:25:28 AEST 1988


In article <11870 at quartz.BBN.COM> dm at bbn.com (Dave Mankins) writes:
>So I have this UNIX PC 7300, and I've read the cfont(1) man page and
>the font(5) man page and I've made myself a font (an 8x7 font, so I
>can get lots more text onto the screen, though I have to squint a
>little). 

   Please email or post a copy of font.

>I've read the window(7) man page and I've written a little C program
>that does the right ioctl, the disk whirs.
>
>Now, how do I switch to using that font?  Will the ansi terminal
>emulator change its idea of the font size?  Or do I have to go back
>and make microemacs do all character manipulations through rasterops?
>-- 
>david mankins/dm at bbn.com

I haven't tried changing a font for just one program.  I've changed _all_
the screen over to my font.  To do this, login as install.  Down deep in
one of the installation menus (Administration, Software Setup, Set Up font),
you can change the font.  It will allow to install fonts in the /usr/lib/wfont
directory.  Only those fonts with execute permission (755) can be installed.
There should already be many fonts sitting around in that directory without
such permission.  You can install them if you add execute permission.

for giggles, I've included my own font below

begin 755 prior7x9in9x12
M   !C@ )# H                                )# #V"0 "^@$)!/<)
M  ,*! ,"]PD  Q0'"0'W"0 #$@<+ ?8)  ,<!PD!]PD  RH'"0'W"0 #- ,$
M _8)  ,^ PD#]PD  SX#"0/W"0 #2 <' ?@)  -2!P<!^ D  U@#! +^"0 #
M7@<! ?L)  -> @("_ at D  U@'!P'X"0 #5 <) ?<)  -:!0D"]PD  V0'"0'W
M"0 #;@<) ?<)  -X!PD!]PD  X('"0'W"0 #C <) ?<)  .6!PD!]PD  Z '
M"0'W"0 #J@<) ?<)  .T @8#^@D  [X#" /Z"0 #P at 4) ?<)  /*!P,!^@D 
M ]0%"0'W"0 #T@<) ?<)  /<!PD!]PD  ^8'"0'W"0 #\ <) ?<)  /Z!PD!
M]PD ! 0'"0'W"0 $#@<) ?<)  08!PD!]PD !"('"0'W"0 $+ <) ?<)  0V
M!0D"]PD !$ '"0'W"0 $2@<) ?<)  14!PD!]PD !%X'"0'W"0 $: <) ?<)
M  1R!PD!]PD !'P'"0'W"0 $A@<+ ?<)  20!PD!]PD !)X'"0'W"0 $J <)
M ?<)  2R!PD!]PD !+P'"0'W"0 $Q@<) ?<)  30!PD!]PD !-H'"0'W"0 $
MY <) ?<)  3N!0D"]PD !/@'!P+X"0 % @4) O<)  4(!P0!]@D !1(' 0$ 
M"0 %$@,$ _8)  4,!P8!^@D !0P&"0'W"0 %$ 8& ?H)  4:!@D!]PD !1X&
M!@'Z"0 %* 8) ?<)  4L!@@!^@D !38&"0'W"0 %/@,( _@)  5(!@H!^ D 
M!5 &"0'W"0 %7 ,) _<)  5F!P8!^@D !7 &!@'Z"0 %= 8& ?H)  5X!@@!
M^@D !7P'" 'Z"0 %A 8& ?H)  6,!@8!^@D !9 &" 'X"0 %E 8& ?H)  6<
M!P8!^@D !: '!@'Z"0 %I 8& ?H)  6H!@@!^@D !:P&!@'Z"0 %M <) ?<)
M  6X 0L$]@D !<('"0'W"0 %T <# ?<)  7:"0P ]@D !=@             
M                     0 !  $  0 !  $    !  $ "0 )  D %  4 !0 
M?P 4 '\ %  4 !0 "  ( #X 20 ) #X 2 !) #X "  (  8 20 I !8 "  T
M $H 20 P  X $0 1  H ! !* #$ ,0!.  8 !@ "  $ !  "  $  0 !  $ 
M 0 "  0  0 "  0 !  $  0 !  "  $ " !) "H '  J $D "  (  @ " !_
M  @ "  (  8 !@ "  $ ?P #  , 0  @ !  "  $  (  0 ^ $$ 80!1 $D 
M10!# $$ /@ $  8 !0 $  0 !  $  0 'P ^ $$ 0  @ !P  @ !  $ ?P ^
M $$ 0 !  #P 0 !  $$ /@ @ #  *  D "( (0!_ "  ( !_  $  0 ? "  
M0 !  "$ '@ \  (  0 ! #\ 00!! $$ /@!_ $$ (  0  @ !  $  0 !  ^
M $$ 00!! #X 00!! $$ /@ ^ $$ 00!! 'X 0 !  "  '@ #  ,       , 
M P &  8       8 !@ "  $ $  (  0  @ !  ( !  ( !  ?P   '\  0 "
M  0 "  0  @ !  "  $ /@!! $$ 0  P  @ "     @ /@!! %D 50!5 %4 
M?0 ! #X '  B $$ 00!! '\ 00!! $$ /P!" $( 0@ ^ $( 0@!" #\ / !"
M  $  0 !  $  0!" #P 'P B $( 0@!" $( 0@ B !\ ?P !  $  0 /  $ 
M 0 ! '\ ?P !  $  0 /  $  0 !  $ / !"  $  0 ! 'D 00!" #P 00!!
M $$ 00!_ $$ 00!! $$ 'P $  0 !  $  0 !  $ !\ ?  0 !  $  0 !  
M$  1  X 00 A !$ "0 %  L $0 A $$  0 !  $  0 !  $  0 ! '\ 00!C
M %4 20!! $$ 00!! $$ 00!# $4 20!1 &$ 00!! $$ '  B $$ 00!! $$ 
M00 B !P /P!! $$ 00 _  $  0 !  $ '  B $$ 00!! $D 40 B #P ( ! 
M #\ 00!! $$ /P ) !$ (0!! #X 00 !  $ /@!  $  00 ^ '\ "  (  @ 
M"  (  @ "  ( $$ 00!! $$ 00!! $$ 00 ^ $$ 00!! "( (@ 4 !0 "  (
M $$ 00!) $D 20!) $D 20 V $$ 00 B !0 "  4 "( 00!! $$ 00 B !0 
M"  (  @ "  ( '\ 0  @ !  "  $  (  0!_ !\  0 !  $  0 !  $  0 ?
M  $  @ $  @ $  @ $  'P 0 !  $  0 !  $  0 !\ "  4 "( 00!_  , 
M P "  0 '@ @ #X (0 A %X  0 !  $ '0 C "$ (0 C !T '@ A  $  0 A
M !X (  @ "  +@ Q "$ (0 Q "X '@ A #\  0 A !X &  D  0 !  _  0 
M!  $  0 +@ Q "$ ,0 N "  (0 >  $  0 ! !T (P A "$ (0 A  (    #
M  (  @ "  ( !P @    ,  @ "  (  @ "  (0 >  $  0 ! !$ "0 %  L 
M$0 A  ,  @ "  (  @ "  (  @ ' #< 20!) $D 20!) !T (P A "$ (0 A
M !X (0 A "$ (0 > !T (P A "$ (P =  $  0 N #$ (0 A #$ +@ @ $  
M'0 C  $  0 !  $ '@ A  8 &  A !X !  $ !\ !  $  0 )  8 "$ (0 A
M "$ ,0 N $$ 00!! "( %  ( $$ 20!) $D 20 V "$ $@ ,  P $@ A "$ 
M(0 A #$ +@ @ "$ '@ _ !  "  $  ( /P!P  @ "  (  < "  (  @ <  !
M  $  0 !  $    !  $  0 !  $ !P (  @ " !P  @ "  (  < !@!) # !
7_P'_ ?\!_P'_ ?\!_P'_ ?\!_P'_ ?\(
 
end
-- 
Jim Prior    osu-cis!n8emr!oink!jep    jep at oink.UUCP

Pointers are my friend.



More information about the Comp.sys.att mailing list