<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Firefox on Subhadip's Blog</title><link>https://www.subhadig.net/tags/firefox/</link><description>Recent content in Firefox on Subhadip's Blog</description><generator>Hugo</generator><language>en-us</language><copyright>Subhadip Ghosh</copyright><lastBuildDate>Sun, 01 Mar 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://www.subhadig.net/tags/firefox/index.xml" rel="self" type="application/rss+xml"/><item><title>Requesting dark mode to websites on Firefox</title><link>https://www.subhadig.net/posts/requesting-dark-mode-to-websites-on-firefox/</link><pubDate>Sun, 01 Mar 2020 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/requesting-dark-mode-to-websites-on-firefox/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;
&lt;p&gt;Most mainstream web-browsers including Firefox now-a-days come with a feature
where your browser sends your preferred colorshemes to websites when you visit
them. If the website supports this feature, then you are presented with a
light or dark version of the website based on your preference. In this post I
will share how to manually configure it in Firefox.&lt;/p&gt;
&lt;h3 id="prefers-color-scheme"&gt;prefers-color-scheme&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme"&gt;prefers-color-scheme&lt;/a&gt;
is a CSS feature that can be used by websites to detect if the browser has
requested a light or a dark color theme. And if your browser sends the preference
of dark theme and if a visited website chooses to
implement an alternate dark CSS colorsheme then the web content will be
displayed in dark mode. Here are the allowed values for &lt;em&gt;prefers-color-scheme&lt;/em&gt;:&lt;/p&gt;</description></item><item><title>Fix for incorrect rendering of Indic fonts in Firefox on Debian</title><link>https://www.subhadig.net/posts/fix-for-incorrect-rendering-of-indic-fonts-in-firefox-on-debian/</link><pubDate>Mon, 18 Feb 2019 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/fix-for-incorrect-rendering-of-indic-fonts-in-firefox-on-debian/</guid><description>&lt;p&gt;Debian Stretch, the current stable release of Debian now comes with Firefox ESR 60. One strange issue I have noticed with the out of the box configuration of Firefox on Debian is that it does not correctly render the Indic fonts on the websites. Most notable issue is that it breaks the connected letters while showing. Here's how I fixed it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install the fonts-indic package.&lt;br /&gt;

&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt install fonts-indic&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;/li&gt;
&lt;br/&gt;
&lt;li&gt;Now open Firefox and go to Preferences &amp;gt; General &amp;gt; Language and Appearance &amp;gt; Fonts &amp;amp; Colors and click on Advanced. Select the language you want to set fonts for from the "Fonts for" dropdown and select fonts with your specific language support for Serif and Sans-serif fonts, click Ok.
&lt;p&gt;Here's how my settings looks like:&lt;/p&gt;</description></item></channel></rss>