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,569 of 138,051    |
|    Jeffrey H. Coffield to Paul R Schmidtbleicher    |
|    Re: Adding Fonts to Ghostscript    |
|    04 Aug 22 13:36:55    |
      From: jeffrey@digitalsynergyinc.com              On 8/4/22 13:02, Paul R Schmidtbleicher wrote:       > 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              Okay,              My next guess is that Times-Roman, being one of the 13 base fonts, is       loaded by default and the Fontmap.GS is only used when it needs a font       it doesn't already know about. This definition appears to be overridden       by the loadallfonts command.              What if you changed the name to /Times-RomanX? What happens then?              Probably not a final solution but a good test.              You could also try replacing the file Nimbus-Roman* files with your own.              Jeff              --- 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