Retain XeTeX image lookup paths in native formats
This commit is contained in:
1 parent
6a118d3b60
commit
c2e1e64a60
10 files changed
+208
-54
No files matched your search
@@ -1641,6 +1641,16 @@ impl SourceProvider for Files {
|
||||
self.observe_resource(kind, &resource);
|
||||
Ok(resource)
|
||||
}
|
||||
fn resource_with_lookup_path(
|
||||
&mut self,
|
||||
kind: ResourceKind,
|
||||
name: &str,
|
||||
from: &str,
|
||||
) -> Result<(LoadedResource, PathBuf), String> {
|
||||
let (resource, path) = self.world.read_with_lookup_path(kind, name, Path::new(from))?;
|
||||
self.observe_resource(kind, &resource);
|
||||
Ok((resource, path))
|
||||
}
|
||||
fn virtual_font(&mut self, name: &str, from: &str) -> Result<Option<LoadedResource>, String> {
|
||||
let resource = self
|
||||
.world
|
||||
|
||||
Reference in new issue
Block a user