mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 08:20:13 +00:00
Cite the PostScript Language Reference by its public URL
This commit is contained in:
@@ -1418,8 +1418,9 @@ fn index(k: &Obj) -> Res<usize> {
|
||||
}
|
||||
}
|
||||
|
||||
/// `known`: a key may be any object but null (PLRM 3rd ed.), and one that can't be a key here (an
|
||||
/// array, a dictionary, a real with a fraction) is in no dictionary, since `put` refuses it.
|
||||
/// `known`: a key may be any object but null (PLRM 3rd ed., §3.3.9, <https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf>),
|
||||
/// and one that can't be a key here (an array, a dictionary, a real with a fraction) is in no
|
||||
/// dictionary, since `put` here refuses it.
|
||||
fn known(d: &DictRef, k: &Obj) -> Res<bool> {
|
||||
match k.key() {
|
||||
Some(key) => Ok(d.borrow().contains_key(&key)),
|
||||
|
||||
@@ -996,7 +996,8 @@ fn the_standard_dictionaries_are_dictionaries_in_systemdict() {
|
||||
check("SharedFontDirectory type /dicttype eq");
|
||||
}
|
||||
|
||||
/// A key may be any object but null (PLRM 3rd ed.), so `known` answers for every other key.
|
||||
/// A key may be any object but null (PLRM 3rd ed., §3.3.9, <https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf>),
|
||||
/// so `known` answers for every other key.
|
||||
/// Ghostscript's `eps2write` looks an inline image's filter up in a dictionary of abbreviations,
|
||||
/// and the filter may be an array of them.
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user