LEFT | RIGHT |
(no file at all) | |
1 ;;;; This file is part of LilyPond, the GNU music typesetter. | 1 ;;;; This file is part of LilyPond, the GNU music typesetter. |
2 ;;;; | 2 ;;;; |
3 ;;;; Copyright (C) 1998--2012 Jan Nieuwenhuizen <janneke@gnu.org> | 3 ;;;; Copyright (C) 1998--2012 Jan Nieuwenhuizen <janneke@gnu.org> |
4 ;;;; Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 ;;;; Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 ;;;; | 5 ;;;; |
6 ;;;; LilyPond is free software: you can redistribute it and/or modify | 6 ;;;; LilyPond is free software: you can redistribute it and/or modify |
7 ;;;; it under the terms of the GNU General Public License as published by | 7 ;;;; it under the terms of the GNU General Public License as published by |
8 ;;;; the Free Software Foundation, either version 3 of the License, or | 8 ;;;; the Free Software Foundation, either version 3 of the License, or |
9 ;;;; (at your option) any later version. | 9 ;;;; (at your option) any later version. |
10 ;;;; | 10 ;;;; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 (ly:format | 105 (ly:format |
106 "~a ~4f ~4f ~4f draw_ellipse" | 106 "~a ~4f ~4f ~4f draw_ellipse" |
107 (if fill | 107 (if fill |
108 "true" | 108 "true" |
109 "false") | 109 "false") |
110 x-radius y-radius thick)) | 110 x-radius y-radius thick)) |
111 | 111 |
112 (define (embedded-ps string) | 112 (define (embedded-ps string) |
113 string) | 113 string) |
114 | 114 |
115 (define (glyph-string postscript-font-name | 115 (define (glyph-string pango-font |
| 116 postscript-font-name |
116 size | 117 size |
117 cid? | 118 cid? |
118 w-x-y-named-glyphs) | 119 w-x-y-named-glyphs) |
119 | 120 |
120 (define (glyph-spec w x y g) | 121 (define (glyph-spec w h x y g) ; h not used |
121 (let ((prefix (if (string? g) "/" ""))) | 122 (let ((prefix (if (string? g) "/" ""))) |
122 (ly:format "~4f ~4f ~4f ~a~a" | 123 (ly:format "~4f ~4f ~4f ~a~a" |
123 w x y | 124 w x y |
124 prefix g))) | 125 prefix g))) |
125 | 126 |
126 (ly:format | 127 (ly:format |
127 (if cid? | 128 (if cid? |
128 "/~a /CIDFont findresource ~a output-scale div scalefont setfont | 129 "/~a /CIDFont findresource ~a output-scale div scalefont setfont |
129 ~a | 130 ~a |
130 ~a print_glyphs" | 131 ~a print_glyphs" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 thickness | 292 thickness |
292 (convert-path-exps exps) | 293 (convert-path-exps exps) |
293 (if fill? "fill" "")))) | 294 (if fill? "fill" "")))) |
294 | 295 |
295 (define (setscale x y) | 296 (define (setscale x y) |
296 (ly:format "gsave ~4l scale\n" | 297 (ly:format "gsave ~4l scale\n" |
297 (list x y))) | 298 (list x y))) |
298 | 299 |
299 (define (resetscale) | 300 (define (resetscale) |
300 "grestore\n") | 301 "grestore\n") |
LEFT | RIGHT |