mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Keep the doc comment of unreadable on unreadable
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
79dd751d3b
commit
1446b4f5dc
@@ -865,8 +865,6 @@ impl<'a> Reader<'a> {
|
||||
self.add(n, hidden)
|
||||
}
|
||||
|
||||
/// Note something the data has that isn't read: an error on a layer that shows, left out of a
|
||||
/// layer that doesn't.
|
||||
/// Non-native art (`/ForeignObject`): the content of a placed PDF, which Illustrator shows but
|
||||
/// doesn't edit. Its `/Data` is that PDF (ASCII85 in comment lines, kept by the `,` handler),
|
||||
/// `/Bounds` the art's box in a space measured from `/Origin` with y down, and `/RTransform`
|
||||
@@ -955,6 +953,8 @@ impl<'a> Reader<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Note something the data has that isn't read: an error on a layer that shows, left out of a
|
||||
/// layer that doesn't.
|
||||
fn unreadable(&mut self, what: &str) {
|
||||
if self.shown() {
|
||||
self.unsupported.insert(what.into());
|
||||
|
||||
Reference in New Issue
Block a user