<?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">
    <channel>
        <title>JavaScript — TypeDrawers</title>
        <link>https://typedrawers.com/</link>
        <pubDate>Sat, 24 Oct 2026 09:30:14 +0000</pubDate>
        <language>en</language>
            <description>JavaScript — TypeDrawers</description>
    <atom:link href="https://typedrawers.com/discussions/tagged/javascript/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Title: JustyKhatt: A Script-Agnostic DOM-Level Line Justification Engine</title>
        <link>https://typedrawers.com/discussion/5725/title-justykhatt-a-script-agnostic-dom-level-line-justification-engine</link>
        <pubDate>Sat, 24 Oct 2026 06:04:09 +0000</pubDate>
        <category>Type Design Software</category>
        <dc:creator>Azizmohseny</dc:creator>
        <guid isPermaLink="false">5725@/discussions</guid>
        <description><![CDATA[<p>Hello everyone,</p><p>I have developed a JavaScript library called JustyKhatt, which performs line justification at the DOM layer (in the browser) by leveraging OpenType and Variable Font capabilities.</p><p>While my initial focus has been on the Arabic script, the architecture is intentionally script-agnostic. The codebase separates the generic processing Core from independent Rule Packs. The Core handles measurement, tagging, and rendering, while Rule Packs (e.g., Naskh, Nastaliq) contain the specific calligraphic logic and decision-making for each script.</p><p>The architecture documentation (<code spellcheck="false" tabindex="0">ARCHITECTURE.md</code>) and the full source code are available here:<br /><a rel="nofollow" href="https://typedrawers.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2FAzizMohseny%2FFFB%2Ftree%2Fmain%2Fjustykhatt">https://github.com/AzizMohseny/FFB/tree/main/justykhatt</a></p><p>You can test the behavior of the engine with your own text in the live sandbox here:<br /><span>[لینک ورسل خود را اینجا بگذارید، مثلاً <a rel="nofollow" href="https://typedrawers.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fjustykhatt.vercel.app%2F">https://justykhatt.vercel.app</a>]</span></p><p>I would be very grateful if fellow type designers and engineers could test this tool and share their technical feedback. I do not have the financial means to compensate you for your valuable time, but I am more than willing to reciprocate by offering my time, advice, or expertise on your own projects whenever you might need it.</p><p>Thank you,<br /><br /></p><div><p><em>Disclaimer: AI tools were used to assist with the translation and editing of this post.</em></p></div><div><em><br /></em></div>]]>
        </description>
    </item>
   </channel>
</rss>
