lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add sans-serif and monospace fonts (issue 224800043 by address@hidde


From: trueroad
Subject: Re: Add sans-serif and monospace fonts (issue 224800043 by address@hidden)
Date: Wed, 01 Apr 2015 10:35:02 +0000

Reviewers: J_lowe, dak, c_sorensen,

Message:
On 2015/04/01 05:33:59, dak wrote:
On 2015/03/31 22:18:11, c_sorensen wrote:
> On 2015/03/31 15:57:54, dak wrote:
> > Shouldn't we rather be selecting the Courier and Helvetica fonts
(standard
> > PostScript) and rely on GhostScript and/or font installation to
cater for
the
> > font substitution to Nimbus when required?
> >
> > That's not a rhetorical question: I don't know the answer myself.
>
> IIUC, the problem that we had was that the font installations for
some systems
> did not include ligatures, so we proposed to make a selection,
rather than
> allowing the system default to apply.

The PostScript default fonts have well-defined metrics including
ligatures.
That's different from a non-specific "system default font" according
to Pango.
At least it _should_ be different.  I was not talking about asking
Pango for
"Sans" or "Fixed", but for "Helvetica" and "Courier".

PostScript is required to do something with that request that at least
results
in well-known font metrics.  I don't know whether Pango is similarly
well-defined for that request, however.

In my perception, pango requires actual font file (.otf, .pfb etc.).
If there is no font files, pango can't render anything.
Even if there is only font metric files (.afm, .pfm, .tfm etc.),
pango can't handle it.

Moreover, in my experiment,
pango can't handle the ligature of PostScript Type1 font (.pfb with .afm
or .pfm).
It can handle the ligature of OpenType font (.otf).

Description:
Add sans-serif and monospace fonts

Nimbus Sans L (Helvetica substitute) as sans-serif font.
Nimbus Mono L (Courier substitute) as monospace font.

Please review this at https://codereview.appspot.com/224800043/

Affected files (+144, -9 lines):
  M config.make.in
  M configure.ac
  M mf/GNUmakefile
  M scm/font.scm
  A + scripts/auxiliar/pfx2ttf-mono.fontforge





reply via email to

[Prev in Thread] Current Thread [Next in Thread]