Font hinting is lost in Chrome-like browsers (for some languages )





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















Since Ubuntu 18.04 (maybe from 17.10, I can't remember), some languages' font hinting are lost in Chrome-like browsers (like Chromium, Bangla, ... ). Also, Chrome's UI font itself renders so bad that the use of Chromium on Ubuntu became impossible.
Interestingly, all Ubuntu derivatives inherited this bug but other distros like Manjaro don't show this behaviour.



Below is a screenshot demonstrating the problem: the text of "Autofill" and "Appearance" becomes fuzzy (Click on both of the images for a full-size image)



Hairy :-) fonts



Below a screenshot of the expected behaviour:



Sleek fonts



What's an easy fix to this issue?










share|improve this question































    3















    Since Ubuntu 18.04 (maybe from 17.10, I can't remember), some languages' font hinting are lost in Chrome-like browsers (like Chromium, Bangla, ... ). Also, Chrome's UI font itself renders so bad that the use of Chromium on Ubuntu became impossible.
    Interestingly, all Ubuntu derivatives inherited this bug but other distros like Manjaro don't show this behaviour.



    Below is a screenshot demonstrating the problem: the text of "Autofill" and "Appearance" becomes fuzzy (Click on both of the images for a full-size image)



    Hairy :-) fonts



    Below a screenshot of the expected behaviour:



    Sleek fonts



    What's an easy fix to this issue?










    share|improve this question



























      3












      3








      3








      Since Ubuntu 18.04 (maybe from 17.10, I can't remember), some languages' font hinting are lost in Chrome-like browsers (like Chromium, Bangla, ... ). Also, Chrome's UI font itself renders so bad that the use of Chromium on Ubuntu became impossible.
      Interestingly, all Ubuntu derivatives inherited this bug but other distros like Manjaro don't show this behaviour.



      Below is a screenshot demonstrating the problem: the text of "Autofill" and "Appearance" becomes fuzzy (Click on both of the images for a full-size image)



      Hairy :-) fonts



      Below a screenshot of the expected behaviour:



      Sleek fonts



      What's an easy fix to this issue?










      share|improve this question
















      Since Ubuntu 18.04 (maybe from 17.10, I can't remember), some languages' font hinting are lost in Chrome-like browsers (like Chromium, Bangla, ... ). Also, Chrome's UI font itself renders so bad that the use of Chromium on Ubuntu became impossible.
      Interestingly, all Ubuntu derivatives inherited this bug but other distros like Manjaro don't show this behaviour.



      Below is a screenshot demonstrating the problem: the text of "Autofill" and "Appearance" becomes fuzzy (Click on both of the images for a full-size image)



      Hairy :-) fonts



      Below a screenshot of the expected behaviour:



      Sleek fonts



      What's an easy fix to this issue?







      18.04 fonts 19.04






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 23 mins ago









      Fabby

      27.1k1360161




      27.1k1360161










      asked 2 hours ago









      AnwarAnwar

      57.3k22149255




      57.3k22149255






















          1 Answer
          1






          active

          oldest

          votes


















          3














          The fix:



          sudo nano /etc/fonts/conf.avail/69-language-selector-ja.conf


          change on line 8 family to lang



          <test qual="all" name="lang" compare="contains">


          TL;DR:



          I began the test with replacing all Ubuntu *.conf files in the /etc/fonts/conf.d directory with Manjaro's to test whether it was a config bug (I thought it was in the freetype library). New configs worked well. Further investigating revealed that the specific issue is in the /etc/fonts/conf.avail/69-language-selector-ja.conf file. This file had at line 8



          <test qual="all" name="family" compare="contains">


          which seems to be wrong, since the family was already selected. It should be lang instead. Editing line 8 fixes all the annoyance.



          <test qual="all" name="lang" compare="contains">


          Hope, it will help some people like me. I filed a bug report in launchpad here. I encourage people to test the bug and click on "This bug affects me" link if this answer helped you.






          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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            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%2f1131704%2ffont-hinting-is-lost-in-chrome-like-browsers-for-some-languages%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3














            The fix:



            sudo nano /etc/fonts/conf.avail/69-language-selector-ja.conf


            change on line 8 family to lang



            <test qual="all" name="lang" compare="contains">


            TL;DR:



            I began the test with replacing all Ubuntu *.conf files in the /etc/fonts/conf.d directory with Manjaro's to test whether it was a config bug (I thought it was in the freetype library). New configs worked well. Further investigating revealed that the specific issue is in the /etc/fonts/conf.avail/69-language-selector-ja.conf file. This file had at line 8



            <test qual="all" name="family" compare="contains">


            which seems to be wrong, since the family was already selected. It should be lang instead. Editing line 8 fixes all the annoyance.



            <test qual="all" name="lang" compare="contains">


            Hope, it will help some people like me. I filed a bug report in launchpad here. I encourage people to test the bug and click on "This bug affects me" link if this answer helped you.






            share|improve this answer






























              3














              The fix:



              sudo nano /etc/fonts/conf.avail/69-language-selector-ja.conf


              change on line 8 family to lang



              <test qual="all" name="lang" compare="contains">


              TL;DR:



              I began the test with replacing all Ubuntu *.conf files in the /etc/fonts/conf.d directory with Manjaro's to test whether it was a config bug (I thought it was in the freetype library). New configs worked well. Further investigating revealed that the specific issue is in the /etc/fonts/conf.avail/69-language-selector-ja.conf file. This file had at line 8



              <test qual="all" name="family" compare="contains">


              which seems to be wrong, since the family was already selected. It should be lang instead. Editing line 8 fixes all the annoyance.



              <test qual="all" name="lang" compare="contains">


              Hope, it will help some people like me. I filed a bug report in launchpad here. I encourage people to test the bug and click on "This bug affects me" link if this answer helped you.






              share|improve this answer




























                3












                3








                3







                The fix:



                sudo nano /etc/fonts/conf.avail/69-language-selector-ja.conf


                change on line 8 family to lang



                <test qual="all" name="lang" compare="contains">


                TL;DR:



                I began the test with replacing all Ubuntu *.conf files in the /etc/fonts/conf.d directory with Manjaro's to test whether it was a config bug (I thought it was in the freetype library). New configs worked well. Further investigating revealed that the specific issue is in the /etc/fonts/conf.avail/69-language-selector-ja.conf file. This file had at line 8



                <test qual="all" name="family" compare="contains">


                which seems to be wrong, since the family was already selected. It should be lang instead. Editing line 8 fixes all the annoyance.



                <test qual="all" name="lang" compare="contains">


                Hope, it will help some people like me. I filed a bug report in launchpad here. I encourage people to test the bug and click on "This bug affects me" link if this answer helped you.






                share|improve this answer















                The fix:



                sudo nano /etc/fonts/conf.avail/69-language-selector-ja.conf


                change on line 8 family to lang



                <test qual="all" name="lang" compare="contains">


                TL;DR:



                I began the test with replacing all Ubuntu *.conf files in the /etc/fonts/conf.d directory with Manjaro's to test whether it was a config bug (I thought it was in the freetype library). New configs worked well. Further investigating revealed that the specific issue is in the /etc/fonts/conf.avail/69-language-selector-ja.conf file. This file had at line 8



                <test qual="all" name="family" compare="contains">


                which seems to be wrong, since the family was already selected. It should be lang instead. Editing line 8 fixes all the annoyance.



                <test qual="all" name="lang" compare="contains">


                Hope, it will help some people like me. I filed a bug report in launchpad here. I encourage people to test the bug and click on "This bug affects me" link if this answer helped you.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 18 mins ago









                Fabby

                27.1k1360161




                27.1k1360161










                answered 2 hours ago









                AnwarAnwar

                57.3k22149255




                57.3k22149255






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131704%2ffont-hinting-is-lost-in-chrome-like-browsers-for-some-languages%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    CARDNET

                    Boot-repair Failure: Unable to locate package grub-common:i386

                    濃尾地震