How to properly display hindi/ gujarati in ubuntu

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








up vote
1
down vote

favorite
1












Ububtu 16.04.
Language support for Hindi and Gujarati enabled.
The issue is - hindi and gujarati does not display properly.
You can not read words that use "pra", "dra", "kra" etc. properly.



Is there anyway to solve this?



Thank you.










share|improve this question

























    up vote
    1
    down vote

    favorite
    1












    Ububtu 16.04.
    Language support for Hindi and Gujarati enabled.
    The issue is - hindi and gujarati does not display properly.
    You can not read words that use "pra", "dra", "kra" etc. properly.



    Is there anyway to solve this?



    Thank you.










    share|improve this question























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      Ububtu 16.04.
      Language support for Hindi and Gujarati enabled.
      The issue is - hindi and gujarati does not display properly.
      You can not read words that use "pra", "dra", "kra" etc. properly.



      Is there anyway to solve this?



      Thank you.










      share|improve this question













      Ububtu 16.04.
      Language support for Hindi and Gujarati enabled.
      The issue is - hindi and gujarati does not display properly.
      You can not read words that use "pra", "dra", "kra" etc. properly.



      Is there anyway to solve this?



      Thank you.







      fonts






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 5 at 17:43









      Airies Tauras

      84




      84




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Create the file ~/.config/fontconfig/conf.d/10-prefer-hindi-gujr.conf and give it this contents:



          <?xml version="1.0"?>
          <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
          <fontconfig>
          <alias>
          <family>serif</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          <alias>
          <family>sans-serif</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          <alias>
          <family>monospace</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          </fontconfig>





          share|improve this answer
















          • 1




            This is exactly was needed. Thank you.
            – Airies Tauras
            Feb 6 at 12:29










          • @AiriesTauras: I'm glad to hear. I'm not able to evaluate the effect myself. ;)
            – Gunnar Hjalmarsson
            Feb 6 at 13:40










          • It appears the rendering differs from font to font. Previously, I am not sure which font was used as default. And so it seemed like it did not render properly. (after your solution above) Lohit corrected the problems observed previously. However, it has its own incorrect rendering of few other words. Since then, I have played with various fonts and Lohit seems to be the font with least number of incorrect rendering. Search is on then for a font that would render every letter correctly. BTW, I am using akilanews.com for testing a local news website in Gujarati. Thank you.
            – Airies Tauras
            Feb 6 at 20:50










          • @AiriesTauras: Is it Gujarati you are focusing on? In that case you may want to reverse the order of the fonts in the config file, i.e. put "Lohit Gujarati" before "Lohit Devanagari" in all three places.
            – Gunnar Hjalmarsson
            Feb 7 at 1:31










          • @Anwar: This may be something for you to look at.
            – Gunnar Hjalmarsson
            Feb 7 at 1:40











          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%2f1003322%2fhow-to-properly-display-hindi-gujarati-in-ubuntu%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
          2
          down vote



          accepted










          Create the file ~/.config/fontconfig/conf.d/10-prefer-hindi-gujr.conf and give it this contents:



          <?xml version="1.0"?>
          <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
          <fontconfig>
          <alias>
          <family>serif</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          <alias>
          <family>sans-serif</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          <alias>
          <family>monospace</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          </fontconfig>





          share|improve this answer
















          • 1




            This is exactly was needed. Thank you.
            – Airies Tauras
            Feb 6 at 12:29










          • @AiriesTauras: I'm glad to hear. I'm not able to evaluate the effect myself. ;)
            – Gunnar Hjalmarsson
            Feb 6 at 13:40










          • It appears the rendering differs from font to font. Previously, I am not sure which font was used as default. And so it seemed like it did not render properly. (after your solution above) Lohit corrected the problems observed previously. However, it has its own incorrect rendering of few other words. Since then, I have played with various fonts and Lohit seems to be the font with least number of incorrect rendering. Search is on then for a font that would render every letter correctly. BTW, I am using akilanews.com for testing a local news website in Gujarati. Thank you.
            – Airies Tauras
            Feb 6 at 20:50










          • @AiriesTauras: Is it Gujarati you are focusing on? In that case you may want to reverse the order of the fonts in the config file, i.e. put "Lohit Gujarati" before "Lohit Devanagari" in all three places.
            – Gunnar Hjalmarsson
            Feb 7 at 1:31










          • @Anwar: This may be something for you to look at.
            – Gunnar Hjalmarsson
            Feb 7 at 1:40















          up vote
          2
          down vote



          accepted










          Create the file ~/.config/fontconfig/conf.d/10-prefer-hindi-gujr.conf and give it this contents:



          <?xml version="1.0"?>
          <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
          <fontconfig>
          <alias>
          <family>serif</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          <alias>
          <family>sans-serif</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          <alias>
          <family>monospace</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          </fontconfig>





          share|improve this answer
















          • 1




            This is exactly was needed. Thank you.
            – Airies Tauras
            Feb 6 at 12:29










          • @AiriesTauras: I'm glad to hear. I'm not able to evaluate the effect myself. ;)
            – Gunnar Hjalmarsson
            Feb 6 at 13:40










          • It appears the rendering differs from font to font. Previously, I am not sure which font was used as default. And so it seemed like it did not render properly. (after your solution above) Lohit corrected the problems observed previously. However, it has its own incorrect rendering of few other words. Since then, I have played with various fonts and Lohit seems to be the font with least number of incorrect rendering. Search is on then for a font that would render every letter correctly. BTW, I am using akilanews.com for testing a local news website in Gujarati. Thank you.
            – Airies Tauras
            Feb 6 at 20:50










          • @AiriesTauras: Is it Gujarati you are focusing on? In that case you may want to reverse the order of the fonts in the config file, i.e. put "Lohit Gujarati" before "Lohit Devanagari" in all three places.
            – Gunnar Hjalmarsson
            Feb 7 at 1:31










          • @Anwar: This may be something for you to look at.
            – Gunnar Hjalmarsson
            Feb 7 at 1:40













          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          Create the file ~/.config/fontconfig/conf.d/10-prefer-hindi-gujr.conf and give it this contents:



          <?xml version="1.0"?>
          <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
          <fontconfig>
          <alias>
          <family>serif</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          <alias>
          <family>sans-serif</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          <alias>
          <family>monospace</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          </fontconfig>





          share|improve this answer












          Create the file ~/.config/fontconfig/conf.d/10-prefer-hindi-gujr.conf and give it this contents:



          <?xml version="1.0"?>
          <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
          <fontconfig>
          <alias>
          <family>serif</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          <alias>
          <family>sans-serif</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          <alias>
          <family>monospace</family>
          <prefer>
          <family>Lohit Devanagari</family>
          <family>Lohit Gujarati</family>
          </prefer>
          </alias>
          </fontconfig>






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 6 at 2:50









          Gunnar Hjalmarsson

          18.1k23061




          18.1k23061







          • 1




            This is exactly was needed. Thank you.
            – Airies Tauras
            Feb 6 at 12:29










          • @AiriesTauras: I'm glad to hear. I'm not able to evaluate the effect myself. ;)
            – Gunnar Hjalmarsson
            Feb 6 at 13:40










          • It appears the rendering differs from font to font. Previously, I am not sure which font was used as default. And so it seemed like it did not render properly. (after your solution above) Lohit corrected the problems observed previously. However, it has its own incorrect rendering of few other words. Since then, I have played with various fonts and Lohit seems to be the font with least number of incorrect rendering. Search is on then for a font that would render every letter correctly. BTW, I am using akilanews.com for testing a local news website in Gujarati. Thank you.
            – Airies Tauras
            Feb 6 at 20:50










          • @AiriesTauras: Is it Gujarati you are focusing on? In that case you may want to reverse the order of the fonts in the config file, i.e. put "Lohit Gujarati" before "Lohit Devanagari" in all three places.
            – Gunnar Hjalmarsson
            Feb 7 at 1:31










          • @Anwar: This may be something for you to look at.
            – Gunnar Hjalmarsson
            Feb 7 at 1:40













          • 1




            This is exactly was needed. Thank you.
            – Airies Tauras
            Feb 6 at 12:29










          • @AiriesTauras: I'm glad to hear. I'm not able to evaluate the effect myself. ;)
            – Gunnar Hjalmarsson
            Feb 6 at 13:40










          • It appears the rendering differs from font to font. Previously, I am not sure which font was used as default. And so it seemed like it did not render properly. (after your solution above) Lohit corrected the problems observed previously. However, it has its own incorrect rendering of few other words. Since then, I have played with various fonts and Lohit seems to be the font with least number of incorrect rendering. Search is on then for a font that would render every letter correctly. BTW, I am using akilanews.com for testing a local news website in Gujarati. Thank you.
            – Airies Tauras
            Feb 6 at 20:50










          • @AiriesTauras: Is it Gujarati you are focusing on? In that case you may want to reverse the order of the fonts in the config file, i.e. put "Lohit Gujarati" before "Lohit Devanagari" in all three places.
            – Gunnar Hjalmarsson
            Feb 7 at 1:31










          • @Anwar: This may be something for you to look at.
            – Gunnar Hjalmarsson
            Feb 7 at 1:40








          1




          1




          This is exactly was needed. Thank you.
          – Airies Tauras
          Feb 6 at 12:29




          This is exactly was needed. Thank you.
          – Airies Tauras
          Feb 6 at 12:29












          @AiriesTauras: I'm glad to hear. I'm not able to evaluate the effect myself. ;)
          – Gunnar Hjalmarsson
          Feb 6 at 13:40




          @AiriesTauras: I'm glad to hear. I'm not able to evaluate the effect myself. ;)
          – Gunnar Hjalmarsson
          Feb 6 at 13:40












          It appears the rendering differs from font to font. Previously, I am not sure which font was used as default. And so it seemed like it did not render properly. (after your solution above) Lohit corrected the problems observed previously. However, it has its own incorrect rendering of few other words. Since then, I have played with various fonts and Lohit seems to be the font with least number of incorrect rendering. Search is on then for a font that would render every letter correctly. BTW, I am using akilanews.com for testing a local news website in Gujarati. Thank you.
          – Airies Tauras
          Feb 6 at 20:50




          It appears the rendering differs from font to font. Previously, I am not sure which font was used as default. And so it seemed like it did not render properly. (after your solution above) Lohit corrected the problems observed previously. However, it has its own incorrect rendering of few other words. Since then, I have played with various fonts and Lohit seems to be the font with least number of incorrect rendering. Search is on then for a font that would render every letter correctly. BTW, I am using akilanews.com for testing a local news website in Gujarati. Thank you.
          – Airies Tauras
          Feb 6 at 20:50












          @AiriesTauras: Is it Gujarati you are focusing on? In that case you may want to reverse the order of the fonts in the config file, i.e. put "Lohit Gujarati" before "Lohit Devanagari" in all three places.
          – Gunnar Hjalmarsson
          Feb 7 at 1:31




          @AiriesTauras: Is it Gujarati you are focusing on? In that case you may want to reverse the order of the fonts in the config file, i.e. put "Lohit Gujarati" before "Lohit Devanagari" in all three places.
          – Gunnar Hjalmarsson
          Feb 7 at 1:31












          @Anwar: This may be something for you to look at.
          – Gunnar Hjalmarsson
          Feb 7 at 1:40





          @Anwar: This may be something for you to look at.
          – Gunnar Hjalmarsson
          Feb 7 at 1:40


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003322%2fhow-to-properly-display-hindi-gujarati-in-ubuntu%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