X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Futf-8.ly;h=7d4dab0aa461181b44b5bb19654dd55336e8fb3e;hb=d1eb15cde3662e5d53d6527967f294c3011d1d86;hp=618719061d7ead744a8a0cff4e67080109c721c5;hpb=1c859650b6ff11a7dbe829328fd5cae3816b9231;p=lilypond.git diff --git a/Documentation/snippets/utf-8.ly b/Documentation/snippets/utf-8.ly index 618719061d..7d4dab0aa4 100644 --- a/Documentation/snippets/utf-8.ly +++ b/Documentation/snippets/utf-8.ly @@ -1,13 +1,18 @@ -%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it -%% This file is in the public domain. -\version "2.13.1" +% DO NOT EDIT this file manually; it is automatically +% generated from Documentation/snippets/new +% Make any changes in Documentation/snippets/new/ +% and then run scripts/auxiliar/makelsr.py +% +% This file is in the public domain. +%% Note: this file works from version 2.19.12 +\version "2.19.12" \header { lsrtags = "text" texidoc = " Various scripts may be used for texts (like titles and lyrics) by -entering them in UTF-8 encoding, and using a Pango based backend. +entering them in UTF-8 encoding, and using a Pango based backend. Depending on the fonts installed, this fragment will render Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese. @@ -26,15 +31,27 @@ You may have to install additional fonts. Red Hat Fedora - taipeifonts fonts-xorg-truetype ttfonts-ja fonts-arabic \ - ttfonts-zh_CN fonts-ja fonts-hebrew + linux-libertine-fonts (Latin, Cyrillic, Hebrew) + ipa-mincho-fonts ipa-gothic-fonts (Japanese) -Debian GNU/Linux +Debian GNU/Linux, Ubuntu - apt-get install emacs-intl-fonts xfonts-intl-.* \ - ttf-kochi-gothic ttf-kochi-mincho \ - xfonts-bolkhov-75dpi xfonts-cronyx-100dpi xfonts-cronyx-75dpi -%} + fonts-linuxlibertine (Latin, Cyrillic, Hebrew) + fonts-ipafont (Japanese) + +%} % begin verbatim + + +% Font settings for Cyrillic and Hebrew +% Linux Libertine fonts contain Cyrillic and Hebrew glyphs. +\paper { + #(define fonts + (set-global-fonts + #:roman "Linux Libertine O,serif" + #:sans "Linux Biolinum O,sans-serif" + #:typewriter "Linux Libertine Mono O,monospace" + )) +} % Cyrillic font bulgarian = \lyricmode {