Hi Roberto,
Thanks for your reply. Two things:
1) I did find out about using a path name after I posted. This is how the stylesheet is now.
fontsAlias:
stdFont: MyriadPro-Regular
stdBold: MyriadPro-Bold
stdItalic: MyriadPro-It
stdBoldItalic: MyriadPro-BoldIt
stdBlackSemiExt: /home/mike/.fonts/truetype/myriadpro/MyriadPro-BlackSemiExt.ttf
heading1:
parent: heading
fontName: stdBlackSemiExt
fontSize: 11
But the font isn't picked up, the headings come out as stdFont.
2) The command to list all the fonts - you mean fc-list? This is what I get for the fonts listed above:
/home/mike/.fonts/truetype/myriadpro/MyriadPro-Regular.ttf: Myriad Pro:style=Regular
/home/mike/.fonts/truetype/myriadpro/MyriadPro-Bold.ttf: Myriad Pro:style=Bold
/home/mike/.fonts/truetype/myriadpro/MyriadPro-It.ttf: Myriad Pro:style=Italic
/home/mike/.fonts/truetype/myriadpro/MyriadPro-BoldIt.ttf: Myriad Pro:style=Bold Italic
/home/mike/.fonts/truetype/myriadpro/MyriadPro-BlackSemiExt.ttf: Myriad Pro,Myriad Pro Black SemiExt:style=Black SemiExtended,Bold
I've tried
stdBlackSemiExt: MyriadPro-BlackSemiExt
stdBlackSemiExt: Myriad Pro,Myriad Pro Black SemiExt
stdBlackSemiExt: Myriad Pro Black SemiExt
stdBlackSemiExt: MyriadPro-Black SemiExtended
stdBlackSemiExt: MyriadPro-Black SemiExtended,Bold
All of which give Regular style instead, though the last one does come up in Bold.
What part of the font name exactly should I be using? Do I have to worry about the spaces in the font name?
The happiest solution would be that the file name reference worked, but it doesn't appear to.
I even tried putting the base font as italics to force the issue
stdFont: /home/mike/.fonts/truetype/myriadpro/MyriadPro-It.ttf
but it still came up in Regular!
Is there anything further I could try?