Shape and render explicit OpenType fonts in native Unicode jobs
This commit is contained in:
1 parent
3caf1eced2
commit
70822cbd94
33 files changed
+1255
-80
No files matched your search
@@ -250,6 +250,12 @@ pub trait SourceProvider {
|
||||
) -> Result<Option<crate::resources::LoadedResource>, 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,
|
||||
) -> Result<Option<crate::resources::LoadedResource>, String> {
|
||||
self.resource(kind, name, from).map(Some)
|
||||
}
|
||||
/// Read an actual PDF font map. A host that can distinguish missing
|
||||
/// files from other failures can return None for TeX's warning path.
|
||||
fn optional_font_map(
|
||||
|
||||
Reference in new issue
Block a user