RE: font metric

2006-07-24 Thread Fairchild
These chunks are taken from the program reference for LilyPond version
2.8.5,
http://lilypond.org/doc/v2.8/Documentation/user/lilypond-internals/Scheme-fu
nctions.html#Scheme-functions :

- Function: ly:font-design-size font
Given the font metric font, return the design size, relative to the
current output-scale. 

- Function: ly:font-file-name font
Given the font metric font, return the corresponding file name. 

- Function: ly:font-magnification font
Given the font metric font, return the magnification, relative to the
current outputs-cale. 

- Function: ly:font-name font
Given the font metric font, return the corresponding name. 

- Function: ly:font-sub-fonts font
Given the font metric font of an OpenType font, return the names of the
subfonts within font. 

What does a 'font metric font' look like?  Is there an example using any of
these Scheme functions?

  - Bruce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Fairchild
Sent: Friday, July 21, 2006 7:21 AM
To: lilypond-user@gnu.org
Subject: font metric


In several places, documentation refers to font metric but I have not
found a syntax definition or an example of its use.  

Specifically, in the function: ly:font-filename font (given the font metric
font, return the corresponding file name) what is the syntax for font?

- Bruce






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: font metric

2006-07-24 Thread Han-Wen Nienhuys

Fairchild schreef:


In several places, documentation refers to font metric but I have not
found a syntax definition or an example of its use.  


try

  ly:grob-default-font

or

  ly:grob-property grob 'font


Specifically, in the function: ly:font-filename font (given the font metric
font, return the corresponding file name) what is the syntax for font?


what problem are you trying to solve?

--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: font metric

2006-07-24 Thread Fairchild
Han-Wen -

Thanks, but still too cryptic for me.

Indeed, you have added to my unknowns list.  The function
ly:grob-default-font seems to require an argument 'grob.'  How to denote a
specific grob?

I'm searching for a way to interrogate the default/current font name, then
add to LSR entry File Information.

   - Bruce

-Original Message-
From: Han-Wen Nienhuys [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 24, 2006 5:14 PM
To: Fairchild
Cc: lilypond-user@gnu.org
Subject: Re: font metric


Fairchild schreef:

 In several places, documentation refers to font metric but I have not
 found a syntax definition or an example of its use.  

try

   ly:grob-default-font

or

   ly:grob-property grob 'font

 Specifically, in the function: ly:font-filename font (given the font
metric
 font, return the corresponding file name) what is the syntax for font?

what problem are you trying to solve?

-- 

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
  -- Code for Music Notation
http://www.lilypond-design.com






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


font metric

2006-07-21 Thread Fairchild
In several places, documentation refers to font metric but I have not
found a syntax definition or an example of its use.  

Specifically, in the function: ly:font-filename font (given the font metric
font, return the corresponding file name) what is the syntax for font?

- Bruce






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


unicode font (metric?) problem

2005-12-19 Thread Marcus Brinkmann
Hi,

the following input file prints the lyrics like this:

1   4
  

The superscript 1 is placed correctly.  Same for superscript 2 and 3
(0x00B9, 0x00B2, 0x00B3 respectively).  The superscript 4 is placed
incorrectly.  Same for superscript 0, 5, 6, 7, 8, 9 (0x207x).

I don't even know where to start looking for the root of the problem.
I use Debian testing/unstable, lilypond 2.6.3.

Thanks,
Marcus

% superscript-numbers.ly

\version 2.6.0

melody =  \context Voice { c'' c'' }
  \lyricsto  \new Lyrics { ..�¹ ..⁴ } 

\score { \new Staff { \melody } \layout { indent = 0.0 } }



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user