Resolve named XeTeX fonts through captured resource catalogues
This commit is contained in:
1 parent
a31de14eb2
commit
767c8ffced
10 files changed
+513
-12
No files matched your search
@@ -253,6 +253,15 @@ pub trait SourceProvider {
|
||||
) -> Result<Option<crate::resources::LoadedResource>, String> {
|
||||
Ok(None)
|
||||
}
|
||||
/// Look up a real named outline face in the host's resource namespace.
|
||||
fn named_font(
|
||||
&mut self,
|
||||
_name: &str,
|
||||
_style: crate::resources::FontStyle,
|
||||
_from: &str,
|
||||
) -> Result<Option<crate::resources::NamedFont>, String> {
|
||||
Ok(None)
|
||||
}
|
||||
/// An exact lookup that can report a missing font file before trying another format.
|
||||
fn optional_font_file(
|
||||
&mut self, kind: crate::resources::ResourceKind, name: &str, from: &str,
|
||||
|
||||
Reference in new issue
Block a user