On Tue 03 May 2016 10:53:45 Ralph Corderoy wrote: > Hi Werner, > > > > Should I be telling groff that I want to use those Nimbus fonts so > > > it uses their metrics rather than the "almost identical" Times' > > > ones? > > > > If you use the gropdf output device, try groff's `-P -y -P U' option > > to use the URW fonts. > > Using -Tpdf gives a PDF that refers to Times-Roman and doesn't embed my > local Nimbus substitute. Adding `-P -y -P U' didn't change the PDF > produced, apart from expected CreationDate, trailer's ID, etc. > > /usr/share/groff/1.22.3/font/devpdf/download has only the "blank" > foundry, with no mention of Times. Arch Linux groff 1.22.3-6. > > Cheers, Ralph.
# foundry ps name psfile AvantGarde-Book /usr/share/ghostscript/9.14/Resource/Font/URWGothicL- Book AvantGarde-BookOblique /usr/share/ghostscript/9.14/Resource/Font/URWGothicL-BookObli AvantGarde-Demi /usr/share/ghostscript/9.14/Resource/Font/URWGothicL- Demi AvantGarde-DemiOblique /usr/share/ghostscript/9.14/Resource/Font/URWGothicL-DemiObli Bookman-Demi /usr/share/ghostscript/9.14/Resource/Font/URWBookmanL- DemiBold Bookman-DemiItalic /usr/share/ghostscript/9.14/Resource/Font/URWBookmanL-DemiBoldItal Bookman-Light /usr/share/ghostscript/9.14/Resource/Font/URWBookmanL-Ligh Bookman-LightItalic /usr/share/ghostscript/9.14/Resource/Font/URWBookmanL-LighItal Courier */usr/share/ghostscript/9.14/Resource/Font/NimbusMonL-Regu Courier-Bold */usr/share/ghostscript/9.14/Resource/Font/NimbusMonL-Bold Courier-BoldOblique */usr/share/ghostscript/9.14/Resource/Font/NimbusMonL-BoldObli Courier-Oblique */usr/share/ghostscript/9.14/Resource/Font/NimbusMonL- ReguObli FreeEuro ../devps/freeeuro.pfa Helvetica */usr/share/ghostscript/9.14/Resource/Font/NimbusSanL-Regu Helvetica-Bold */usr/share/ghostscript/9.14/Resource/Font/NimbusSanL- Bold Helvetica-BoldOblique */usr/share/ghostscript/9.14/Resource/Font/NimbusSanL-BoldItal Helvetica-Narrow /usr/share/ghostscript/9.14/Resource/Font/NimbusSanL- ReguCond Helvetica-Narrow-Bold /usr/share/ghostscript/9.14/Resource/Font/NimbusSanL-BoldCond Helvetica-Narrow-BoldOblique /usr/share/ghostscript/9.14/Resource/Font/NimbusSanL-BoldCondItal Helvetica-Narrow-Oblique /usr/share/ghostscript/9.14/Resource/Font/NimbusSanL-ReguCondItal Helvetica-Oblique */usr/share/ghostscript/9.14/Resource/Font/NimbusSanL- ReguItal NewCenturySchlbk-Bold /usr/share/ghostscript/9.14/Resource/Font/CenturySchL-Bold NewCenturySchlbk-BoldItalic /usr/share/ghostscript/9.14/Resource/Font/CenturySchL-BoldItal NewCenturySchlbk-Italic /usr/share/ghostscript/9.14/Resource/Font/CenturySchL-Ital NewCenturySchlbk-Roman /usr/share/ghostscript/9.14/Resource/Font/CenturySchL-Roma Palatino-Bold /usr/share/ghostscript/9.14/Resource/Font/URWPalladioL-Bold Palatino-BoldItalic /usr/share/ghostscript/9.14/Resource/Font/URWPalladioL-BoldItal Palatino-Italic /usr/share/ghostscript/9.14/Resource/Font/URWPalladioL- Ital Palatino-Roman /usr/share/ghostscript/9.14/Resource/Font/URWPalladioL- Roma Symbol */usr/share/ghostscript/9.14/Resource/Font/StandardSymL Times-Bold */usr/share/ghostscript/9.14/Resource/Font/NimbusRomNo9L-Medi Times-BoldItalic */usr/share/ghostscript/9.14/Resource/Font/NimbusRomNo9L-MediItal Times-Italic */usr/share/ghostscript/9.14/Resource/Font/NimbusRomNo9L- ReguItal Times-Roman */usr/share/ghostscript/9.14/Resource/Font/NimbusRomNo9L-Regu ZapfChancery-MediumItalic /usr/share/ghostscript/9.14/Resource/Font/URWChanceryL-MediItal ZapfDingbats */usr/share/ghostscript/9.14/Resource/Font/Dingbats U CenturySchL-Bold /usr/share/fonts/default/Type1/c059016l.pfb U CenturySchL-BoldItal /usr/share/fonts/default/Type1/c059036l.pfb U CenturySchL-Ital /usr/share/fonts/default/Type1/c059033l.pfb U CenturySchL-Roma /usr/share/fonts/default/Type1/c059013l.pfb U Dingbats /usr/share/fonts/default/Type1/d050000l.pfb U NimbusMonL-Bold /usr/share/fonts/default/Type1/n022004l.pfb U NimbusMonL-BoldObli /usr/share/fonts/default/Type1/n022024l.pfb U NimbusMonL-Regu /usr/share/fonts/default/Type1/n022003l.pfb U NimbusMonL-ReguObli /usr/share/fonts/default/Type1/n022023l.pfb U NimbusRomNo9L-Medi /usr/share/fonts/default/Type1/n021004l.pfb U NimbusRomNo9L-MediItal /usr/share/fonts/default/Type1/n021024l.pfb U NimbusRomNo9L-Regu /usr/share/fonts/default/Type1/n021003l.pfb U NimbusRomNo9L-ReguItal /usr/share/fonts/default/Type1/n021023l.pfb U NimbusSanL-Bold /usr/share/fonts/default/Type1/n019004l.pfb U NimbusSanL-BoldCond /usr/share/fonts/default/Type1/n019044l.pfb U NimbusSanL-BoldCondItal /usr/share/fonts/default/Type1/n019064l.pfb U NimbusSanL-BoldItal /usr/share/fonts/default/Type1/n019024l.pfb U NimbusSanL-Regu /usr/share/fonts/default/Type1/n019003l.pfb U NimbusSanL-ReguCond /usr/share/fonts/default/Type1/n019043l.pfb U NimbusSanL-ReguCondItal /usr/share/fonts/default/Type1/n019063l.pfb U NimbusSanL-ReguItal /usr/share/fonts/default/Type1/n019023l.pfb U StandardSymL /usr/share/fonts/default/Type1/s050000l.pfb U URWBookmanL-DemiBold /usr/share/fonts/default/Type1/b018015l.pfb U URWBookmanL-DemiBoldItal /usr/share/fonts/default/Type1/b018035l.pfb U URWBookmanL-Ligh /usr/share/fonts/default/Type1/b018012l.pfb U URWBookmanL-LighItal /usr/share/fonts/default/Type1/b018032l.pfb U URWChanceryL-MediItal /usr/share/fonts/default/Type1/z003034l.pfb U URWGothicL-Book /usr/share/fonts/default/Type1/a010013l.pfb U URWGothicL-BookObli /usr/share/fonts/default/Type1/a010033l.pfb U URWGothicL-Demi /usr/share/fonts/default/Type1/a010015l.pfb U URWGothicL-DemiObli /usr/share/fonts/default/Type1/a010035l.pfb U URWPalladioL-Bold /usr/share/fonts/default/Type1/p052004l.pfb U URWPalladioL-BoldItal /usr/share/fonts/default/Type1/p052024l.pfb U URWPalladioL-Ital /usr/share/fonts/default/Type1/p052023l.pfb U URWPalladioL-Roma /usr/share/fonts/default/Type1/p052003l.pfb If you don't have the "U" foundry in your download file, but you do have the default fonts, you could try:- groff -T pdf -P-e This tells gropdf to embed all fonts, including the 14 base type 1 fonts, which includes Times Roman. One way to add the URW fonts post groff install is to run the BuildFoundries program after you have cd'd into the devpdf font directory. Within this directory you should find a file called "Foundry". Make sure line 68 includes the path to the URW fonts, then:- BuildFoundries . (Note the parameter of a full stop). This should regerate the download file and add new fonts which start U-*, so Werners "-P-y -P-U" should work. Hope this helps. Cheers Deri
BuildFoundries
Description: Perl program