From ce40702a501c3159db89693bd7da713ae1b4c011 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Wed, 29 Apr 2026 21:25:40 +0200 Subject: feat(typst): embed fonts --- src/data/test_content_1.typ | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/data/test_content_1.typ') diff --git a/src/data/test_content_1.typ b/src/data/test_content_1.typ index 3adf59a..e2f21a5 100644 --- a/src/data/test_content_1.typ +++ b/src/data/test_content_1.typ @@ -1,12 +1,5 @@ -#set page( - fill: none, - margin: 2pt, -); +#import "_base.typ": * -#let display(body) = context { - let m = measure(body) - set page(width: m.width + page.margin.length*2, height: m.height + page.margin.length*2) - body -} +#show: display.with() -#display()[$x$] +$text("Adwaita Mono") x$ -- cgit v1.2.3