Select a native XeTeX compatibility profile and wide spacing codes

This commit is contained in:
gloamxun committed 2026-11-21 12:17:53 +08:00
1 parent 651fab42f1
commit 752af43f32
19 files changed
+471 -115

No files matched your search

@@ -126,6 +126,31 @@ pub enum ParameterValue {
Quantity(RegisterValue),
}
impl Parameter {
pub(super) fn pdftex_only(self) -> bool {
matches!(
self,
Self::Pdfoutput
| Self::Pdfmajorversion
| Self::Pdfminorversion
| Self::Pdfobjcompresslevel
| Self::Pdfcompresslevel
| Self::Pdfdecimaldigits
| Self::Pdfpkresolution
| Self::Pdfimageresolution
| Self::Pdfgentounicode
| Self::Pdfsuppresswarningdupmap
| Self::Pdfinfoomitdate
| Self::Pdfhorigin
| Self::Pdfvorigin
| Self::Pdflinkmargin
| Self::Pdfdestmargin
| Self::Pdfprotrudechars
| Self::Pdfprependkern
| Self::Pdfappendkern
| Self::Pdfadjustspacing
)
}
pub const ALL: &'static [Self] = &[
Self::Pdfoutput,
Self::Pdfmajorversion,