[comp.text.tex] lj_*.fli to *.pk

huyn@hplabsz.HPL.HP.COM (Pierre Nam Huyn) (07/21/90)

I'd like to unpack the font libraries that come with emtex (lj_*.fli)
to a set of *.pk files that can also be used by previewer like DVIVGA
or DVIMSWIN.

Would anyone understand the relationship between <mag1> and <mag2> in:

   lj_<mag1>.fli   <--->   <font>.<mag2>pk


   Also the emtex documentation seems to be less clear on unpacking
   font libraries than on building ones. Could anyone please clarify
   on how to unpack ?


   Pierre

eln272v@monu1.cc.monash.oz ( r lang) (07/23/90)

In article <5636@hplabsz.HPL.HP.COM>, huyn@hplabsz.HPL.HP.COM (Pierre Nam Huyn) writes:
> I'd like to unpack the font libraries that come with emtex (lj_*.fli)
> to a set of *.pk files that can also be used by previewer like DVIVGA
> or DVIMSWIN.
> 
> Would anyone understand the relationship between <mag1> and <mag2> in:
> 
>    lj_<mag1>.fli   <--->   <font>.<mag2>pk
mag1 is 5 times the number of dots per inch.
The 300 dpi fonts are in lj_1500.fli.
However, you can put any sized fonts in font library.
lj_1500.fli contains 240 dpi, 270 dpi and 300 dpi fonts!
The resolution or size is actually stored within the font library.
Try doing 'fontlib /l lj_1500.fli'.


The following MS-DOS batch file will extract all the emTeX lasetjet
fonts into dpi files.

REM create pk font files from emTeX font libraries
mkdir c:\texfonts\240
fontlib /w /v c:\texfonts\lj_1500.fli 1200 c:\texfonts\240 #*.pk
mkdir c:\texfonts\270
fontlib /w /v c:\texfonts\lj_1500.fli 1350 c:\texfonts\270 #*.pk
mkdir c:\texfonts\300
fontlib /w /v c:\texfonts\lj_1500.fli 1500 c:\texfonts\300 #*.pk
mkdir c:\texfonts\328
fontlib /w /v c:\texfonts\lj_1643.fli 1643 c:\texfonts\328 #*.pk
mkdir c:\texfonts\360
fontlib /w /v c:\texfonts\lj_1800.fli 1800 c:\texfonts\360 #*.pk
mkdir c:\texfonts\432
fontlib /w /v c:\texfonts\lj_2160.fli 2160 c:\texfonts\432 #*.pk
mkdir c:\texfonts\518
fontlib /w /v c:\texfonts\lj_2592.fli 2592 c:\texfonts\518 #*.pk
mkdir c:\texfonts\622
fontlib /w /v c:\texfonts\lj_3110.fli 3110 c:\texfonts\622 #*.pk
mkdir c:\texfonts\746
fontlib /w /v c:\texfonts\lj_3732a.fli 3732 c:\texfonts\746 #*.pk
fontlib /w /v c:\texfonts\lj_3732b.fli 3732 c:\texfonts\746 #*.pk

-- 
Russell Lang   Email: rjl@monu1.cc.monash.edu.au   Phone: (03) 565 3460
Department of Electrical and Computer Systems Engineering
Monash University, Australia