Reuse verified native suffixes after settled output routines

This commit is contained in:
gloamxun committed 2026-11-29 07:51:37 +08:00
1 parent f387b1db61
commit 0117449023
30 files changed
+791 -77

No files matched your search

+5 -5
View File
@@ -1,7 +1,7 @@
//! VF file structure and the local DVI programs of individual characters.
use std::collections::BTreeMap;
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
pub(super) struct VirtualFont {
pub checksum: u32,
pub design_size: i64,
@@ -11,7 +11,7 @@ pub(super) struct VirtualFont {
pub packets: BTreeMap<u8, Packet>,
}
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
pub(super) struct LocalFont {
pub checksum: u32,
pub name: String,
@@ -19,19 +19,19 @@ pub(super) struct LocalFont {
pub design_size: i64,
}
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
pub(super) struct Packet {
pub width: i32,
pub commands: Vec<Command>,
}
#[derive(Clone, Copy, Debug)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub(super) enum Axis {
Horizontal,
Vertical,
}
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
pub(super) enum Command {
Character {
slot: u8,