Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.suse    |    Suse is actually not that bad    |    138,051 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 137,566 of 138,051    |
|    Paul R Schmidtbleicher to Jeffrey H. Coffield    |
|    Re: Adding Fonts to Ghostscript    |
|    04 Aug 22 20:02:01    |
      From: paulrs@foxinternet.net              On Thu, 4 Aug 2022 12:35:27 -0700, Jeffrey H. Coffield wrote:              > On 8/4/22 11:25, Paul R Schmidtbleicher wrote:       >> On Thu, 4 Aug 2022 08:50:57 -0700, Jeffrey H. Coffield wrote:       >>       >>> On 8/3/22 17:18, Paul R Schmidtbleicher wrote:       >>>> In "/usr/share/ghostscript/9.54.0/Resource/Init/" are two Fontmap       >>>> files. One is "Fontmap" 109B(ytes) I assume The other is "Fontmap.GS"       >>>> which can be modified by utilities like "Kate"       >>>>       >>>> I modified "Fontmap.GS" for 4 "alias" fonts pointing to fonts in a       >>>> directory included.       >>>>       >>>> % Aliases       >>>>       >>>> /Times-BoldItalic (/usr/share/PSFONTS/TNRBI.PFB) ; /Times-       >> Bold       >>>> (/usr/share/PSFONTS/TNRB.PFB) ; /Times-Italic       >>>> (/usr/share/PSFONTS/TNRI.PFB) ; /Times-Roman       >>>> (/usr/share/PSFONTS/TNR.PFB) ;       >>>>       >>>> However, it makes no difference when seeking to print a "PS"       >>>> postscript file. The nimbus font is chosen       >>>>       >>>> What step am I missing to get Ghostscript to recognize the changes to       >>>> the "Fontmap.GS" file.       >>>       >>> I assume you changed the existing definitions of Times and not added       >>> these lines to the front of the file.       >>>       >>> What is displayed if you enter       >>>       >>> /Times-Roman findfont       >>>       >>> into Ghostscript?       >>>       >>> Jeff       >>       >> This is what I get       >>       >> GS>/Times-Roman findfont Loading NimbusRoman-Regular font from       >> /usr/share/ghostscript/9.54.0/ Resource/Font/NimbusRoman-Regular...       >> 4481928 3126030 2005312 686036 1 done.       >>       >> It still loads a wrong font.       >       > Just to confirm...       >       > There isn't any definition of /Times-Roman in the Fontmap.GS AFTER the       > lines you changed/added?       >       > Jeff              Before the original Alias "Times" fonts I put % at the beginning        of each line       I assumed this means it is taken as "text" like the instructions              I then rewrote the 4 lines       /Times-Roman (/usr/share/PSFONTS/TNR.PFB) ;        etc. for the other 3 "Times" fonts        as the instructions said.              Doing a "Find" on Fontmap.GS shows only the        blocked originals       % /Times-Roman ......        and my Changes       /Times-Roman (/usr/share/PSFONTS/TNR.PFB) ;              No other.        Paul              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca