Hello,
I use gnuplot development version 4.3 patchlevel 0 and its pdfcairo
terminal output. So far everything is fine except of some kind of font
selection obfuscation. I wonder what the correct way of specifying a
certain font style is.
On my fedora 8 linux system the command
> fc-list | grep Charter
gives
Bitstream Charter:style=Bold Italic
Bitstream Charter:style=Regular
Bitstream Charter:style=Italic
Bitstream Charter:style=Bold
The pdfcairo option font "Bitstream Charter" works like expected.
Charter style regular is embedded in the pdf and correctly displayed.
But how do I select bold or italic face?
The fontconfig manual says:
"Fontconfig provides a textual representation for patterns that the
library can both accept and generate. The representation is in three
parts, first a list of family names, second a list of point sizes and
finally a list of additional properties:
<families>-<point sizes>:<name1>=<values1>:<name2>=<values2>...
[...]
example:
Courier:italic"
Applied to my case it should read
Bitstream Charter:bold
Checking my fontconfig configuration using the command fc-match it
should find the correct font and indeed it does:
> fc-match "Bitstream Charter:bold"
bchb.pfa: "Bitstream Charter" "Bold"
So fontconfig finds the correct font and so should gnuplots font
selection system as I learn from the gnuplot manual that it actually
relies on fontconfig for linux systems. But giving the bold face like
above is not successful, instead this seems to be not valid as the
standard sans serif font is embedded in the pdf.
How do I give extra font style information like bold type face?
Greetings,
Steffen