You are not logged in.
Pages: 1
hi fellows,
I have a problem with almost all PDF: if a font is not embedded in the PDF, the system replace it with one that is my system (and so far it's good)
the problem is that replace it with a wrong one!
e.g. PDF wants "verdana-bold" and is not embedded ---> is replaced with "dejavu-bold" I have installed in my system the package "ttf-win8" which contains "verdana" too
screenshot: http://imgur.com/aoht6wy
how can I fix it?
thanks
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
This looks like a font-config issue - having the font installed is only part of it, font-config also needs to 'know' about it. Do you get the same output for the command below as me, or does your give DejaVu?
$ fc-match "Verdana-Bold"
verdana.ttf: "Verdana" "Normal"
EDIT: FWIW, the dark magics of font-config are still quite a mystery to me. I also get the following if I leave out the hyphen:
$ fc-match "Verdana Bold"
DejaVuSans.ttf: "DejaVu Sans" "Book"
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I get this:
[mattia@arch-desktop ~]$ fc-match "Verdana-Bold"
DejaVuSans.ttf: "DejaVu Sans" "Book"
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Check out the font-config wiki page then. Perhaps this part. Though I think if the fonts were installed correctly that shouldn't be necessary. I use ttf-ms-fonts, not the win8. Perhaps there is a difference in the post-install steps for the two packages.
EDIT: assuming you mean you use ttf-ms-win8 from the AUR, then both packages do have the same post-install scripts (except for an -s flag to fc-cache which should be irrelevant here).
Last edited by Trilby (2014-10-15 15:47:32)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
because I can't manually add an entry for every fonts I need to investigate on....
thanks for the moment @Trliby
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
ok, I can fix my "issue" using
# fc-presets set ms
NB: it's a bin from fontconfig-infinality-ultimate...I don't know if and how you can do it with "vanilla" fontconfig tools...
PS: ohhh noooo...archlinux.org site use Sans as font....why?
Last edited by nTia89 (2014-10-15 17:28:26)
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Pages: 1