Closed ghost closed 2 years ago
Hi, the fonts for the tables are not hardcoded, but they do need to be installed (you cannot just specify a font file for them). You can change those fonts using --style
option. Here are the defaults for various styles (as shown when --help
is supplied):
header-font (Sans Bold 12)
font-name-font (Serif Bold 12)
table-numbers-font (Sans 10)
cell-numbers-font (Mono 8)
You can change the header font like this:
fntsample --style "header-font: Arial 14" ....
here is an example
arial.ttf
arial.ttf.zip
arial.ttf.pdf
arial.ttf.pdf.ziprunning on Cygwin,
which relay on
C:\Windows\Fonts\
for actual having other fonts I've editedC:\cygwin\etc\fonts\fonts.conf
fonts.zip
and then the result was looking fine,
my suggestion/question is,
how to control, what I assume is a hard-codded styling for the PDF,
or an ability to control the non-critical presentation layer of the PDF,
either of those would be greatly appreciated.