diff options
author | Masamichi Hosoda <trueroad@trueroad.jp> | 2015-08-22 01:04:18 +0900 |
---|---|---|
committer | Masamichi Hosoda <trueroad@trueroad.jp> | 2015-08-26 19:52:30 +0900 |
commit | d252fe16ab70d138bc4d7f180498e26b6d774f23 (patch) | |
tree | d24feca9914ed1d235569dc3496e052573e9a507 | |
parent | 327fc82bafec17c249b78b8be19a71ff83b0a32c (diff) |
Issue 4571 / 1: Add font aliases settings for Unicode demonstration
This commit adds following generic font aliases settings:
Linux Libertine is serif.
Linux Biolinum is sans-serif.
Linux Libertine Mono is monospace.
So characters that are not contained
in the Libertine font (like Japanese)
are substituted to a serif font.
-rw-r--r-- | input/regression/typography-demo.ly | 6 | ||||
-rw-r--r-- | input/regression/utf-8-mixed-text.ly | 11 | ||||
-rw-r--r-- | input/regression/utf-8.ly | 6 |
3 files changed, 17 insertions, 6 deletions
diff --git a/input/regression/typography-demo.ly b/input/regression/typography-demo.ly index 51a2dd601f..c915c7fe52 100644 --- a/input/regression/typography-demo.ly +++ b/input/regression/typography-demo.ly @@ -27,9 +27,9 @@ ignoreMelismaOff = \unset ignoreMelismata % Linux Libertine fonts contain Cyrillic and Hebrew glyphs. #(define fonts (set-global-fonts - #:roman "Linux Libertine O" - #:sans "Linux Biolinum O" - #:typewriter "Linux Libertine Mono O" + #:roman "Linux Libertine O,serif" + #:sans "Linux Biolinum O,sans-serif" + #:typewriter "Linux Libertine Mono O,monospace" )) } diff --git a/input/regression/utf-8-mixed-text.ly b/input/regression/utf-8-mixed-text.ly index 7f93917c2f..b0fba2c5d2 100644 --- a/input/regression/utf-8-mixed-text.ly +++ b/input/regression/utf-8-mixed-text.ly @@ -7,4 +7,15 @@ \version "2.16.0" +% Font settings for Cyrillic +% Linux Libertine fonts contain Cyrillic glyphs. +\paper { + #(define fonts + (set-global-fonts + #:roman "Linux Libertine O,serif" + #:sans "Linux Biolinum O,sans-serif" + #:typewriter "Linux Libertine Mono O,monospace" + )) +} + \markup { "Здравствуйте Hallo" } diff --git a/input/regression/utf-8.ly b/input/regression/utf-8.ly index ae9742f1a2..b5fefcf923 100644 --- a/input/regression/utf-8.ly +++ b/input/regression/utf-8.ly @@ -34,9 +34,9 @@ will render Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese. \paper { #(define fonts (set-global-fonts - #:roman "Linux Libertine O" - #:sans "Linux Biolinum O" - #:typewriter "Linux Libertine Mono O" + #:roman "Linux Libertine O,serif" + #:sans "Linux Biolinum O,sans-serif" + #:typewriter "Linux Libertine Mono O,monospace" )) } |