format_size 1. The Challenge of Mixed Script Typography
Latin, Arabic, and Kurdish scripts possess fundamentally different anatomical structures. Latin fonts feature a prominent x-height with discrete characters, uniform baselines, and predictable ascenders and descenders. In contrast, Central Kurdish (Sorani) and Arabic scripts are cursive, contextually shaped (initial, medial, final, and isolated forms), and feature variable baseline heights with stacked ligatures and vowel marks.
When mixed naively on the same web page, standard Latin font settings create awkward visual discrepancies: Kurdish and Arabic text appears significantly smaller than English text at the same pixel size, tight line-heights clip upper diacritics, and buttons or form badges look vertically off-center. Furthermore, Central Kurdish requires specific Unicode codepoints that many generic Arabic fonts omit or render with fallback system glyphs—most notably ڕ (U+0695), ڵ (U+06B5), ۆ (U+06C6), ێ (U+06CE), ڤ (U+06A4), گ (U+06AF), and the non-joining vowel ە (U+06D5, distinct from Arabic Heh ه U+0647). If a typeface lacks even one of these characters, browsers silently substitute a mismatched fallback font mid-word, breaking cursive shaping.
align_horizontal_right 2. Calibrating Vertical Metrics & Line Heights
To maintain visual balance between English, Kurdish, and Arabic without duplicating component markup, implement optical scale compensations and script-aware CSS custom properties:
Optical Size Compensation (+12–15%)
Arabic and Kurdish letterforms have smaller interior counters than Latin characters. Using CSS size-adjust: 112% inside your Kurdish @font-face declaration—or scaling :lang(ckb) body text to 16px against 14px Latin—produces equal perceived legibility.
Expanded Line Height (1.75 – 1.9)
While English body text breathes comfortably at line-height: 1.55, Kurdish and Arabic script require line-height: 1.8 to accommodate tall Kaf/Gaf strokes, stacked ligatures, and diacritics without vertical collision.
/* Script-aware typographic scale using CSS custom properties */
:root {
--font-ui: 'Plus Jakarta Sans', 'Vazirmatn', 'Noto Sans Arabic', sans-serif;
--leading-body: 1.6;
--tracking-heading: -0.02em;
}
:lang(ckb), :lang(ar) {
--leading-body: 1.85;
--tracking-heading: 0; /* Never apply negative letter-spacing to cursive scripts */
}
Critical Pitfall — Letter Spacing: Never apply letter-spacing (such as Tailwind's tracking-tight or tracking-widest) to Kurdish or Arabic text. Positive or negative tracking disconnects cursive letter joins and renders words unreadable. Always reset letter-spacing: 0 on :lang(ckb) and :lang(ar) selectors.
swap_horiz 3. Bidirectional (BiDi) Layout Architecture with CSS Logical Properties
Legacy websites maintained fragile duplicate stylesheets with margin-left for English and margin-right overrides for Kurdish. Modern frontends set dir="rtl" on the root <html> element and author all spacing, borders, and positioning with CSS Logical Properties so layouts flip automatically:
| Legacy Physical Property | Modern Logical Property | Behavior in LTR (English) | Behavior in RTL (Kurdish/Arabic) |
|---|---|---|---|
| margin-left: 16px; | margin-inline-start: 1rem; | Adds left margin | Automatically adds right margin |
| padding-right: 24px; | padding-inline-end: 1.5rem; | Adds right padding | Automatically adds left padding |
| border-left: 3px solid; | border-inline-start: 3px solid; | Left accent border | Automatically moves to right edge |
| text-align: left; | text-align: start; | Left-aligned | Right-aligned |
<!-- Isolating inline LTR tokens (URLs, phone numbers, SKUs) inside RTL prose -->
<p lang="ckb" dir="rtl">
بۆ زانیاری زیاتر سەردانی <bdi dir="ltr">https://reshape.krd/guides</bdi> بکە
یان پەیوەندی بکە بە <bdi dir="ltr">+964 750 000 0000</bdi>.
</p>
/* Mirror only directional navigation icons in RTL */
[dir="rtl"] .icon-directional {
transform: scaleX(-1);
}
font_download 4. Curated Font Pairing Stacks for Kurdish Web Design
Selecting harmonized font pairings ensures your platform feels contemporary, legible, and trustworthy across English, Kurdish, and Arabic audiences without forcing users to download bloated multi-megabyte font files:
- Enterprise Tech & SaaS: Pair Plus Jakarta Sans or Inter for English with Vazirmatn (variable weight 400–800) for Kurdish Sorani and Arabic. Vazirmatn's geometric counters harmonize naturally with modern neo-grotesque Latin sans-serifs.
- Editorial & Digital Journalism: Pair Hanken Grotesk headlines with Noto Sans Arabic or Noto Naskh Arabic for long-form readability and crisp diacritic clarity at 16–18px body sizes.
- Code, APIs & Telemetry: Use JetBrains Mono for Latin code blocks paired with explicit direction isolation (
dir="ltr"andtext-align: left) inside RTL documentation pages so brackets and operators never reorder.
speed 5. Font Loading Performance, Subsetting & Zero-CLS Engineering
Multilingual sites frequently suffer from high Cumulative Layout Shift (CLS) and delayed First Contentful Paint because they load full Arabic/Latin font families on every page regardless of the active language. Apply three engineering optimizations to keep Core Web Vitals green:
- Unicode-Range Subsetting: Split your WOFF2 files by script (
U+0000-00FFfor Latin,U+0600-06FF, U+0750-077Ffor Arabic and extended Kurdish characters). Browsers only download the Kurdish subset when a matching codepoint actually appears in the DOM. - Variable Fonts Over Static Weights: A single variable WOFF2 file for Vazirmatn (~48 KB) replaces four separate static weight files (Regular, Medium, SemiBold, Bold) that would otherwise exceed 140 KB and trigger multiple HTTP requests.
- Metric-Matched Fallback Descriptors: Declare
font-display: swapalongside calibratedascent-overrideanddescent-overridevalues on your fallback font stack so swapping from the system Arabic font to your web font causes near-zero vertical reflow.
checklist 6. Multilingual RTL/LTR Engineering QA Checklist
Before shipping a bilingual or trilingual release to production, verify every interface template against this seven-point engineering checklist:
- check_circleKurdish Glyph Coverage Audit: Render a test string containing all Sorani-specific letters (
پ چ ژ ڤ گ ڕ ڵ ۆ ێ ە) across iOS Safari, Android Chrome, and Windows Edge to verify zero fallback glyph substitution. - check_circleZero Cursive Letter-Spacing: Inspect headings, badges, and uppercase buttons in RTL mode to confirm
letter-spacing: 0is enforced and no cursive words are broken into disconnected characters. - check_circleBiDi Isolation on Dynamic Data: Confirm that usernames, email addresses, prices, phone numbers, and order IDs inside RTL sentences are wrapped in
<bdi>tags so punctuation never jumps to the opposite margin. - check_circleUser-Generated Input Direction: Set
dir="auto"on search bars, comment boxes, and chat inputs so the browser dynamically aligns each paragraph based on the first strong directional character typed by the user. - check_circleLogical CSS & Icon Mirroring Audit: Verify that sidebars, breadcrumbs, drawers, and directional arrows mirror cleanly in RTL while brand logos, media playback controls, and checkmarks remain unflipped.
Building Kurdish voice or language processing features alongside your multilingual frontend? Explore our companion architectural deep dive on Kurdish NLP and Speech Synthesis for Sorani & Badini AI.
quiz Frequently Asked Questions
Why do English words inside a Kurdish paragraph sometimes jump to the wrong side? expand_more
This happens when the Unicode Bidirectional standard (BiDi) misinterprets weakly directional punctuation (like commas or brackets) adjacent to neutral characters. Wrapping embedded Latin terms in `` (Bidirectional Isolation) tags or CSS `unicode-bidi: isolate` resolves this issue permanently.
What is the best font for Central Kurdish (Sorani) on the web? expand_more
Google Fonts' Vazirmatn and Noto Sans Arabic are the industry standards. They fully support all unique Kurdish letters (ڕ, ڵ, ۆ, ێ, ە) with proper vertical metrics and variable font weights.
Should icons flip horizontally in RTL layouts? expand_more
Only icons that indicate directional movement or narrative flow (such as back/forward arrows, step indicators, and progress bars) should flip. Symmetrical icons, brand logos, and clocks should never flip.
How does Reshape structure its multilingual typography? expand_more
Reshape utilizes Plus Jakarta Sans for Latin interfaces paired with customized Noto Arabic typography, calibrated with CSS logical properties so switching between English, Kurdish, and Arabic requires zero manual layout rewrites.
Does loading Arabic/Kurdish web fonts impact page load speed? expand_more
Using WOFF2 font compression, subsetting unused characters, and declaring `font-display: swap` ensures fast rendering with zero layout shift.
Written by Mohammed Yousif
Founder & Lead Software Engineer, Reshape StudioMohammed Yousif is the Founder and Lead Software Engineer of Reshape Studio in Erbil, Kurdistan Region. He specializes in privacy-first browser engineering, local WebAssembly document processing, Kurdish NLP systems, and high-performance web architecture.