Skip to main content
Inspiring
September 20, 2022
Answered

Problem finding fonts specified in a ps file

  • September 20, 2022
  • 2 replies
  • 974 views

Hi All

I suspect a trivial question but it is driving me nuts so please be gentle!

I have a program that creates a .ps file

when processed by distiller the log says

Times not found, using Courier.
%%[ Warning: Times-Bold not found, using Font Substitution. Font cannot be embedded. ]%%

 

The offending lines in the ps file would seem to be

 

% now to copy the standard font and change the encoding to ISOLatin1
% see PS manual section 5.9.1
/Times findfont % find the font
dup length dict begin % make a copy of the dictionary exlcuding the FID entry
{ 1 index /FID ne
{def}
{pop pop}
ifelse
} forall
/Encoding ISOLatin1Encoding def % replace the fonts encoding array with the ISOLatin1 array
currentdict
end
/Times-ISO exch definefont pop % gives the new font a name

 

and there is equivalent code for Times-Bold (which produces an error) and ArialNarrow, ArialNarrow-Bold which works fine

Further down I have 

 

/FTitle   11   /Times-Bold-ISO FSD          % define the required fonts
/Subtitle 10   /Times-ISO FSD             %
/FRound   9   /Times-Bold-ISO FSD             %
/FGame    7.5   /ArialNarrow-ISO FSD         %
/FTeam    9   /ArialNarrow-Bold-ISO FSD    %

 

and I used FGame, Fround etc in the ps file

The system has a true type Times font installed (Regular and Bold) and also Times New Roman.

So why am I getting font not found errors?

Thanks for any suggestions

 

 

 

 

    This topic has been closed for replies.
    Correct answer RincewindWiz

    Try /TimesNewRomanPSMT


    Hi Thanks for this

    It seems the actual font name is TimesNewRomanPSMT (and others like TimesNewRomanPS-BoldMT).
    You can find these in Adobe Distiller  under Settings->Edit Job Options->Fonts.

    Sadly the panel is not wide enough to display the full font name!!
    .

    Hope that helps anyone coming here with the same problem

     

     

    2 replies

    Brad @ Roaring Mouse
    Community Expert
    Community Expert
    October 8, 2022

    What does your PS file list under both %%DocumentSuppliedResources and %%DocumentNeededResources:?

     

    "Times-Bold", for example, is asking for the one of the basic 13 fonts (Type 1) usually supplied by a Postscript printer. Your Postcript generator could be assuming that the Standard Basic 13 fonts are available so does not download them into the file. This can be because of the specific printer driver you are using (and any PPD associated with it, if so used), so I guess it depends on how you are creating these files.

    In the olden days, Acrobat Distiller had a secret store of these basic 13 fonts built into in the program so they could be used if necessary, but current versions do not, since the licensing agreement for these fonts has ended.

    Check Distiller's Font Locations settings and make sure it is has links to folders with the missing fonts. You can add a special folder with your own fonts. Make sure Distiller setting "Always Embeds" the fonts.

    Check your printer driver's properties/preferences for its Font Substitution. Most drivers have a Substitution rule default to substitute Times New Roman (TT) for "Times", which is the Type 1 outline built into most PS printers. If this is the case, change it to "Don't Substitute" and see if that makes a difference.

     

    Legend
    September 20, 2022

    I can't see how this could even start working. /Times is not the name of a standard PostScript font (and the message says so). The standard name is /Times-Roman. /Times-Bold is standard, however, but Adobe do not provide it for embedding, so that's as expected. Are you hoping that these names will somehow be mapped to your Times New Roman font? That won't happen, at least not in Distiller.

    Inspiring
    September 20, 2022

    Well it seemed reasonable to me as I had a Times font (and a Times New Roman font) installed.

    But I did also try replacing /Times  findfont with /Times-Roman; /Times-New-Roman; /TimesRoman and they all failed with the same error (font not found using font substitution)

    Legend
    September 20, 2022

    You'll notice you have two different errors.

    1. Times not found, using Courier -- this means the font was not found and not known to Distiller. You've got rid of this by using the right name.
    2. %%[ Warning: Times-Bold not found, using Font Substitution. Font cannot be embedded. ]%%

    This means you don't have the actual font file so you can't embed it.

    What's the difference? Distiller has the metrics (sizes) of hundreds of fonts built in. Such fonts (including the "base 13 fonts") can be included in a PDF as a reference, but not embedded.

    As the world has abandoned type 1 fonts, you are unlikely to find embeddable base 13 fonts any more. But if you can find the "true" PostScript names of your TrueType fonts you might be able to use them. No idea (any more) how to get a list, but try /TimesNewRomanPS-MT.