#1 Le 04/11/2015, à 21:04
- manup31
Définir une font alias sur TimesNewRomanPS-BoldMT
Bonjour,
Je reçois des pdf générés sur Windows avec des polices pas embarquées, dont ArialMT, TimesNewRomanPSMT et TimesNewRomanPS-BoldMT.
L'affichage par evince est n'importe quoi sur certaines parties.
J'ai réussi à "aliaser" ArialMT à Arial, TimesNewRomanPSMT avec "Times New Roman", mais je ne parviens pas à aliaser TimesNewRomanPS-BoldMT à quoique ce soit, pas même Times New Roman (que je voudrais bien Bold pour le coup).
Mon ~/.config/font-manager/local.conf :
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="family"><string>TimesNewRomanPSMT</string></test>
<edit name="family" mode="assign" binding="same">
<string>Times New Roman</string>
</edit>
</match>
<match>
<test name="family"><string>TimesNewRomanPS-BoldMT</string></test>
<edit name="family" mode="assign" binding="same">
<string>Times New Roman</string>
</edit>
</match>
<match>
<test name="family"> <string>ArialMT</string> </test>
<edit name="family" mode="assign" binding="same">
<string>Arial</string>
</edit>
</match>
</fontconfig>
Puis :
manu@manubuntu:~$ fc-match ArialMT
arial.ttf: "Arial" "Normal"
manu@manubuntu:~$ fc-match TimesNewRomanPSMT
Times_New_Roman.ttf: "Times New Roman" "Normal"
manu@manubuntu:~$ fc-match TimesNewRomanPS-BoldMT
DejaVuSans.ttf: "DejaVu Sans" "Book"
Une idée ?
Merci.
manu'
Hors ligne