You are not logged in.
Pages: 1
Hi everyone,
I recently noticed that all codes embedded in pdfs or on websites are being rendered in a font i don't recognize and they're being rendered in uppercase. This is not much of an issue i presume, but i find it annnoying and will like to know what i may have done to cause it.
These are screenshots of a pdf Doc being rendered in uppercase
Last edited by Carfax (2014-03-27 08:34:24)
Offline
What application are you using for displaying these websites and pdfs?
Have you googled the issue?
Offline
What application are you using for displaying these websites and pdfs?
Have you googled the issue?
Browser is Mozilla, pdfs are evince . I've googled the issue and i haven't found anything relating to it, though it may just have been wrong phrasing of my terms. I've tried several phrases though.
Offline
What fonts have you installed ? It is very likely you miss this one and evince replace it with another.
« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock
Offline
What fonts have you installed ? It is very likely you miss this one and evince replace it with another.
I have quite a number of fonts installed and i use gnome-tweak-tool to manage my selections, however i don't recognize fonts at all and they're not part of my selection. Evince has Courier, Times and Helvetica families installed(Thats apart from the embedded, but i've used the book on other distros and i can vouch they're not embedded"
Offline
When did it stat happening? Did you update some packages or changed a config around that time?
This looks like a bitmap font. Have you disabled bitmap fonts?
Offline
When did it stat happening? Did you update some packages or changed a config around that time?
This looks like a bitmap font. Have you disabled bitmap fonts?
It's been a couple of weeks. And i hadn't really played around with any font configs at the said time.
I don't think i have any bitmap-fonts enabled do i?
[carfax conf.d]$ ls
10-scale-bitmap-fonts.conf 30-urw-aliases.conf 57-dejavu-sans.conf 69-unifont.conf
20-unhint-small-dejavu-sans.conf 40-nonlatin.conf 57-dejavu-sans-mono.conf 80-delicious.conf
20-unhint-small-dejavu-sans-mono.conf 45-latin.conf 57-dejavu-serif.conf 90-synthetic.conf
20-unhint-small-dejavu-serif.conf 49-sansserif.conf 60-latin.conf README
20-unhint-small-vera.conf 50-user.conf 65-fonts-persian.conf
30-metric-aliases.conf 51-local.conf 65-nonlatin.conf
Offline
Offline
Thanks for the link. I've disabled the scaling as well. Nothing has changed.
Offline
A search that prints most of the fonts currently being used by Firefox:
lsof | grep -i firefox | egrep -i 'ttf|pfb'Offline
Try using a firefox add-on, like 'Context font' to see that font is that https://addons.mozilla.org/en-US/firefo … text-font/
Here it shows that the text is '20px monospace', so it's not of much help.
Offline
A search that prints most of the fonts currently being used by Firefox:
lsof | grep -i firefox | egrep -i 'ttf|pfb'
Unfortunately i do not have the lsof utility installed, but i can see what type of font firefox is using in the preferences. It's serif. But i'm not as concerned with the web browser part as i am concerned with the rendering in the pdf docs.
Offline
A page displayed in firefox often overrides your preferences. The command I gave to use does not print what you have specified in your font preferences. That command will print the filenames of the actual fonts used.
$ lsof | grep -i firefox | egrep -i 'ttf|pfb'
firefox 499 casey mem REG 8,5 555884 422396 /usr/share/fonts/TTF/ariali.ttf
firefox 499 casey mem REG 8,5 561924 422421 /usr/share/fonts/TTF/arialbi.ttf
firefox 499 casey mem REG 8,5 749004 422404 /usr/share/fonts/TTF/arialbd.ttf
firefox 499 casey mem REG 8,5 778552 422432 /usr/share/fonts/TTF/arial.ttf
firefox 499 casey mem REG 8,5 313408 420431 /usr/share/fonts/TTF/LiberationMono-Regular.ttf
firefox 499 casey mem REG 8,5 741536 400720 /usr/share/fonts/TTF/DejaVuSans.ttfOffline
Try using a firefox add-on, like 'Context font' to see that font is that https://addons.mozilla.org/en-US/firefo … text-font/
Here it shows that the text is '20px monospace', so it's not of much help.
I installed it, and it's showing the font as Open sans which i don't have on my system/or at least it's not visible through the gnome-tweak-tool selection interface. However it's the very same text being rendered in my pdf docs
Offline
A page displayed in firefox often overrides your preferences. The command I gave to use does not print what you have specified in your font preferences. That command will print the filenames of the actual fonts used.
$ lsof | grep -i firefox | egrep -i 'ttf|pfb' firefox 499 casey mem REG 8,5 555884 422396 /usr/share/fonts/TTF/ariali.ttf firefox 499 casey mem REG 8,5 561924 422421 /usr/share/fonts/TTF/arialbi.ttf firefox 499 casey mem REG 8,5 749004 422404 /usr/share/fonts/TTF/arialbd.ttf firefox 499 casey mem REG 8,5 778552 422432 /usr/share/fonts/TTF/arial.ttf firefox 499 casey mem REG 8,5 313408 420431 /usr/share/fonts/TTF/LiberationMono-Regular.ttf firefox 499 casey mem REG 8,5 741536 400720 /usr/share/fonts/TTF/DejaVuSans.ttf
Ok, i did a search
firefox 808 carfax mem REG 8,1 343388 660174 /usr/share/fonts/TTF/DejaVuSerif-Italic.ttf
firefox 808 carfax mem REG 8,1 70730 660574 /usr/share/fonts/Type1/n019004l.pfb
firefox 808 carfax mem REG 8,1 59088 659841 /usr/share/fonts/TTF/AAIRCN__.ttf
firefox 808 carfax mem REG 8,1 109157 660622 /usr/share/fonts/Type1/p052004l.pfb
firefox 808 carfax mem REG 8,1 632168 660160 /usr/share/fonts/TTF/DejaVuSans-BoldOblique.ttf
firefox 808 carfax mem REG 8,1 335068 660171 /usr/share/fonts/TTF/DejaVuSansMono.ttf
firefox 808 carfax mem REG 8,1 345364 660172 /usr/share/fonts/TTF/DejaVuSerif-Bold.ttf
firefox 808 carfax mem REG 8,1 693876 660159 /usr/share/fonts/TTF/DejaVuSans-Bold.ttf
firefox 808 carfax mem REG 8,1 741536 660163 /usr/share/fonts/TTF/DejaVuSans.ttf
firefox 808 carfax mem REG 8,1 367260 660175 /usr/share/fonts/TTF/DejaVuSerif.ttf
firefox 808 carfax mem REG 8,1 79155 660571 /usr/share/fonts/Type1/n019003l.pfbOffline
I suspect you font configuration rules are setting an unwanted substitution for 'Monospace'.
'Monospace' and 'Serif' are not font names. They are similar to aliases. To find the font being substituted for 'Monospace', try
$ fc-match MonospaceIn my case it returns: DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
The font I don't recognize in your listing is AAIRCN__.ttf. Is that your 'Monospace' font? I coudn't find a package that includes it.
If you are not using the infinality packages, a simple cure might come from reinstalling the DejaVu package: 'pacman -S ttf-dejavu'. If that does not work, you are going to have to search through your font configuration files and determine where the font substitution rule for Monospace is being set.
Offline
I suspect you font configuration rules are setting an unwanted substitution for 'Monospace'.
'Monospace' and 'Serif' are not font names. They are similar to aliases. To find the font being substituted for 'Monospace', try
$ fc-match MonospaceIn my case it returns: DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
The font I don't recognize in your listing is AAIRCN__.ttf. Is that your 'Monospace' font? I coudn't find a package that includes it.
If you are not using the infinality packages, a simple cure might come from reinstalling the DejaVu package: 'pacman -S ttf-dejavu'. If that does not work, you are going to have to search through your font configuration files and determine where the font substitution rule for Monospace is being set.
Thanks you very much for your time and patience. Yeah seems like the problem was substitution after all, So i went and did replacements for all bitmap fonts though i didn't have bitmap enabled. Solved the problem.
Offline
Pages: 1