How to properly display hindi/ gujarati in ubuntu
![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
1
down vote
favorite
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
add a comment |Â
up vote
1
down vote
favorite
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
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
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
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
fonts
asked Feb 5 at 17:43
Airies Tauras
84
84
add a comment |Â
add a comment |Â
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>
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
add a comment |Â
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>
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
add a comment |Â
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>
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
add a comment |Â
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>
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>
answered Feb 6 at 2:50
![](https://i.stack.imgur.com/aZsF6.jpg?s=32&g=1)
![](https://i.stack.imgur.com/aZsF6.jpg?s=32&g=1)
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
add a comment |Â
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
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%2f1003322%2fhow-to-properly-display-hindi-gujarati-in-ubuntu%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