Skip to main content

Typography Test

Italic Text

This is italic text. The font should render italic style correctly.

Ligatures

Test common ligatures:

  • ff: office, effort, afford
  • fi: efficient, figure, fiction
  • fl: fluffy, afflict, reflect
  • ffi: efficient, sufficient
  • ffl: ruffle, waffle

Combined: The efficient office staff reflects on their efforts.

Punctuation

Test punctuation placement and spacing:

  • Period: This is a sentence.
  • Comma: First, second, third.
  • Quotation: “Hello, world!” she said.
  • Parentheses: (This is parenthetical text).
  • Apostrophe: It’s a test.
  • Dashes: hyphenated-word, en–dash, em—dash

Numbers

1234567890

Mixed Script

English with Arabic numerals: Version 2.0 released in 2026.

Code

Test code font rendering with different languages:

javascript
const fibonacci = (n) => {
  if (n <= 1) return n;
  return fibonacci(n - 1) + fibonacci(n - 2);
};

console.log(fibonacci(10)); // Output: 55
python
def fibonacci(n):
    """Calculate Fibonacci sequence"""
    if n <= 1:
        return n
    return fibonacci(n - 1) + fibonacci(n - 2)

for i in range(10):
    print(fibonacci(i))
rust
fn fibonacci(n: u64) -> u64 {
    match n {
        0 => 0,
        1 => 1,
        _ => fibonacci(n - 1) + fibonacci(n - 2),
    }
}

fn main() {
    for i in 0..10 {
        println!("{}", fibonacci(i));
    }
}

Math Equations

Test math equation rendering:

Inline Math

This is an inline equation E=mc2, Einstein’s mass-energy equation.

Pythagorean theorem: a2+b2=c2

Quadratic formula: x=b±b24ac2a

Block Math

Mass-energy equation:

E=mc2

Euler’s formula:

eiπ+1=0

Integrals and Sums

Definite integral:

0ex2dx=π2

Sum formula:

i=1ni=n(n+1)2

Matrices

(abcd)(xy)=(ax+bycx+dy)

Greek Letters

α, β, γ, δ, ϵ, π, ω

Other Mathematical Symbols

limx0sinxx=1fx=limh0f(x+h)f(x)h

Powered by VitePress