Problem finding correct Century Schoolbook fonts

View: New views
7 Messages — Rating Filter:   Alert me  

Problem finding correct Century Schoolbook fonts

by Patrick McCarty-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have come across an unusual problem in LilyPond's configure stage.

If my ~/.fonts directory contains the FontForge-generated Century
Schoolbook OTF fonts from a previous LilyPond compile, ./configure
detects *two* of these OTF fonts and *two* of my system PFB fonts.

Here is the content of my user font directory:

  $ ls ~/.fonts
  CenturySchL-Bold.otf      CenturySchL-Ital.otf
  CenturySchL-BoldItal.otf  CenturySchL-Roma.otf

And here is the output from ./configure:

  checking New Century Schoolbook PFB files... /home/pnorcks/.fonts/CenturySchL-Bold.otf /usr/share/fonts/Type1/c059036l.pfb /home/pnorcks/.fonts/CenturySchL-Ital.otf /usr/share/fonts/Type1/c059013l.pfb


This causes a compilation failure later in the build process, but the
above is clearly the source of the error.

Thanks,
Patrick


_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: Problem finding correct Century Schoolbook fonts

by Valentin Villenave :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/4 Patrick McCarty <pnorcks@...>:
> If my ~/.fonts directory contains the FontForge-generated Century
> Schoolbook OTF fonts from a previous LilyPond compile, ./configure
> detects *two* of these OTF fonts and *two* of my system PFB fonts.

Hi Patrick,

what's the status of this issue? Do you want me to open a tracker page?

Regards,
Valentin


_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: Problem finding correct Century Schoolbook fonts

by Francisco Vila-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/16 Valentin Villenave <v.villenave@...>:
> 2009/7/4 Patrick McCarty <pnorcks@...>:
>> If my ~/.fonts directory contains the FontForge-generated Century
>> Schoolbook OTF fonts from a previous LilyPond compile, ./configure
>> detects *two* of these OTF fonts and *two* of my system PFB fonts.
>
> Hi Patrick,
>
> what's the status of this issue? Do you want me to open a tracker page?
>

We have been able to workaround this by simply deleting existing
cschbk fonts in ~/.fonts. It does not look like a bug of LilyPond, but
rather of the build scripts. The problem is, this issue will arise
again and again with the time if it is not fixed.
--
Francisco Vila. Badajoz (Spain)
www.paconet.org


_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: Problem finding correct Century Schoolbook fonts

by Valentin Villenave :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/16 Francisco Vila <paconet.org@...>:
> We have been able to workaround this by simply deleting existing
> cschbk fonts in ~/.fonts. It does not look like a bug of LilyPond, but
> rather of the build scripts. The problem is, this issue will arise
> again and again with the time if it is not fixed.

OK. So this definitely deserves a tracker page. Can you guys help me
with the wording?

Regards,
Valentin


_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: Problem finding correct Century Schoolbook fonts

by John Mandereau-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le jeudi 16 juillet 2009 à 12:44 +0200, Valentin Villenave a écrit :
> OK. So this definitely deserves a tracker page. Can you guys help me
> with the wording?

IIRC the current state of our autoconf machinery, Century Schoolbook
font lookup is first attempted by FontConfig, and if it's successful,
the lookup stops. I hope we can refine fc-match lookup by excluding
paths that contain $HOME. I'm so overwhelmed with other things that it's
a good idea to add it in the tracker.

Best,
John



_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: Problem finding correct Century Schoolbook fonts

by Patrick McCarty-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jul 16, 2009 at 3:44 AM, Valentin
Villenave<v.villenave@...> wrote:
> 2009/7/16 Francisco Vila <paconet.org@...>:
>> We have been able to workaround this by simply deleting existing
>> cschbk fonts in ~/.fonts. It does not look like a bug of LilyPond, but
>> rather of the build scripts. The problem is, this issue will arise
>> again and again with the time if it is not fixed.
>
> OK. So this definitely deserves a tracker page. Can you guys help me
> with the wording?

For a summary, maybe:

Configure detects incorrect set of Century Schoolbook fonts

I think a steps to reproduce would be best:

1) Extract the following fonts from your LilyPond installation, and
move them to ~/.fonts

  CenturySchL-Bold.otf
  CenturySchL-BoldItal.otf
  CenturySchL-Ital.otf
  CenturySchL-Roma.otf

2) Start a fresh git build with ./autogen.sh (in my case, I do
./autogen.sh --prefix=$HOME/usr, but this shouldn't matter)

3) Configure will detect two of these OTF fonts and two of the system PFB fonts:

  checking New Century Schoolbook PFB files...
    /home/pnorcks/.fonts/CenturySchL-Bold.otf
    /usr/share/fonts/Type1/c059036l.pfb
    /home/pnorcks/.fonts/CenturySchL-Ital.otf
    /usr/share/fonts/Type1/c059013l.pfb

Configure *should* detect these fonts:

  /usr/share/fonts/Type1/c059016l.pfb
  /usr/share/fonts/Type1/c059036l.pfb
  /usr/share/fonts/Type1/c059033l.pfb
  /usr/share/fonts/Type1/c059013l.pfb

That's it!

Thanks,
Patrick


_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: Problem finding correct Century Schoolbook fonts

by Valentin Villenave :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/16 Patrick McCarty <pnorcks@...>:
> Configure detects incorrect set of Century Schoolbook fonts

OK, thank you all. Here you go:
http://code.google.com/p/lilypond/issues/detail?id=812

Valentin


_______________________________________________
bug-lilypond mailing list
bug-lilypond@...
http://lists.gnu.org/mailman/listinfo/bug-lilypond