<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Display hindi unicode fonts on Google Chrome on Ubuntu Linux	</title>
	<atom:link href="https://www.binarytides.com/display-hindi-unicode-fonts-on-google-chrome-on-ubuntu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/display-hindi-unicode-fonts-on-google-chrome-on-ubuntu-linux/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Fri, 18 Oct 2013 05:35:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: kalicharan		</title>
		<link>https://www.binarytides.com/display-hindi-unicode-fonts-on-google-chrome-on-ubuntu-linux/comment-page-1/#comment-65762</link>

		<dc:creator><![CDATA[kalicharan]]></dc:creator>
		<pubDate>Fri, 18 Oct 2013 05:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=371#comment-65762</guid>

					<description><![CDATA[I am on ubuntu 12.04 and there is no .fonts.conf file in $HOME directory]]></description>
			<content:encoded><![CDATA[<p>I am on ubuntu 12.04 and there is no .fonts.conf file in $HOME directory</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: K. Sethu		</title>
		<link>https://www.binarytides.com/display-hindi-unicode-fonts-on-google-chrome-on-ubuntu-linux/comment-page-1/#comment-65427</link>

		<dc:creator><![CDATA[K. Sethu]]></dc:creator>
		<pubDate>Fri, 30 Sep 2011 05:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=371#comment-65427</guid>

					<description><![CDATA[With the use of {edit name=&quot;family&quot; mode=&quot;append&quot; binding=&quot;strong&quot;} type configuration or its variant with binding=&quot;same&quot; as in some of the 90-ttf-xxx-fonts.conf files in /etc/conf.avail, I find there are unacceptable side effects to matchings for other languages.

Suppose the .fonts.conf has only the fontconfig statements you show above, i.e., binding the meta fonts to &quot;gargi&quot; for Hindi. Now use each of the following commands from a terminal to check the status of matchings first for Hindi and then for any other non-Devangiri using Indic language - say for Tamil:
For Hindi:
fc-match Sans:lang=hi
fc-match Serif:lang=hi
fc-match Mono:lang=hi

For Tamil 
fc-match Sans:lang=ta
fc-match Serif:lang=ta
fc-match Mono:lang=ta

Now provided &quot;gargi&quot; font is installed,
For Hindi you should be getting &quot;gargi&quot; for all 3 meta fonts.
And for Tamil I see the results yield correctly only in case for Serif but for Sans and Mono wrong match as &quot;gargi&quot;

In the .fonts.conf you can also include for more than language by copying from 90-ttf... files for different languages and editing for the type of bind etc. But I have found the exercise to open more cans of worms. Always the problems are that the matching for some Indic language for one or more of &quot;Sans&quot;, &quot;Serif&quot; and &quot;Mono&quot; would dominate over corresponding matchings of other Indic (plus Sinhala too) scripts.   

In fact even without user&#039;s own .fonts.conf the system defaults get dominated from the sym links /etc/fonts/conf.d/90-ttf-xxxxx.conf (xxxx are different languages) again one Inidc language dominating all for &quot;Serif&quot;. 

In case of Tamil the comment statements in 90-ttf-tamil-fonts.conf clearly indicate the purposes of the configuration to include that the TSC* and TAM* type Tamil fonts are to be never picked by the Fontconfig. However in reality it fails to do that. If TSCu_Paranar is installed then with the default config tree including the 90-ttf-tamil-fonts.conf it is still matched to &quot;Sans&quot; !

Regarding the concerned bug for Tamil contents Google Chrome / Chromium-browser on Ubuntu or Debian running on English (or some other non-Tamil locale) I wish to point out the fundamental problem to solve is that the  Chrome / Chromium-browser is not like other applications like Firefox, gedit, in taking and using Fontconfig&#039;s matching.  In the absence of TSCu_Paranar why should Chrome / Chromium-browser choose FreeSerif which is not advocated in Fontconfig. Shouldn&#039;t it also choose Lohit Tamil like the other applications do?

K. Sethu]]></description>
			<content:encoded><![CDATA[<p>With the use of {edit name=&#8221;family&#8221; mode=&#8221;append&#8221; binding=&#8221;strong&#8221;} type configuration or its variant with binding=&#8221;same&#8221; as in some of the 90-ttf-xxx-fonts.conf files in /etc/conf.avail, I find there are unacceptable side effects to matchings for other languages.</p>
<p>Suppose the .fonts.conf has only the fontconfig statements you show above, i.e., binding the meta fonts to &#8220;gargi&#8221; for Hindi. Now use each of the following commands from a terminal to check the status of matchings first for Hindi and then for any other non-Devangiri using Indic language &#8211; say for Tamil:<br />
For Hindi:<br />
fc-match Sans:lang=hi<br />
fc-match Serif:lang=hi<br />
fc-match Mono:lang=hi</p>
<p>For Tamil<br />
fc-match Sans:lang=ta<br />
fc-match Serif:lang=ta<br />
fc-match Mono:lang=ta</p>
<p>Now provided &#8220;gargi&#8221; font is installed,<br />
For Hindi you should be getting &#8220;gargi&#8221; for all 3 meta fonts.<br />
And for Tamil I see the results yield correctly only in case for Serif but for Sans and Mono wrong match as &#8220;gargi&#8221;</p>
<p>In the .fonts.conf you can also include for more than language by copying from 90-ttf&#8230; files for different languages and editing for the type of bind etc. But I have found the exercise to open more cans of worms. Always the problems are that the matching for some Indic language for one or more of &#8220;Sans&#8221;, &#8220;Serif&#8221; and &#8220;Mono&#8221; would dominate over corresponding matchings of other Indic (plus Sinhala too) scripts.   </p>
<p>In fact even without user&#8217;s own .fonts.conf the system defaults get dominated from the sym links /etc/fonts/conf.d/90-ttf-xxxxx.conf (xxxx are different languages) again one Inidc language dominating all for &#8220;Serif&#8221;. </p>
<p>In case of Tamil the comment statements in 90-ttf-tamil-fonts.conf clearly indicate the purposes of the configuration to include that the TSC* and TAM* type Tamil fonts are to be never picked by the Fontconfig. However in reality it fails to do that. If TSCu_Paranar is installed then with the default config tree including the 90-ttf-tamil-fonts.conf it is still matched to &#8220;Sans&#8221; !</p>
<p>Regarding the concerned bug for Tamil contents Google Chrome / Chromium-browser on Ubuntu or Debian running on English (or some other non-Tamil locale) I wish to point out the fundamental problem to solve is that the  Chrome / Chromium-browser is not like other applications like Firefox, gedit, in taking and using Fontconfig&#8217;s matching.  In the absence of TSCu_Paranar why should Chrome / Chromium-browser choose FreeSerif which is not advocated in Fontconfig. Shouldn&#8217;t it also choose Lohit Tamil like the other applications do?</p>
<p>K. Sethu</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
