Firefox stopped showing characters
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
Today I installed the Calibri font in my Ubuntu 16.04 using the method showed here, that is, I crated a ~/.fonts
directory then used this command:
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer | bash
do download and install a bundle of fonts.
But instantly after the download finished my Firefox stopped showing some characters. Apparently this happens with some monospaced fonts (not checked).
For example, here in the Stack Exchange network, text formatted as code appears as:
(this is a screenshot from the answer I mentioned)
Also, this cool github page appears like this:
Furthermore, this question you are reading was written in GEdit then copy-pasted here in the site, because the characters in the message body box do not show at all (although the title box does), like this:
What happened whant I ran that script? How to fix this?
16.04 firefox fonts
add a comment |Â
up vote
0
down vote
favorite
Today I installed the Calibri font in my Ubuntu 16.04 using the method showed here, that is, I crated a ~/.fonts
directory then used this command:
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer | bash
do download and install a bundle of fonts.
But instantly after the download finished my Firefox stopped showing some characters. Apparently this happens with some monospaced fonts (not checked).
For example, here in the Stack Exchange network, text formatted as code appears as:
(this is a screenshot from the answer I mentioned)
Also, this cool github page appears like this:
Furthermore, this question you are reading was written in GEdit then copy-pasted here in the site, because the characters in the message body box do not show at all (although the title box does), like this:
What happened whant I ran that script? How to fix this?
16.04 firefox fonts
1
Have you tried to delete the~/.fonts
directory?
â Gunnar Hjalmarsson
Jan 31 at 21:37
@GunnarHjalmarsson I tried, but it didn't do anything. Wait, let me try something... So, after removing the directory from there and restarting Firefox (I tried it before, but didn't do the restart) it worked. The problem is that I actually need the Calibri font (stupid standards). Is there a way to make both live in peace?
â Phelype Oleinik
Jan 31 at 21:40
1
One idea: Create the directory/usr/share/fonts/calibri
and put them there instead of~/.fonts
.
â Gunnar Hjalmarsson
Jan 31 at 22:08
It worked! Thanks! I put them in/usr/share/fonts/truetype/calibri/
, change the permission torw-r--r--
, then executedsudo fc-cache -fvs
to make the system aware of the new fonts. Everything's working now:)
â Phelype Oleinik
Jan 31 at 22:22
Great! Can you please post that as an answer? (It's fine to answer your own question, and in a couple of days you'll be able to accept it.)
â Gunnar Hjalmarsson
Jan 31 at 23:39
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Today I installed the Calibri font in my Ubuntu 16.04 using the method showed here, that is, I crated a ~/.fonts
directory then used this command:
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer | bash
do download and install a bundle of fonts.
But instantly after the download finished my Firefox stopped showing some characters. Apparently this happens with some monospaced fonts (not checked).
For example, here in the Stack Exchange network, text formatted as code appears as:
(this is a screenshot from the answer I mentioned)
Also, this cool github page appears like this:
Furthermore, this question you are reading was written in GEdit then copy-pasted here in the site, because the characters in the message body box do not show at all (although the title box does), like this:
What happened whant I ran that script? How to fix this?
16.04 firefox fonts
Today I installed the Calibri font in my Ubuntu 16.04 using the method showed here, that is, I crated a ~/.fonts
directory then used this command:
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer | bash
do download and install a bundle of fonts.
But instantly after the download finished my Firefox stopped showing some characters. Apparently this happens with some monospaced fonts (not checked).
For example, here in the Stack Exchange network, text formatted as code appears as:
(this is a screenshot from the answer I mentioned)
Also, this cool github page appears like this:
Furthermore, this question you are reading was written in GEdit then copy-pasted here in the site, because the characters in the message body box do not show at all (although the title box does), like this:
What happened whant I ran that script? How to fix this?
16.04 firefox fonts
16.04 firefox fonts
asked Jan 31 at 21:05
![](https://i.stack.imgur.com/YXa8I.jpg?s=32&g=1)
![](https://i.stack.imgur.com/YXa8I.jpg?s=32&g=1)
Phelype Oleinik
1186
1186
1
Have you tried to delete the~/.fonts
directory?
â Gunnar Hjalmarsson
Jan 31 at 21:37
@GunnarHjalmarsson I tried, but it didn't do anything. Wait, let me try something... So, after removing the directory from there and restarting Firefox (I tried it before, but didn't do the restart) it worked. The problem is that I actually need the Calibri font (stupid standards). Is there a way to make both live in peace?
â Phelype Oleinik
Jan 31 at 21:40
1
One idea: Create the directory/usr/share/fonts/calibri
and put them there instead of~/.fonts
.
â Gunnar Hjalmarsson
Jan 31 at 22:08
It worked! Thanks! I put them in/usr/share/fonts/truetype/calibri/
, change the permission torw-r--r--
, then executedsudo fc-cache -fvs
to make the system aware of the new fonts. Everything's working now:)
â Phelype Oleinik
Jan 31 at 22:22
Great! Can you please post that as an answer? (It's fine to answer your own question, and in a couple of days you'll be able to accept it.)
â Gunnar Hjalmarsson
Jan 31 at 23:39
add a comment |Â
1
Have you tried to delete the~/.fonts
directory?
â Gunnar Hjalmarsson
Jan 31 at 21:37
@GunnarHjalmarsson I tried, but it didn't do anything. Wait, let me try something... So, after removing the directory from there and restarting Firefox (I tried it before, but didn't do the restart) it worked. The problem is that I actually need the Calibri font (stupid standards). Is there a way to make both live in peace?
â Phelype Oleinik
Jan 31 at 21:40
1
One idea: Create the directory/usr/share/fonts/calibri
and put them there instead of~/.fonts
.
â Gunnar Hjalmarsson
Jan 31 at 22:08
It worked! Thanks! I put them in/usr/share/fonts/truetype/calibri/
, change the permission torw-r--r--
, then executedsudo fc-cache -fvs
to make the system aware of the new fonts. Everything's working now:)
â Phelype Oleinik
Jan 31 at 22:22
Great! Can you please post that as an answer? (It's fine to answer your own question, and in a couple of days you'll be able to accept it.)
â Gunnar Hjalmarsson
Jan 31 at 23:39
1
1
Have you tried to delete the
~/.fonts
directory?â Gunnar Hjalmarsson
Jan 31 at 21:37
Have you tried to delete the
~/.fonts
directory?â Gunnar Hjalmarsson
Jan 31 at 21:37
@GunnarHjalmarsson I tried, but it didn't do anything. Wait, let me try something... So, after removing the directory from there and restarting Firefox (I tried it before, but didn't do the restart) it worked. The problem is that I actually need the Calibri font (stupid standards). Is there a way to make both live in peace?
â Phelype Oleinik
Jan 31 at 21:40
@GunnarHjalmarsson I tried, but it didn't do anything. Wait, let me try something... So, after removing the directory from there and restarting Firefox (I tried it before, but didn't do the restart) it worked. The problem is that I actually need the Calibri font (stupid standards). Is there a way to make both live in peace?
â Phelype Oleinik
Jan 31 at 21:40
1
1
One idea: Create the directory
/usr/share/fonts/calibri
and put them there instead of ~/.fonts
.â Gunnar Hjalmarsson
Jan 31 at 22:08
One idea: Create the directory
/usr/share/fonts/calibri
and put them there instead of ~/.fonts
.â Gunnar Hjalmarsson
Jan 31 at 22:08
It worked! Thanks! I put them in
/usr/share/fonts/truetype/calibri/
, change the permission to rw-r--r--
, then executed sudo fc-cache -fvs
to make the system aware of the new fonts. Everything's working now :)
â Phelype Oleinik
Jan 31 at 22:22
It worked! Thanks! I put them in
/usr/share/fonts/truetype/calibri/
, change the permission to rw-r--r--
, then executed sudo fc-cache -fvs
to make the system aware of the new fonts. Everything's working now :)
â Phelype Oleinik
Jan 31 at 22:22
Great! Can you please post that as an answer? (It's fine to answer your own question, and in a couple of days you'll be able to accept it.)
â Gunnar Hjalmarsson
Jan 31 at 23:39
Great! Can you please post that as an answer? (It's fine to answer your own question, and in a couple of days you'll be able to accept it.)
â Gunnar Hjalmarsson
Jan 31 at 23:39
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
With the help of @GunnarHjalmarsson I solved the problem.
I don't know exactly why that happened, but perhaps Firefox looked for fonts there, found one, and used it. But those fonts don't have a typewriter variant, so maybe this is the cause.
The Solution
@GunnarHjalmarsson suggested to move the fonts to /usr/share/fonts/calibri
.
Since these were TrueType fonts, I moved them to /usr/share/fonts/truetype/calibri
Actually, there are more fonts in the bundle, so I did this:
for i in calibri cambria candara consola constan corbel; do
sudo mkdir /usr/share/fonts/truetype/$i # create the folder
sudo mv ~/.fonts/$i* /usr/share/fonts/truetype/$i/ # move the font files
sudo chmod 644 /usr/share/fonts/truetype/$i/* # change permission of the fonts to rw-r--r--
done
After that I removed the ~/.fonts
and restarted Firefox and the problem was solved...
But then the fonts were no longer available (for XeTeX, at least). So I downloaded the script which installed the fonts in the first place:
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer
but didn't execute it. At the end of the script I found fc-cache -fv ~/.fonts
. Reading the man fc-cache
page I found out that this command creates sort of a mapping of the available fonts, so I used:
fc-cache -fvs
to regenerate these mappings.
After that I had my Firefox working fine and the fonts were available for XeTeX to use.
I must add that on another computer (both with Ubuntu 16.04 and Firefox 58) I did the same procedure described in the question (the font installation), but the problem didn't happen... I have no idea why :P
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
With the help of @GunnarHjalmarsson I solved the problem.
I don't know exactly why that happened, but perhaps Firefox looked for fonts there, found one, and used it. But those fonts don't have a typewriter variant, so maybe this is the cause.
The Solution
@GunnarHjalmarsson suggested to move the fonts to /usr/share/fonts/calibri
.
Since these were TrueType fonts, I moved them to /usr/share/fonts/truetype/calibri
Actually, there are more fonts in the bundle, so I did this:
for i in calibri cambria candara consola constan corbel; do
sudo mkdir /usr/share/fonts/truetype/$i # create the folder
sudo mv ~/.fonts/$i* /usr/share/fonts/truetype/$i/ # move the font files
sudo chmod 644 /usr/share/fonts/truetype/$i/* # change permission of the fonts to rw-r--r--
done
After that I removed the ~/.fonts
and restarted Firefox and the problem was solved...
But then the fonts were no longer available (for XeTeX, at least). So I downloaded the script which installed the fonts in the first place:
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer
but didn't execute it. At the end of the script I found fc-cache -fv ~/.fonts
. Reading the man fc-cache
page I found out that this command creates sort of a mapping of the available fonts, so I used:
fc-cache -fvs
to regenerate these mappings.
After that I had my Firefox working fine and the fonts were available for XeTeX to use.
I must add that on another computer (both with Ubuntu 16.04 and Firefox 58) I did the same procedure described in the question (the font installation), but the problem didn't happen... I have no idea why :P
add a comment |Â
up vote
0
down vote
accepted
With the help of @GunnarHjalmarsson I solved the problem.
I don't know exactly why that happened, but perhaps Firefox looked for fonts there, found one, and used it. But those fonts don't have a typewriter variant, so maybe this is the cause.
The Solution
@GunnarHjalmarsson suggested to move the fonts to /usr/share/fonts/calibri
.
Since these were TrueType fonts, I moved them to /usr/share/fonts/truetype/calibri
Actually, there are more fonts in the bundle, so I did this:
for i in calibri cambria candara consola constan corbel; do
sudo mkdir /usr/share/fonts/truetype/$i # create the folder
sudo mv ~/.fonts/$i* /usr/share/fonts/truetype/$i/ # move the font files
sudo chmod 644 /usr/share/fonts/truetype/$i/* # change permission of the fonts to rw-r--r--
done
After that I removed the ~/.fonts
and restarted Firefox and the problem was solved...
But then the fonts were no longer available (for XeTeX, at least). So I downloaded the script which installed the fonts in the first place:
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer
but didn't execute it. At the end of the script I found fc-cache -fv ~/.fonts
. Reading the man fc-cache
page I found out that this command creates sort of a mapping of the available fonts, so I used:
fc-cache -fvs
to regenerate these mappings.
After that I had my Firefox working fine and the fonts were available for XeTeX to use.
I must add that on another computer (both with Ubuntu 16.04 and Firefox 58) I did the same procedure described in the question (the font installation), but the problem didn't happen... I have no idea why :P
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
With the help of @GunnarHjalmarsson I solved the problem.
I don't know exactly why that happened, but perhaps Firefox looked for fonts there, found one, and used it. But those fonts don't have a typewriter variant, so maybe this is the cause.
The Solution
@GunnarHjalmarsson suggested to move the fonts to /usr/share/fonts/calibri
.
Since these were TrueType fonts, I moved them to /usr/share/fonts/truetype/calibri
Actually, there are more fonts in the bundle, so I did this:
for i in calibri cambria candara consola constan corbel; do
sudo mkdir /usr/share/fonts/truetype/$i # create the folder
sudo mv ~/.fonts/$i* /usr/share/fonts/truetype/$i/ # move the font files
sudo chmod 644 /usr/share/fonts/truetype/$i/* # change permission of the fonts to rw-r--r--
done
After that I removed the ~/.fonts
and restarted Firefox and the problem was solved...
But then the fonts were no longer available (for XeTeX, at least). So I downloaded the script which installed the fonts in the first place:
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer
but didn't execute it. At the end of the script I found fc-cache -fv ~/.fonts
. Reading the man fc-cache
page I found out that this command creates sort of a mapping of the available fonts, so I used:
fc-cache -fvs
to regenerate these mappings.
After that I had my Firefox working fine and the fonts were available for XeTeX to use.
I must add that on another computer (both with Ubuntu 16.04 and Firefox 58) I did the same procedure described in the question (the font installation), but the problem didn't happen... I have no idea why :P
With the help of @GunnarHjalmarsson I solved the problem.
I don't know exactly why that happened, but perhaps Firefox looked for fonts there, found one, and used it. But those fonts don't have a typewriter variant, so maybe this is the cause.
The Solution
@GunnarHjalmarsson suggested to move the fonts to /usr/share/fonts/calibri
.
Since these were TrueType fonts, I moved them to /usr/share/fonts/truetype/calibri
Actually, there are more fonts in the bundle, so I did this:
for i in calibri cambria candara consola constan corbel; do
sudo mkdir /usr/share/fonts/truetype/$i # create the folder
sudo mv ~/.fonts/$i* /usr/share/fonts/truetype/$i/ # move the font files
sudo chmod 644 /usr/share/fonts/truetype/$i/* # change permission of the fonts to rw-r--r--
done
After that I removed the ~/.fonts
and restarted Firefox and the problem was solved...
But then the fonts were no longer available (for XeTeX, at least). So I downloaded the script which installed the fonts in the first place:
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer
but didn't execute it. At the end of the script I found fc-cache -fv ~/.fonts
. Reading the man fc-cache
page I found out that this command creates sort of a mapping of the available fonts, so I used:
fc-cache -fvs
to regenerate these mappings.
After that I had my Firefox working fine and the fonts were available for XeTeX to use.
I must add that on another computer (both with Ubuntu 16.04 and Firefox 58) I did the same procedure described in the question (the font installation), but the problem didn't happen... I have no idea why :P
answered Feb 1 at 10:22
![](https://i.stack.imgur.com/YXa8I.jpg?s=32&g=1)
![](https://i.stack.imgur.com/YXa8I.jpg?s=32&g=1)
Phelype Oleinik
1186
1186
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1001853%2ffirefox-stopped-showing-characters%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Have you tried to delete the
~/.fonts
directory?â Gunnar Hjalmarsson
Jan 31 at 21:37
@GunnarHjalmarsson I tried, but it didn't do anything. Wait, let me try something... So, after removing the directory from there and restarting Firefox (I tried it before, but didn't do the restart) it worked. The problem is that I actually need the Calibri font (stupid standards). Is there a way to make both live in peace?
â Phelype Oleinik
Jan 31 at 21:40
1
One idea: Create the directory
/usr/share/fonts/calibri
and put them there instead of~/.fonts
.â Gunnar Hjalmarsson
Jan 31 at 22:08
It worked! Thanks! I put them in
/usr/share/fonts/truetype/calibri/
, change the permission torw-r--r--
, then executedsudo fc-cache -fvs
to make the system aware of the new fonts. Everything's working now:)
â Phelype Oleinik
Jan 31 at 22:22
Great! Can you please post that as an answer? (It's fine to answer your own question, and in a couple of days you'll be able to accept it.)
â Gunnar Hjalmarsson
Jan 31 at 23:39