Header Fonts and String Function
Posted: Wed Oct 16, 2019 3:23 am
Hi,
I'm trying to set up the headers for PDF output. I'm using <oXygen/> XML Author 21.1, build 2019090904. When I try to specify font-family or font-size for the header, these properties are ignored. Only the font-weight is honored.
@page :left {
@top-left {
content: "Some Sample Text";
font-family: roman, 'times new roman', times, serif;
font-size: 6pt;
font-weight: normal;
}
}
@page :right {
@top-right {
content: "Some Sample Text";
font-family: arial, helvetica, sans-serif;
font-size: 26pt;
font-weight: bold;
}
}
Am I doing something wrong? If this is a bug, is there a workaround?
Thanks!
I'm trying to set up the headers for PDF output. I'm using <oXygen/> XML Author 21.1, build 2019090904. When I try to specify font-family or font-size for the header, these properties are ignored. Only the font-weight is honored.
@page :left {
@top-left {
content: "Some Sample Text";
font-family: roman, 'times new roman', times, serif;
font-size: 6pt;
font-weight: normal;
}
}
@page :right {
@top-right {
content: "Some Sample Text";
font-family: arial, helvetica, sans-serif;
font-size: 26pt;
font-weight: bold;
}
}
Am I doing something wrong? If this is a bug, is there a workaround?
Thanks!