Firefox stopped showing characters

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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:




enter image description here




(this is a screenshot from the answer I mentioned)



Also, this cool github page appears like this:




enter image description here




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:




enter image description here




What happened whant I ran that script? How to fix this?










share|improve this question

















  • 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 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














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:




enter image description here




(this is a screenshot from the answer I mentioned)



Also, this cool github page appears like this:




enter image description here




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:




enter image description here




What happened whant I ran that script? How to fix this?










share|improve this question

















  • 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 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












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:




enter image description here




(this is a screenshot from the answer I mentioned)



Also, this cool github page appears like this:




enter image description here




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:




enter image description here




What happened whant I ran that script? How to fix this?










share|improve this question













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:




enter image description here




(this is a screenshot from the answer I mentioned)



Also, this cool github page appears like this:




enter image description here




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:




enter image description here




What happened whant I ran that script? How to fix this?







16.04 firefox fonts






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 31 at 21:05









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 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












  • 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 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







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










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






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    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






























    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






    share|improve this answer
























      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






      share|improve this answer






















        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






        share|improve this answer














        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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 1 at 10:22









        Phelype Oleinik

        1186




        1186



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            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













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491