<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to set &quot;Font Name&quot; for specific language?]]></title><description><![CDATA[<p dir="auto">Hello dear friends!</p>
<p dir="auto">I have lexer called <code>AutoHotkey Black.xml</code> I’ve set up keyword fonts for him.</p>
<blockquote>
<p dir="auto">…Language &gt; User Defined Language &gt; Define your language… &gt; Comment &amp; Number &gt; Comment line style &gt; Font Options:<br />
Name: Consolas<br />
Size: 7<br />
Foreground color: #71AE71</p>
</blockquote>
<p dir="auto">…and also examples:</p>
<p dir="auto">… &gt; &gt; &gt; Keywords Lists &gt; 2nd group:<br />
Name: Trebuchet MS<br />
Size: 10<br />
Foreground color: #0060FF</p>
<p dir="auto">… &gt; &gt; &gt; Keywords Lists &gt; 4nd group:<br />
Name: Fira Code<br />
Size: 8<br />
Foreground color: #808000</p>
<p dir="auto">However, there may be other different text in the file and it looks lousy because there is no font installed for them!<br />
That’s how it’s gonna work out:</p>
<blockquote>
<p dir="auto">menu &gt; Settings &gt; Style Configurator… &gt; Font Style &gt; Trebuchet MS</p>
</blockquote>
<p dir="auto">But the font is set for all languages globally! In this window I don’t have language as <code>AutoHotkey</code>:<br />
<img src="https://camo.nodebb.org/7b3f32032a14a3f92c932e1ea0c1047c1e4d228d?url=http%3A%2F%2Fdl3.joxi.net%2Fdrive%2F2019%2F12%2F16%2F0002%2F1030%2F156678%2F78%2F6d7e37b146.jpg" alt="AutoHotkey" class=" img-fluid img-markdown" /></p>
<p dir="auto">!! I want the font to apply to the whole code except for keywords. Any ideas on how to solve the problem?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18624/how-to-set-font-name-for-specific-language</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 13:45:36 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18624.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Dec 2019 20:44:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to set &quot;Font Name&quot; for specific language? on Wed, 18 Dec 2019 12:38:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D1%81%D0%B5%D1%80%D0%B3%D0%B5%D0%B9-%D0%B4%D1%80%D1%83%D0%B7%D1%8C" aria-label="Profile: Сергей-Друзь">@<bdi>Сергей-Друзь</bdi></a> said in <a href="/post/49227">How to set "Font Name" for specific language?</a>:</p>
<blockquote>
<p dir="auto">I want the font to apply to the whole code except for keywords. Any ideas on how to solve the problem?</p>
</blockquote>
<p dir="auto">If I understand correctly, then don’t mess with global styles.<br />
Define your <strong>DEFAULT</strong> style of the  <strong>UDL LANGUAGE</strong></p>
<p dir="auto"><img src="/assets/uploads/files/1576672706083-d0e361ff-289e-4697-8ac1-1b207d34827d-image.png" alt="d0e361ff-289e-4697-8ac1-1b207d34827d-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/49251</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49251</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 18 Dec 2019 12:38:39 GMT</pubDate></item></channel></rss>