einari@rhi.hi.is (Einar Indridason) (08/01/89)
I few weeks back a BGI-utility was on c.b.i.p. I naturally grabbed it but now I need some assistance: I need some help about Borland's 'font-editor', FE I need to define my own characters, but I just get 'bad signature' Example: I load 'FE' in, and add only one line to one character, (or delete a line). I 'save changes' and 'update' before I quit in FE. Now, if I load the font again in FE, all I get is: 'invalid signature' Another example: I load 'FE' in, and start defining new, empty character set. I add one line to one character. 'save changes' and 'update' befor I quit in FE. Now, if I load the font again in FE, all I get is: 'invalid signature' Also, when I want to try my 'new-fonts' out by running a small program I wrote, The BGI-system chokes on it and gives me the error: 'invalid font'. Has anyone made FE to work ?? Any ideas how to make FE work ?? I desperately need FE to work, so please please answer if you have any idea ??? -- To quote Alfred E. Neuman: "What! Me worry????" |||| Pobody is Nerfect !!! Internet: einari@rhi.hi.is UUCP: ..!mcvax!hafro!rhi!einari
manuel@hpspkla.HP.COM (John L. Manuel) (08/04/89)
>Example: >I load 'FE' in, and add only one line to one character, (or delete a line). >I 'save changes' and 'update' before I quit in FE. Now, if I load the font >again in FE, all I get is: 'invalid signature' >Another example: >I load 'FE' in, and start defining new, empty character set. I add one line >to one character. 'save changes' and 'update' befor I quit in FE. Now, if I >load the font again in FE, all I get is: 'invalid signature' >Also, when I want to try my 'new-fonts' out by running a small program I wrote, >The BGI-system chokes on it and gives me the error: 'invalid font'. >Has anyone made FE to work ?? Yes, but not the one that was posted here. >Any ideas how to make FE work ?? I had the same problem with the BGI package that was posted to comp.graphics The editor worked well, is easy to use, and I wanted to make my own fonts.... Well... when I made a change I could never load the font again after saving it. I decided to try to figure out what was going on and dumped a copy of the font file before and after modification. Well, in one of the other docs in the package it says the file (font) header is a TOTAL of 80 bytes. In other words header data comes first and then pad with 0's out to 80 bytes, then comes the individual font chars. It seems that after you make an edit and save the file the FE program writes the header info and THEN WRITES 80 bytes of 0's!!!! This makes the header to long and the char data starts to late in the file. Also the one other thing I noticed was that the first 2 chars of each font file is 'PK', I'm sure we all know what that stands for.... anyway after saving the edits the first 2 chars were something like a heart and a smiley face. Sooo... I usually wait for stuff to be posted here (I try to stay off Comp- u-Serv), but I finally broke down a few weeks ago and got on comp-u-serv and downloaded it. Anyway the one there is bigger and has a later date then the one that was posted. It works the same as the one posted here but saves the fonts correctly if they have been edited. I have now successfully added chars to existing fonts and created my own fonts, and Turbo Pascal and C like them. Hope this helps... If anyone else has more info (or more correct info) on what happened and why things like this are actually released I'd like to hear about it. John Manuel manuel@hpspkla.HP.COM