LynPDF RS Typography Lab

ใช้ไฟล์นี้เป็น baseline สำหรับตรวจความสม่ำเสมอของ family, weight, style และการจัดวรรณยุกต์ภาษาไทย

Thai TTF Families

Sarabun Regular 18px
สวัสดีครับ นี่คือข้อความทดสอบ Sarabun สำหรับเอกสารธุรกิจระดับองค์กร
Kanit Bold 18px
สวัสดีครับ ข้อความนี้ทดสอบ Kanit Bold พร้อมวรรณยุกต์และสระไทย
Prompt Italic 18px
สวัสดีครับ ข้อความนี้ใช้ Prompt Italic เพื่อทดสอบสไตล์เอกสารนำเสนอ

Latin Kerning and Ligatures

Inter Regular 18px
The quick brown fox jumps over the lazy dog. office efficient traffic
Inter Bold 18px
Bold kerning sample: AV AW AY AT To Te Ty We
Inter Italic 18px
Ligature sample: fi fl ff ffi ffl — fifty final flame float
Kerning at Display Size 34px
AV AW AY AT To Te Ty We

OTF and Variable

IBM Plex Sans (OTF)
OTF sample: consistent spacing, clean punctuation, enterprise readability
Inter Variable
Variable sample: one-file family with flexible weight behavior
Sarabun
office fi fl ff AV To
ภาษาไทยครบทุกวรรณยุกต์
Inter
office fi fl ff AV To
Precision for UI and docs
IBM Plex Sans
office fi fl ff AV To
Readable technical text

Code Block + Syntax Highlight Tokens

// Rust rendering entrypoint
use lynpdf_rs::{render_file_to_pdf, RenderOptions};

fn main() {
    let options = RenderOptions::default();
    let _result = render_file_to_pdf(
        "examples/demo-font-showcase.html",
        Some("examples/styles.css"),
        "examples/output/font-showcase.pdf",
        options,
    );
}