Walter Garcia-Fontes wrote
> [...] but her bosses are stubborn to use that one, which is used in
> schools here in Spain, and so they are used to it.

Hi Walter,

Everything Andrew said is exactly how I feel about it.
But I can see the point that Escolar is intended for didactic use (hence the
name...) and has not been created to look good but to serve as a didactic
font for learning how to write.
We have similar fonts in Germany (called "Ausgangsschrift") - the more
"modern"/simplified, the more ugly. ;)

But apart from that, the Escolar font is poorly crafted in my opinion and,
well, we can't change that.

*Bold, italic etc.*
A font mimicking handwriting should never italicized for emphasis, because
you would never do that in handwriting.
The same goes for bold (although on could use a thicker pen).
In handwriting, underlining would be the way to go (even if underlining is a
bad way of emphasis in printed text).


*Fake bold and fake italics*
should always be a last resort.


*Many Teachers...*
... tend to over-use bold text because they think that everything is
important and never learned anything about typography (neither at school nor
at the university). That always made me wonder because producing texts is an
integral part of their daily work.

As Andrew already stated, Escolar2 Negra (!!!) actually /is/ a bold font
(cf. Arial Black) and there is Escolar 1 as a regular version (that nobody
seems to be using, though).


*Apart from that...*
I've had had a look what Office does (Open Office in my case) and tried to
mimic its behaviour in our LilyPond markup commands.
Regardless of any typographic aspects, the LilyPond output should match the
Open Office (or Libre Office or Microsoft Office) output that the children
are used to.

Here's a comparison of Open Office's fake bold/italic and my corresponding
LilyPond emulations:

<http://lilypond.1069038.n5.nabble.com/file/t3887/Escolar-bold-and-italic.png> 

You've already created your own \bolded-command (very good!). In my version,
I use several overrides to get rid of the "zigzag" outlines of a single
shift (see the letter "s" for example).

Here's what I did (\slanted and \fake-bold):

%%%%%% BEGIN OF SNIPPET
\version "2.18.2"

#(define-markup-command
  (fake-bold layout props arg)
  (markup?)
  #:category font
  #:properties ((shift 0.009))
  "Fake a bold font"
  (let* ((stencil (interpret-markup layout props arg)))
    (set! stencil
          (ly:stencil-add
           stencil
           (ly:stencil-translate-axis stencil shift X)
           (ly:stencil-translate-axis stencil (* 2 shift) X)))
    (ly:stencil-add
     stencil
     (ly:stencil-translate-axis stencil (* 3 shift) X))))

#(define-markup-command
  (slanted layout props arg)
  (markup?)
  #:category font
  #:properties ((slant-angle 19))
  "Fake a slanted font"
  (let* ((alpha-rad (* 0.5 (acos (tan (* (/ PI -180) slant-angle)))))
         (alpha-deg (* (/ 180 PI) alpha-rad))
         (stencil
          (if (markup? arg)
              (interpret-markup layout props arg)
              empty-stencil))
         (x-ext (ly:stencil-extent stencil X))
         (y-ext (ly:stencil-extent stencil Y)))
    (ly:make-stencil
     (ly:stencil-expr
      (ly:stencil-scale
       (ly:stencil-rotate
        (ly:stencil-scale
         (ly:stencil-rotate
          (ly:make-stencil (ly:stencil-expr stencil) (cons 0 0) (cons 0 0))
          45 0 0)
         1
         (* (tan alpha-rad)))
        (* (- alpha-deg)) 0 0)
       (* (sqrt 2) (cos alpha-rad)) (/ 0.5 (sqrt 0.5) (sin alpha-rad))))
     x-ext y-ext)))

\markup \override #'(font-name . "Escolar2") \column {
  "This is Escolar 2"
  \fake-bold "This is bold in Lilypond"
  \slanted "This is italic in Lilypond"
}
%%%%%% END OF SNIPPET


All the best
Torsten



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to