Use Times metrics for bold and italic text
Add ptmb8t/ptmri8t/ptmbi8t metrics and TimesBold/TimesItalic/TimesBoldItalic paragraph faces. A ptm document now maps Roman, bold, italic and bold-italic base faces to the Times family, so headings and emphasised runs use Times widths while the PDF backend continues to embed Liberation Serif. The arXiv output is unchanged at 3 pages; previews measured 12.5-17.5 ms warm and 191 ms cold. Test count is 1076.
This commit is contained in:
1 parent
e9bbd4bd87
commit
fd9ee0740b
12 files changed
+100
-18
No files matched your search
@@ -479,6 +479,9 @@ fn paragraph_face(font: ParagraphFont) -> FontFace {
|
||||
ParagraphFont::BoldSlanted => FontFace::BoldSlanted,
|
||||
ParagraphFont::MonoItalic => FontFace::MonoItalic,
|
||||
ParagraphFont::TimesRoman => FontFace::Roman,
|
||||
ParagraphFont::TimesBold => FontFace::Bold,
|
||||
ParagraphFont::TimesItalic => FontFace::Italic,
|
||||
ParagraphFont::TimesBoldItalic => FontFace::BoldItalic,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user