[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with a specific font in header markup
From: |
Jim Long |
Subject: |
Re: Problem with a specific font in header markup |
Date: |
Thu, 20 Sep 2012 22:22:00 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Sep 21, 2012 at 06:58:55AM +0200, David Kastrup wrote:
> Jim Long <address@hidden> writes:
>
> > \header {
> > title = \markup { \override #'(font-name . "Air Conditioner") "This is my
> > header" }
> > } % header
>
> > Lilypond agrees that these fonts are available:
> >
> > $ lilypond -dshow-available-fonts x 2>&1 | egrep "Jazz|Conditioner"
> > family JazzText
> > JazzText:style=Regular
> > family Air Conditioner
> > Air Conditioner:style=Regular
>
> Aren't you confusing font-name and font-family?
I don't think I have enough information yet to be confused.
I just tested, and Air Conditioner doesn't work with font-family:
\version "2.16.0"
\header {
title = \markup { \override #'(font-family . "Air Conditioner") "This is my
header" }
% title = \markup { \override #'(font-family . "JazzText") "This is my header"
}
} % header
\score {
\relative c {
<d' f c'>4 <d' f c'>4 q q
} % relative
} % score
But Air Conditioner and two other fonts I've tried do work with these lines:
% title = \markup { \override #'(font-name . "JazzText") "This is my header" }
% title = \markup { \override #'(font-name . "Steelfish") "This is my header" }
% title = \markup { \override #'(font-name . "Ringbearer") "This is my header"
}
title = \markup { \override #'(font-name . "Air Conditioner") "This is my
header" }
Lilypond tells me those are the font names that are available:
If I am confusing something, please advise. It works for three
out of four, but I'd like to make it four out of four so I can
try out the one that isn't working yet.
Below is what fc-list has to say about the font families and font
names. One thing I noticed is the 'en' is not in the 'lang'
attribute of JazzText, but I don't know if that's relevant. The
charset attributes are different, also.
Air Conditioner:
Pattern has 19 elts (size 32)
family: "Air Conditioner"(s)
familylang: "en"(s)
style: "Regular"(s)
stylelang: "en"(s)
fullname: "Air Conditioner"(s)
fullnamelang: "en"(s)
slant: 0(i)(s)
weight: 80(i)(s)
width: 100(i)(s)
foundry: "unknown"(s)
file: "/usr/local/lib/X11/fonts/TTF/AIRCONDI.TTF"(s)
index: 0(i)(s)
outline: FcTrue(s)
scalable: FcTrue(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 fbfffbff ffffffff
ffffffbf
0001: 00000000 00020000 00040006 61000003 00000000 00000000 00000000
00000000
0002: 00000000 00000000 00000000 00000000 00000000 00000000 3f0002c0
00000000
0003: 00000000 00000000 00000000 00000000 00000000 10000000 00000000
00000000
0020: 77190000 06010047 00000010 00000000 00000000 00001000 00000000
00000000
0021: 00000000 00000004 00000000 00000000 00000000 00000000 00000000
00000000
0022: 42040004 00000000 00000000 00000031 00000000 00000000 00000000
00000000
00f0: 00000001 00000000 00000000 00000000 00000000 00000000 00000000
00000000
(s)
lang:
aa|ay|bi|br|ch|de|en|es|et|eu|fi|fj|fur|fy|gd|gl|gv|ho|ia|id|ie|io|it|lb|mg|nds|nl|nr|nso|oc|om|pt|rm|sma|smj|so|sq|ss|st|sv|sw|tl|tn|ts|uz|vo|vot|wa|xh|yap|zu|an|fil|ht|jv|kj|kwm|li|ms|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|za(s)
fontversion: 65536(i)(s)
fontformat: "TrueType"(s)
decorative: FcFalse(s)
JazzText:
Pattern has 19 elts (size 32)
family: "JazzText"(s)
familylang: "en"(s)
style: "Regular"(s)
stylelang: "en"(s)
fullname: "JazzText Regular"(s)
fullnamelang: "en"(s)
slant: 0(i)(s)
weight: 80(i)(s)
width: 100(i)(s)
foundry: "unknown"(s)
file: "/usr/local/lib/X11/fonts/TTF/JAZZTEXT.TTF"(s)
index: 0(i)(s)
outline: FcTrue(s)
scalable: FcTrue(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 6000e003 f0ffffff ff801fff
007fffff
0001: 00000000 00000000 000c0000 01000003 00040000 00000000 00000000
00000000
0002: 00000000 00000000 00000000 00000000 00000000 00000000 10000040
00000000
0020: 77180000 06010043 00000000 00000000 00000000 00000000 00000000
00000000
0021: 00000000 00000004 00000000 00000000 00000000 00000000 00000000
00000000
0022: 02000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
(s)
lang:
fj|gv|ho|ia|id|ie|io|nr|om|so|sq|ss|st|sw|ts|uz|xh|zu|jv|kj|kwm|ms|ng|rn|rw|sn|su|za(s)
fontversion: 65536(i)(s)
fontformat: "TrueType"(s)
decorative: FcFalse(s)