[Date Prev][Date Next][Subject Prev][Subject Next][Date Index][Subject Index]

Re: XyScript: beginner questions



Reply to note from Fred Weiner <dmarc-noreply@xxxxxxxxxxxxx> Sun, 13 Sep 2026 08:28:01 -0700

Fred,

> how does one change the printable font for a document? 

There are two relevant commands. `PVFAMILY font name` changes the printable font. You can specify
any installed font, but be aware that the internal engine may not be able to render every font. If
it can't, the printout reverts to the internal Typst default proportional font. `PVSIZE n` changes
the font size to `n` points.

To make your settings persist, command `SAVECFG my.cfg` to save the settings to your config file.
Make sure that your config file is loaded at startup in startup.xpl. It should include a line like
this:

LOADCFG my.cfg

-- 
Carl Distefano
cld@xxxxxxxxxx