Difference between revisions of "TeXfont - Old Content"

From Wiki
Jump to navigation Jump to search
 
Line 12: Line 12:
 
This will cause the font installation to fail.
 
This will cause the font installation to fail.
  
To fix the broken AFM files, open them in a text editor and find the section headed "StartComposites". In each line in this section, up to the line "EndComposites", make sure that there is a space '''before and after''' every semicolon (there are 3 semicolons per line). After you have done this, afm2tfm should work and texfont should complete successfully.
+
To fix the broken AFM files, open them in a text editor and find the section headed "StartComposites". In each line in this section, up to the line "EndComposites", make sure that there is a space '''before and after''' every semicolon (there are 3 semicolons per line). For example, the line referenced above will now look like this:
 +
 
 +
<pre>
 +
CC Aacute 2 ; PCC A 0 0 ; PCC acute 182 150 ;
 +
</pre>
 +
 
 +
After you have done this to all the CC lines, afm2tfm should work and texfont should complete successfully.

Revision as of 16:02, 28 February 2005

Century Gothic fails in texfont

If you are trying to get Monotype's Century Gothic font family to install using texfont, you may run into an error at the afm2tfm stage of the process, where a syntax error is shown with reference to the Composite Characters section of the AFM file. The error may look something like this:

; expected: ! syntax error
CC Aacute 2; PCC A 0 0; PCC acute 182 150;

                 ^

This will cause the font installation to fail.

To fix the broken AFM files, open them in a text editor and find the section headed "StartComposites". In each line in this section, up to the line "EndComposites", make sure that there is a space before and after every semicolon (there are 3 semicolons per line). For example, the line referenced above will now look like this:

CC Aacute 2 ; PCC A 0 0 ; PCC acute 182 150 ;

After you have done this to all the CC lines, afm2tfm should work and texfont should complete successfully.