fix(pdf): preserve accented names in revised CV and letter headings
This commit is contained in:
@@ -60,7 +60,8 @@ public sealed class CoverLetterDocumentRenderer
|
||||
""";
|
||||
if (s.DesignVersion == 2)
|
||||
{
|
||||
var css = $"h1,h2{{font-family:{CvDocumentFonts.Stack(s.HeadingFont!)};}}h1{{font-size:{F(theme.NameSizePt - 2)}pt;}}header{{border-bottom-width:.4mm;}}";
|
||||
// Sender-name ascenders must clear the first-page clipping boundary, as in revised CVs.
|
||||
var css = $"h1,h2{{font-family:{CvDocumentFonts.Stack(s.HeadingFont!)};}}h1{{font-size:{F(theme.NameSizePt - 2)}pt;padding-top:2mm;}}header{{border-bottom-width:.4mm;}}";
|
||||
css += theme.HeaderStyle switch
|
||||
{
|
||||
"band" when theme.Layout == "header-band" => $"header{{background:{s.AccentColor};color:{ThemedCvRenderer.ContrastInk(s.AccentColor!)};padding:6mm;margin-bottom:8mm;border:0;}}header h1{{color:inherit;}}",
|
||||
|
||||
Reference in New Issue
Block a user