[comp.sys.atari.st] How to modify PageStream's Bookman "i" and "j" dots

kibo@pawl16.pawl.rpi.edu (James 'Kibo' Parry) (05/31/90)

[]
	I wanted to raise the dots on the "i" and "j" for clarity at
smaller sizes.  Here's a way to do it...

	I wrote this a few minutes before I discovered that the font
editor has just been released (posted to GEnie).



MODIFYING PAGESTREAM'S BOOKMAN "i" AND "j" DOTS
 
by James "Kibo" Parry 5/30/90
   72347,2731 (Compuserve)
   kibo@pawl.rpi.edu (Internet)
   userfe0n at rpitsmts (Bitnet)
 
   This file is an explanation of how to edit the PageStream "Bookman"
outline font (sold on font disk 3) to raise the "altitude" of the
dots on the lowercase "i" and "j".  No font editor is needed--but you
need a DISK editor that will let you modify sectors in hexadecimal.
 
   This editing will do nothing to the file except move those two
dots slightly--no character widths will be altered, or anything else.
DISCLAIMER:  I am not responsible if you do strange things to the
disk with your disk editor (please follow the instructions below
very carefully.)  I am not connected with the Soft-Logik company in
any way.
 
   1.)  Make a copy of BOOK.DMF.  I suggest working from a copy made
        from an unmodified version--if you have already edited BOOK.DMF,
        the items you need to change below will be in different places.
 
   2.)  Start your disk editor.  Tell it to open the BOOK.DMF file.
        Note whether it calls the first sector of the file #0 or #1!
 
   3.)  Go to the 31st sector in the file (this will be #30 if your
        editor calls the first sector #0.)  Change your editor's
        display mode from ASCII to HEX if you need to.
 
   4.)  Check to make sure the sector starts with "03 4E 00 04" and
        ends with "02 8D 01 F5".  If it doesn't, either your file is
        different than my original BOOK.DMF, or else you're on the
        wrong sector.
 
   5.)  Find the area in the sector that says "40 00 18 01 92" (it
        starts at the 343rd byte in the sector).  The "40" in
        that region is the first number you will be changing.  Here
        are the changes you will be making in this sector:
 
     ORIGINAL   CHANGED (blank means no change)
        40        00
        00
        18
        01
        92
        01
        F3        B3
        02
        06
        01
        F3        B3
        02
        06
        02
        40        00
        00
        18
        02
        06
        02
        8D        4D
        01
        92
        02
        8D        4D
        01
        92
        02
        40        00
 
   6.)  If you've done this right (and if I've done this right),
        you've just raised the dot on the "i" by 64 of
        PageStream's internal units.  (The bytes we changed were
        the vertical coordinates.  All that code was just for one
        little dot.)  Now for the "j"...
 
   7.)  Near the end of the same sector--starting at byte #485--is
        a region that says "42 00 18 01 F5 01".  We will start editing
        with the "42".
 
     ORIGINAL   CHANGED (blank means no change)
        42        02
        00
        18
        01
        F5
        01
        F0        B0
        02
        69
        01
        F0        B0
        02
        69
        02
        42        02
        00
        18
        02
        69
        02
        8D        4D
        01
        F5
        02
        8D        4D
 
   8.)  The last byte you changed should have been two bytes away from
        the last byte in the sector, if all went well.  This sector
        is finished and should be written to the disk.
 
   9.)  A little of the "j"'s data goes into the next sector, so
        tell the disk editor to advance one sector.  This sector
        (the 32nd, or #31 in some editors) should begin with 
        "02 42 00 04".
 
  10.)  Change the "42" to "02" and write this sector to the disk.
 
  You're now done.  At this point, you should decide to do one
or the other of these:
 
   A.)  Delete the old version of BOOK.DMF from the disk you have
        your fonts installed on, and put the new version in its place,
        
        or
   
   B.)  If you want BOTH versions of Bookman installed in PageStream,
        you should use the PageStream font converter to change the
        name of the modified font and the ID number (this means keeping
        a modified .FM for the new version, and possibly screen fonts
        too.)
 
  If you want to use this font on a Postscript printer that has the
"standard" Bookman built in, change the new version's name
and ID number and then create a downloadable .PS and .PSF font.
 
  Let me know if you have any problems.  I checked this document and
I hope that all the numbers are typed correctly.
 
                                                James "Kibo" Parry
 

-- 
james "kibo" parry, 138 birch lane, scotia, ny 12302 <-- close to schenectady.
kibo@pawl.rpi.edu            _________________________________________________
kibo%pawl.rpi.edu@rpi.edu   / Kibology    /  Anything I say is my opinion,
userfe0n@rpitsmts.bitnet   /  is better! /   and is the opposite of Xibo's.