Select named XeTeX faces by optical size
This commit is contained in:
1 parent
115e1f0fe0
commit
d4e78bc29a
9 files changed
+290
-31
No files matched your search
@@ -282,6 +282,16 @@ pub trait SourceProvider {
|
||||
) -> Result<Option<crate::resources::NamedFont>, String> {
|
||||
Ok(None)
|
||||
}
|
||||
/// Apply an explicit optical size in TeX points, or the named face's default.
|
||||
fn named_font_with_size(
|
||||
&mut self,
|
||||
name: &str,
|
||||
style: crate::resources::FontStyle,
|
||||
_optical_points: Option<f64>,
|
||||
from: &str,
|
||||
) -> Result<Option<crate::resources::NamedFont>, String> {
|
||||
self.named_font(name, style, from)
|
||||
}
|
||||
/// Resolve the exact PostScript name of a PDF TrueType device font.
|
||||
fn pdf_truetype(
|
||||
&mut self,
|
||||
|
||||
Reference in new issue
Block a user