Integrate native repeat boxes and PDF bookmarks
This commit is contained in:
1 parent
5163fc9854
commit
38e4822370
33 files changed
+1208
-143
No files matched your search
@@ -246,7 +246,7 @@ fn genuine_fraction_primitives_and_retained_boxes_survive_format_roundtrip() {
|
||||
let envelope: serde_json::Value = serde_json::from_slice(&bytes).unwrap();
|
||||
let payload: serde_json::Value =
|
||||
serde_json::from_str(envelope["payload"].as_str().unwrap()).unwrap();
|
||||
assert_eq!(payload["schema"], 25);
|
||||
assert_eq!(payload["schema"], 27);
|
||||
let state = State::initex().with_etex();
|
||||
let loaded = FormatImage::decode(&bytes)
|
||||
.unwrap()
|
||||
|
||||
@@ -0,0 +1,178 @@
|
||||
//! Reference material copied from the independent pdfTeX DVI run.
|
||||
use serde_json::Value;
|
||||
use std::{fs, io::Write, path::PathBuf};
|
||||
use texrra_tex_core::{execution::*, math_engine_tex::MathItem};
|
||||
|
||||
struct Host {
|
||||
cwd: PathBuf,
|
||||
stream: Option<fs::File>,
|
||||
}
|
||||
|
||||
impl SourceProvider for Host {
|
||||
fn read(&mut self, name: &str, _: &str) -> Result<SourceFile, String> {
|
||||
let path = self.cwd.join(name);
|
||||
fs::read(&path)
|
||||
.map(|data| SourceFile {
|
||||
name: path.display().to_string(),
|
||||
data,
|
||||
})
|
||||
.map_err(|err| err.to_string())
|
||||
}
|
||||
fn open_out(&mut self, stream: u8, name: &str, _: &str) -> Result<String, String> {
|
||||
assert_eq!(stream, 7);
|
||||
let path = self.cwd.join(name);
|
||||
self.stream = Some(fs::File::create(&path).map_err(|err| err.to_string())?);
|
||||
Ok(path.display().to_string())
|
||||
}
|
||||
fn write_out(&mut self, stream: u8, text: &str) -> Result<(), String> {
|
||||
assert_eq!(stream, 7);
|
||||
self.stream
|
||||
.as_mut()
|
||||
.unwrap()
|
||||
.write_all(text.as_bytes())
|
||||
.map_err(|err| err.to_string())
|
||||
}
|
||||
fn close_out(&mut self, stream: u8) -> Result<(), String> {
|
||||
assert_eq!(stream, 7);
|
||||
self.stream.take();
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
fn execute(source: &[u8], host: &mut impl SourceProvider) -> Result<Execution, Error> {
|
||||
Executor::new(State::initex().with_etex(), Limits::default())
|
||||
.with_native_pages()
|
||||
.run(
|
||||
SourceFile {
|
||||
name: "placement.tex".into(),
|
||||
data: source.to_vec(),
|
||||
},
|
||||
host,
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn owned_leaders_match_three_real_dvi_pages_and_suppress_repeated_writes() {
|
||||
let cwd = std::env::temp_dir().join(format!("texrra-leader-fixture-{}", std::process::id()));
|
||||
fs::create_dir(&cwd).unwrap();
|
||||
let mut host = Host {
|
||||
cwd: cwd.clone(),
|
||||
stream: None,
|
||||
};
|
||||
let result = execute(include_bytes!("fixtures/leaders/placement.tex"), &mut host).unwrap();
|
||||
assert_eq!(fs::read(cwd.join("effects.aux")).unwrap(), b"OUTSIDE\n");
|
||||
let messages: Vec<_> = result
|
||||
.events
|
||||
.iter()
|
||||
.filter_map(|event| match event {
|
||||
Event::Message { text, .. } => Some(text.as_str()),
|
||||
_ => None,
|
||||
})
|
||||
.collect();
|
||||
assert_eq!(messages, ["BAND=[24.0pt,3.0pt,1.0pt]", "TAIL=[11,13.0pt]"]);
|
||||
|
||||
let expected: Vec<Value> =
|
||||
serde_json::from_str(include_str!("fixtures/leaders/reference-layout.json")).unwrap();
|
||||
let pages: Vec<_> = result
|
||||
.events
|
||||
.iter()
|
||||
.filter_map(|event| match event {
|
||||
Event::Shipout(page) => Some(&page.box_node),
|
||||
_ => None,
|
||||
})
|
||||
.collect();
|
||||
assert_eq!(pages.len(), 3);
|
||||
for (index, (page, reference)) in pages.iter().zip(expected).enumerate() {
|
||||
let actual: Vec<_> = page.geometry().unwrap().items.into_iter().map(|record| {
|
||||
let MathItem::Rule { width, height } = record.item else { panic!("unexpected glyph") };
|
||||
serde_json::json!({"x": record.x, "y": record.y + page.height, "width": width, "height": height})
|
||||
}).collect();
|
||||
assert_eq!(
|
||||
actual,
|
||||
reference["rules"].as_array().unwrap().to_owned(),
|
||||
"page {}",
|
||||
index + 1
|
||||
);
|
||||
}
|
||||
fs::remove_dir_all(cwd).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn empty_leader_becomes_plain_glue_and_an_axis_mismatch_is_rejected() {
|
||||
let result = execute(
|
||||
br"\catcode123=1\catcode125=2\setbox0=\hbox{\leaders\box9\hskip3pt}\end",
|
||||
&mut NoFiles,
|
||||
)
|
||||
.unwrap();
|
||||
let BoxContent::Horizontal(nodes) = &result.state.box_register(0).unwrap().content else {
|
||||
panic!("horizontal box")
|
||||
};
|
||||
assert!(matches!(nodes.as_slice(), [TextNode::Glue(glue)] if glue.width == 3 * 65_536));
|
||||
let error = execute(
|
||||
br"\catcode123=1\catcode125=2\setbox0=\hbox{\leaders\hbox{}\vskip3pt}\end",
|
||||
&mut NoFiles,
|
||||
)
|
||||
.unwrap_err();
|
||||
assert!(
|
||||
error
|
||||
.message
|
||||
.contains("leaders not followed by proper glue")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn repeated_device_effects_follow_the_paint_order_and_obey_placement_budget() {
|
||||
let color = br"\pdfoutput=1\pdfcompresslevel=0\pdfpkresolution=600\catcode123=1\catcode125=2
|
||||
\shipout\hbox{\cleaders\hbox to2pt{\pdfcolorstack0 push{1 0 0 rg}\vrule width1pt height2pt\pdfcolorstack0 pop\hss}\hskip6pt}
|
||||
\end";
|
||||
let e = execute(color, &mut NoFiles).unwrap();
|
||||
let pages = e.shipout_display_lists().unwrap();
|
||||
let pdf =
|
||||
texrra_tex_core::pdf::shipout_lists_to_native_pdf(&pages, e.state.pdf_final_options())
|
||||
.unwrap();
|
||||
let pdf = String::from_utf8_lossy(&pdf);
|
||||
assert_eq!(pdf.matches("1 0 0 rg").count(), 3);
|
||||
assert_eq!(pdf.matches("0 g 0 G").count(), 3);
|
||||
|
||||
for leader in [
|
||||
r"\leaders\hbox to1sp{}\hskip100000sp".to_owned(),
|
||||
format!(
|
||||
r"\leaders\hbox to5pt{{{}\hss}}\hskip50pt",
|
||||
r"\kern1sp".repeat(20)
|
||||
),
|
||||
] {
|
||||
let failed = Executor::new(
|
||||
State::initex().with_etex(),
|
||||
Limits {
|
||||
tokens: 128,
|
||||
..Limits::default()
|
||||
},
|
||||
)
|
||||
.with_native_pages()
|
||||
.run_detailed(
|
||||
SourceFile {
|
||||
name: "bounded-leaders.tex".into(),
|
||||
data: format!(
|
||||
r"\catcode123=1\catcode125=2
|
||||
\shipout\hbox{{{leader}\write0{{FAIL}}}}\end"
|
||||
)
|
||||
.into_bytes(),
|
||||
},
|
||||
&mut NoFiles,
|
||||
)
|
||||
.unwrap_err();
|
||||
assert!(
|
||||
failed
|
||||
.error
|
||||
.message
|
||||
.contains("native leader placement or material capacity exceeded")
|
||||
);
|
||||
assert!(
|
||||
!failed
|
||||
.evidence
|
||||
.events
|
||||
.iter()
|
||||
.any(|event| matches!(event, Event::Shipout(_)))
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -461,3 +461,157 @@ fn pdf_info_ignores_dvi_and_does_not_freeze_pdf_settings() {
|
||||
assert_eq!(reference.version, "1.5");
|
||||
assert_eq!(native.version, reference.version);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn outline_tree_keeps_actions_titles_and_visible_counts() {
|
||||
let (reference, native, diagnostics) = pair(
|
||||
r"\pdfoutline attr{/F 2/C [1 0 0]} goto name{one} count -2{Root (closed)}
|
||||
\pdfoutline goto num 7 count 1 {First child (open)}
|
||||
\pdfoutline goto page 2 {/FitH 120} {Nested (one)}
|
||||
\pdfoutline goto name{two} {\detokenize{\376\377\000R\000u\000s\000t}}
|
||||
\pdfoutline user{<< /S /URI /URI (https://example.org/) >>}{External}
|
||||
\shipout\hbox{\pdfdest name{one} fit\pdfdest num 7 fit\vrule width8pt height6pt}
|
||||
\shipout\hbox{\pdfdest name{two} fit\vrule width8pt height6pt}",
|
||||
);
|
||||
assert!(diagnostics.is_empty(), "{diagnostics:?}");
|
||||
for pdf in [&reference, &native] {
|
||||
let catalog = pdf.catalog().unwrap();
|
||||
let outline_id = catalog.get(b"Outlines").unwrap().as_reference().unwrap();
|
||||
let root = get(pdf, catalog, b"Outlines").as_dict().unwrap();
|
||||
assert_eq!(root.get(b"Type").unwrap().as_name().unwrap(), b"Outlines");
|
||||
assert_eq!(root.get(b"Count").unwrap().as_i64().unwrap(), 2);
|
||||
let first_id = root.get(b"First").unwrap().as_reference().unwrap();
|
||||
let last_id = root.get(b"Last").unwrap().as_reference().unwrap();
|
||||
let first = get(pdf, root, b"First").as_dict().unwrap();
|
||||
let last = get(pdf, root, b"Last").as_dict().unwrap();
|
||||
assert_eq!(first.get(b"Parent").unwrap().as_reference().unwrap(), outline_id);
|
||||
assert_eq!(last.get(b"Parent").unwrap().as_reference().unwrap(), outline_id);
|
||||
assert_eq!(first.get(b"Next").unwrap().as_reference().unwrap(), last_id);
|
||||
assert_eq!(last.get(b"Prev").unwrap().as_reference().unwrap(), first_id);
|
||||
assert!(first.get(b"Prev").is_err() && last.get(b"Next").is_err());
|
||||
assert_eq!(first.get(b"Count").unwrap().as_i64().unwrap(), -3);
|
||||
assert_eq!(first.get(b"F").unwrap().as_i64().unwrap(), 2);
|
||||
assert_eq!(
|
||||
first.get(b"C").unwrap().as_array().unwrap().iter()
|
||||
.map(|v| v.as_i64().unwrap()).collect::<Vec<_>>(),
|
||||
[1, 0, 0],
|
||||
);
|
||||
assert_eq!(get(pdf, first, b"Title").as_str().unwrap(), b"Root (closed)");
|
||||
let first_action = get(pdf, first, b"A").as_dict().unwrap();
|
||||
assert_eq!(first_action.get(b"S").unwrap().as_name().unwrap(), b"GoTo");
|
||||
assert_eq!(first_action.get(b"D").unwrap().as_str().unwrap(), b"one");
|
||||
let child = get(pdf, first, b"First").as_dict().unwrap();
|
||||
let last_child = get(pdf, first, b"Last").as_dict().unwrap();
|
||||
assert_eq!(child.get(b"Parent").unwrap().as_reference().unwrap(), first_id);
|
||||
assert_eq!(last_child.get(b"Parent").unwrap().as_reference().unwrap(), first_id);
|
||||
assert_eq!(
|
||||
child.get(b"Next").unwrap().as_reference().unwrap(),
|
||||
first.get(b"Last").unwrap().as_reference().unwrap(),
|
||||
);
|
||||
assert_eq!(
|
||||
last_child.get(b"Prev").unwrap().as_reference().unwrap(),
|
||||
first.get(b"First").unwrap().as_reference().unwrap(),
|
||||
);
|
||||
assert_eq!(child.get(b"Count").unwrap().as_i64().unwrap(), 1);
|
||||
assert_eq!(get(pdf, child, b"Title").as_str().unwrap(), b"First child (open)");
|
||||
let child_action = get(pdf, child, b"A").as_dict().unwrap();
|
||||
let number = get(pdf, child_action, b"D").as_array().unwrap();
|
||||
assert_eq!(number[0].as_reference().unwrap(), pdf.get_pages()[&1]);
|
||||
assert_eq!(number[1].as_name().unwrap(), b"Fit");
|
||||
assert_eq!(
|
||||
child.get(b"First").unwrap().as_reference().unwrap(),
|
||||
child.get(b"Last").unwrap().as_reference().unwrap(),
|
||||
);
|
||||
let nested = get(pdf, child, b"First").as_dict().unwrap();
|
||||
assert_eq!(
|
||||
nested.get(b"Parent").unwrap().as_reference().unwrap(),
|
||||
first.get(b"First").unwrap().as_reference().unwrap(),
|
||||
);
|
||||
assert_eq!(get(pdf, nested, b"Title").as_str().unwrap(), b"Nested (one)");
|
||||
let nested_action = get(pdf, nested, b"A").as_dict().unwrap();
|
||||
let page = nested_action.get(b"D").unwrap().as_array().unwrap();
|
||||
assert_eq!(page[0].as_reference().unwrap(), pdf.get_pages()[&2]);
|
||||
assert_eq!(page[1].as_name().unwrap(), b"FitH");
|
||||
assert_eq!(page[2].as_i64().unwrap(), 120);
|
||||
assert_eq!(
|
||||
get(pdf, last_child, b"Title").as_str().unwrap(),
|
||||
b"\xfe\xff\0R\0u\0s\0t",
|
||||
);
|
||||
let last_child_action = get(pdf, last_child, b"A").as_dict().unwrap();
|
||||
assert_eq!(last_child_action.get(b"D").unwrap().as_str().unwrap(), b"two");
|
||||
assert_eq!(get(pdf, last, b"Title").as_str().unwrap(), b"External");
|
||||
let last_action = get(pdf, last, b"A").as_dict().unwrap();
|
||||
assert_eq!(last_action.get(b"S").unwrap().as_name().unwrap(), b"URI");
|
||||
assert_eq!(last_action.get(b"URI").unwrap().as_str().unwrap(), b"https://example.org/");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn outline_uses_the_scan_time_title_and_final_attribute_printing() {
|
||||
let (reference, native, _) = pair(&format!(
|
||||
r"\def\A{{old}}
|
||||
\pdfoutline attr{{/Note (\A:\noexpand\literal)}} user{{<< /S /Named /N /NextPage >>}}
|
||||
{{\A:\noexpand\literal}}\def\A{{new}}\escapechar=33 {PAGE}",
|
||||
));
|
||||
for pdf in [&reference, &native] {
|
||||
let root = get(pdf, pdf.catalog().unwrap(), b"Outlines").as_dict().unwrap();
|
||||
let first = get(pdf, root, b"First").as_dict().unwrap();
|
||||
assert_eq!(get(pdf, first, b"Title").as_str().unwrap(), b"old:literal ");
|
||||
assert_eq!(first.get(b"Note").unwrap().as_str().unwrap(), b"old:!literal ");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn incomplete_outline_child_list_uses_actual_entries_and_cursor() {
|
||||
let (reference, native, _) = pair(&format!(
|
||||
r"\pdfoutline user{{<< /S /Named /N /NextPage >>}} count 3{{}}
|
||||
\pdfoutline user{{<< /S /Named /N /NextPage >>}}{{child}} {PAGE}",
|
||||
));
|
||||
for pdf in [&reference, &native] {
|
||||
let root = get(pdf, pdf.catalog().unwrap(), b"Outlines").as_dict().unwrap();
|
||||
let first = get(pdf, root, b"First").as_dict().unwrap();
|
||||
assert_eq!(root.get(b"Count").unwrap().as_i64().unwrap(), 2);
|
||||
assert_eq!(first.get(b"Count").unwrap().as_i64().unwrap(), 1);
|
||||
assert_eq!(
|
||||
first.get(b"First").unwrap().as_reference().unwrap(),
|
||||
root.get(b"Last").unwrap().as_reference().unwrap(),
|
||||
);
|
||||
assert_eq!(
|
||||
first.get(b"First").unwrap().as_reference().unwrap(),
|
||||
first.get(b"Last").unwrap().as_reference().unwrap(),
|
||||
);
|
||||
assert_eq!(get(pdf, first, b"Title").as_str().unwrap(), b"");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn outline_rejects_dvi_and_missing_action_before_creating_an_entry() {
|
||||
for (input, expected) in [
|
||||
(r"\pdfoutput=0 \pdfoutline goto name{x}{title}", "DVI mode"),
|
||||
(r"\pdfoutline {title}", "action type missing"),
|
||||
(r"\pdfoutline goto num 0 {title}", "must be positive"),
|
||||
] {
|
||||
let error = run_native(&format!("{SETUP}{input}{PAGE}\\end")).unwrap_err();
|
||||
assert!(error.message.contains(expected), "{}", error.message);
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn outline_and_open_action_share_a_missing_numeric_destination() {
|
||||
let (reference, native, messages) = pair(&format!(
|
||||
r"\pdfcatalog{{}} openaction goto num 23
|
||||
\pdfoutline goto num 23 {{same missing destination}} {PAGE}",
|
||||
));
|
||||
for pdf in [&reference, &native] {
|
||||
let root = get(pdf, pdf.catalog().unwrap(), b"Outlines").as_dict().unwrap();
|
||||
let first = get(pdf, root, b"First").as_dict().unwrap();
|
||||
let bookmark_action = get(pdf, first, b"A").as_dict().unwrap();
|
||||
assert_eq!(
|
||||
bookmark_action.get(b"D").unwrap().as_reference().unwrap(),
|
||||
action(pdf).get(b"D").unwrap().as_reference().unwrap(),
|
||||
);
|
||||
let destination = get(pdf, bookmark_action, b"D").as_array().unwrap();
|
||||
assert_eq!(destination[0].as_reference().unwrap(), pdf.get_pages()[&1]);
|
||||
}
|
||||
assert_eq!(messages.iter().filter(|text| text.contains("num23")).count(), 1);
|
||||
}
|
||||
@@ -334,7 +334,7 @@ fn old_schema_and_missing_unicode_state_are_rejected_even_with_valid_checksums()
|
||||
let envelope: serde_json::Value = serde_json::from_slice(&encoded).unwrap();
|
||||
let original: serde_json::Value =
|
||||
serde_json::from_str(envelope["payload"].as_str().unwrap()).unwrap();
|
||||
assert_eq!(original["schema"], 25);
|
||||
assert_eq!(original["schema"], 27);
|
||||
for (schema, expected) in [
|
||||
(1, "incompatible native format"),
|
||||
(2, "incompatible native format"),
|
||||
@@ -360,7 +360,9 @@ fn old_schema_and_missing_unicode_state_are_rejected_even_with_valid_checksums()
|
||||
(22, "incompatible native format"),
|
||||
(23, "incompatible native format"),
|
||||
(24, "incompatible native format"),
|
||||
(25, "glyph_unicode"),
|
||||
(25, "incompatible native format"),
|
||||
(26, "incompatible native format"),
|
||||
(27, "glyph_unicode"),
|
||||
] {
|
||||
let mut payload = original.clone();
|
||||
payload["schema"] = schema.into();
|
||||
|
||||
@@ -164,7 +164,7 @@ fn new_format_owns_vcenter_and_boxed_math_without_reinjecting_old_meanings() {
|
||||
let envelope: serde_json::Value = serde_json::from_slice(&bytes).unwrap();
|
||||
let payload: serde_json::Value =
|
||||
serde_json::from_str(envelope["payload"].as_str().unwrap()).unwrap();
|
||||
assert_eq!(payload["schema"], 25);
|
||||
assert_eq!(payload["schema"], 27);
|
||||
let executor = FormatImage::decode(&bytes)
|
||||
.unwrap()
|
||||
.new_job(
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
\pdfoutput=0
|
||||
\catcode123=1 \catcode125=2 \catcode35=6
|
||||
\immediate\openout7=effects.aux
|
||||
\def\tile{\hbox to5pt{\vrule width2pt height3pt depth1pt\write7{REPEATED}\hfil}}
|
||||
\def\band#1{\hbox to24pt{\kern3pt#1\tile\hfill\kern1pt}}
|
||||
\setbox0=\band\leaders
|
||||
\setbox1=\band\cleaders
|
||||
\setbox2=\band\xleaders
|
||||
\message{BAND=[\the\wd0,\the\ht0,\the\dp0]}
|
||||
\setbox3=\hbox{\leaders\vrule height2pt depth1pt\hskip13pt
|
||||
\message{TAIL=[\the\lastnodetype,\the\lastskip]}\write7{OUTSIDE}}
|
||||
\shipout\vbox{\baselineskip0pt\lineskip0pt\lineskiplimit0pt
|
||||
\box0\box1\box2\box3}
|
||||
\def\vband#1{\vbox to24pt{\kern3pt#1\vbox to5pt{\hrule width2pt height2pt\vfil}\vfill\kern1pt}}
|
||||
\shipout\hbox{\vband\leaders\kern2pt\vband\cleaders\kern2pt\vband\xleaders
|
||||
\kern2pt\vbox{\leaders\hrule width2pt\vskip11pt}}
|
||||
\setbox4=\hbox to4pt{\vrule width1pt height1pt\hfil}
|
||||
\shipout\hbox{\kern1pt\leaders\copy4\hskip11.9999pt\kern2pt
|
||||
\leaders\copy4\hskip-1pt\leaders\box4\hskip12pt}
|
||||
\immediate\closeout7
|
||||
\end
|
||||
@@ -0,0 +1 @@
|
||||
[{"glyphs": [], "rules": [{"x": 327680, "y": 0, "width": 131072, "height": 262144}, {"x": 655360, "y": 0, "width": 131072, "height": 262144}, {"x": 983040, "y": 0, "width": 131072, "height": 262144}, {"x": 196613, "y": 262144, "width": 131072, "height": 262144}, {"x": 524293, "y": 262144, "width": 131072, "height": 262144}, {"x": 851973, "y": 262144, "width": 131072, "height": 262144}, {"x": 1179653, "y": 262144, "width": 131072, "height": 262144}, {"x": 196610, "y": 524288, "width": 131072, "height": 262144}, {"x": 524292, "y": 524288, "width": 131072, "height": 262144}, {"x": 851974, "y": 524288, "width": 131072, "height": 262144}, {"x": 1179656, "y": 524288, "width": 131072, "height": 262144}, {"x": 0, "y": 786432, "width": 851968, "height": 196608}], "paint_order": [["rule", 0], ["rule", 1], ["rule", 2], ["rule", 3], ["rule", 4], ["rule", 5], ["rule", 6], ["rule", 7], ["rule", 8], ["rule", 9], ["rule", 10], ["rule", 11]]}, {"glyphs": [], "rules": [{"x": 0, "y": 327680, "width": 131072, "height": 131072}, {"x": 0, "y": 655360, "width": 131072, "height": 131072}, {"x": 0, "y": 983040, "width": 131072, "height": 131072}, {"x": 262144, "y": 196613, "width": 131072, "height": 131072}, {"x": 262144, "y": 524293, "width": 131072, "height": 131072}, {"x": 262144, "y": 851973, "width": 131072, "height": 131072}, {"x": 262144, "y": 1179653, "width": 131072, "height": 131072}, {"x": 524288, "y": 196610, "width": 131072, "height": 131072}, {"x": 524288, "y": 524292, "width": 131072, "height": 131072}, {"x": 524288, "y": 851974, "width": 131072, "height": 131072}, {"x": 524288, "y": 1179656, "width": 131072, "height": 131072}, {"x": 786432, "y": 851968, "width": 131072, "height": 720896}], "paint_order": [["rule", 0], ["rule", 1], ["rule", 2], ["rule", 3], ["rule", 4], ["rule", 5], ["rule", 6], ["rule", 7], ["rule", 8], ["rule", 9], ["rule", 10], ["rule", 11]]}, {"glyphs": [], "rules": [{"x": 262144, "y": 0, "width": 65536, "height": 65536}, {"x": 524288, "y": 0, "width": 65536, "height": 65536}, {"x": 1048576, "y": 0, "width": 65536, "height": 65536}, {"x": 1310720, "y": 0, "width": 65536, "height": 65536}], "paint_order": [["rule", 0], ["rule", 1], ["rule", 2], ["rule", 3]]}]
|
||||
Reference in new issue
Block a user