1

I'm trying to read a pdf that was created with MSWord using Garamond and kpdf is substituting 'Deja Vu Sans'. But I've got Palladio! Where can I change it?

  • 1
    KPDF? I though it was replaced by Okular (same as KGhostView). I don’t even have it in the repositories of my distribution. – Gallaecio Oct 31 '12 at 18:24
  • Cool. I'm ready to abandon it. I'll see what synaptic has to offer. Thanks. – luser droog Nov 1 '12 at 8:37
  • Did Okular work for you? – sendmoreinfo Feb 8 '13 at 18:34
  • I never found it in synaptic or apt-get. And later that computer died. And I'm on Windows now, so acrobat seems to have it covered. – luser droog Feb 8 '13 at 18:45
1

Very, very old question, but I'll add what I've learnt today to help out other google voyagers who end up here.

Specific font substitution is controlled by your ~/.fonts.conf which might be a link to ~/.config/fontconfig/fonts.conf (overall patterns are in /etc/fonts/conf.d/30-metric-aliases.conf)

In ~/.fonts.conf, within the tags, add a section like

<match>                                                                                                              
    <test name="family"><string>FONT-TO-BE-REPLACED</string></test>                                                                  
    <edit name="family" mode="assign" binding="strong">                                                                
      <string>REPLACE-WITH-THIS-FONT</string>                                                                                           
    </edit>                                                                                                            
  </match>  

which in your case should be

<match>                                                                                                              
    <test name="family"><string>Garamond</string></test>                                                                  
    <edit name="family" mode="assign" binding="strong">                                                                
      <string>Palladio</string>                                                                                           
    </edit>                                                                                                            
  </match>  

That is how it should be done.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.