lilypond-user
[Top][All Lists]
Advanced

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

Re: Character encoding / poor man's letterspacing


From: Aaron Hill
Subject: Re: Character encoding / poor man's letterspacing
Date: Tue, 12 Mar 2019 13:51:27 -0700
User-agent: Roundcube Webmail/1.3.8

On 2019-03-12 8:32 am, Aaron Hill wrote:
#(define (is-combining-mark? ucp)
  "Returns whether a code-point is a Unicode Combining Character."
  (or (<= #x0300 ucp #x03ff)
      (<= #x1ab0 ucp #x1aff)
      (<= #x1dc0 ucp #x1dff)
      (<= #x20d0 ucp #x20ff)
      (<= #xfe20 ucp #xfe2f)))

Typo in the above function: the first range of combining characters should only extend to U+036F:

%%%%
#(define (is-combining-mark? ucp)
  "Returns whether a code-point is a Unicode Combining Character."
  (or (<= #x0300 ucp #x036f)
      (<= #x1ab0 ucp #x1aff)
      (<= #x1dc0 ucp #x1dff)
      (<= #x20d0 ucp #x20ff)
      (<= #xfe20 ucp #xfe2f)))
%%%%


-- Aaron Hill

Attachment: letterspaced.ly
Description: Text document


reply via email to

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