Render imported PDF TrueType device fonts from exact SFNT faces
This commit is contained in:
1 parent
b640b26eff
commit
84d6f3ae51
14 files changed
+504
-76
No files matched your search
@@ -277,6 +277,14 @@ pub trait SourceProvider {
|
||||
) -> Result<Option<crate::resources::NamedFont>, String> {
|
||||
Ok(None)
|
||||
}
|
||||
/// Resolve the exact PostScript name of a PDF TrueType device font.
|
||||
fn pdf_truetype(
|
||||
&mut self,
|
||||
_name: &str,
|
||||
_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