Alexandria Arabic Font: Size and Variable File

Alexandria needs 25.1 KB for Arabic regular and bold: rank 6 of 20, one of the lighter families in the sample (median 54.0 KB). Its variable Arabic file only pays off at about 3 or more weights. Latin makes up 50% of the mixed-script total. Every figure on this page comes from the August 23, 2026 WOFF2 snapshot.

What the measurements say about Alexandria

  • It is 27% below the Sans median of 34.2 KB.
  • Switching to Tajawal, the smallest Sans family, would save 7.6 KB (30%) for the same two weights.
  • The variable Arabic file (30.6 KB) is 22% larger than the two static weights. Estimate: at about 12.6 KB per static weight, it pays off once you ship 3 or more weights.
  • Latin is 50% of the mixed-script total: the Latin 400 and 700 files (25.4 KB) outweigh the Arabic ones. In a mostly-English interface, the Latin subset is the bigger cost.
  • Bold is 6% larger than regular (12.9 KB vs 12.2 KB).

Size rank and delivery totals

Rank 6 of 20 overall and 3 of 9 in Sans, smallest first by Arabic 400+700 bytes. Ties share a rank. Measured on . Starting role (editorial guidance): Contemporary UI and display.

Alexandria delivery scenarios
ScenarioExact bytesMeaning
Arabic 400 + 70025,724Two static WOFF2 files
Arabic + Latin 400 + 70051,760Four static WOFF2 files
Added Latin bytes26,036Mixed-script total minus Arabic total
Arabic variable weight file31,348One variable Arabic file, when available
Variable minus static5,624 (22%)Compared with Arabic 400+700; negative means smaller

Variable totals cover the selected Arabic weight-variable file, without a Latin variable file. Availability describes this snapshot’s package source. File sizes exclude CSS and do not predict latency, caching, rendering time or layout shift.

Arabic 400 preview

العربية لغة جميلة، وتصميمها الجيد يجعل القراءة أسهل.

Self-hosted Arabic subset, normal weight 400. Visual reference only; this sentence is not a complete shaping or language-coverage test.

Individual files and reproducibility

Static package: @fontsource/alexandria@5.3.0. The SHA-256 digests below identify the exact Arabic files; Latin file sizes are reported separately.

Alexandria per-weight WOFF2 bytes
SubsetWeightBytesRecorded file / SHA-256
Arabic40012,500
@fontsource/alexandria/files/alexandria-arabic-400-normal.woff2

SHA-256: 12b6fcccf51efd01b70e9c477e1d411b3eb14f90e1f109181fda12b24b27c019

Arabic70013,224
@fontsource/alexandria/files/alexandria-arabic-700-normal.woff2

SHA-256: dce0b86c40a96ffbeedbe24d2ea6e358749b6590fe1e016a109558e8240c90c7

Latin40012,816@fontsource/alexandria/files/alexandria-latin-400-normal.woff2
Latin70013,220@fontsource/alexandria/files/alexandria-latin-700-normal.woff2

Recorded variable file: @fontsource-variable/alexandria/files/alexandria-arabic-wght-normal.woff2. The snapshot does not record a variable-package version or hash; the pinned installation below reproduces the static package only.

Install the measured static package

npm install --save-exact @fontsource/alexandria@5.3.0

Import the selected subsets

// Application entry: Arabic subsets, normal 400 and 700
import "@fontsource/alexandria/arabic-400.css";
import "@fontsource/alexandria/arabic-700.css";

// Add these only for the measured mixed-script scenario:
// import "@fontsource/alexandria/latin-400.css";
// import "@fontsource/alexandria/latin-700.css";

// In your stylesheet:
// font-family: "Alexandria", sans-serif;

The explicit subset imports reproduce the selected scenario. A bundler serves the package assets from your application; these snippets do not require a third-party font host. Use a fallback appropriate to your content and test it before deployment.

Declared coverage: 7/7

These checks inspect package-declared Unicode ranges, not the rendered font. They test seven representative characters, not all characters in a language.

Alexandria declared-range checks
Representative checkCode pointDeclared inclusion
Arabic letterU+0627Pass
Persian letterU+067EPass
Urdu letterU+0679Pass
Arabic-Indic digitU+0661Pass
Eastern Arabic/Persian digitU+06F1Pass
Arabic diacriticU+064EPass
Arabic punctuationU+061FPass
Block ranges, script matching and actual font coverage

Similar fonts by classification and size

The nearest 3 alternatives, prioritizing Sans families and then absolute difference in Arabic 400+700 bytes. When fewer than three same-class alternatives exist, the list includes other classifications, identified below. This is a delivery-size shortlist, not a claim that the glyphs look alike.

  • Cairo

    Sans · 27,244 bytes; 1,520 bytes difference.

  • Mada

    Sans · 23,120 bytes; 2,604 bytes difference.

  • Tajawal

    Sans · 17,956 bytes; 7,768 bytes difference.

Comparisons involving Alexandria

Method and limits

The benchmark measures filesystem bytes of normal 400 and 700 Arabic-subset WOFF2 files from installed Fontsource packages. It separately sums Latin files and records the Arabic variable file where available. The preview is a visual aid; readability is not scored.

Read the benchmark methodology · Download the snapshot

Questions and answers

How large is Alexandria for Arabic regular and bold?

The Arabic 400 and 700 WOFF2 files total 25,724 bytes (25.1 KB), rank 6 of 20 measured families. Adding Latin brings it to 51,760 bytes. These are file sizes, not page-load timings.

Should I use the variable version of Alexandria?

The variable Arabic file (30.6 KB) is 22% larger than the two static weights. Estimate: at about 12.6 KB per static weight, it pays off once you ship 3 or more weights.

Does Alexandria cover Persian and Urdu letters?

Alexandria's declared Unicode ranges include the Persian (U+067E) and Urdu (U+0679) letters tested, passing 7 of 7 representative checks. All 20 measured families pass the same checks, so coverage does not separate them; test shaping with your own text.

Sources