summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
532c6ba)
This commit fixes the conflict of `-dgs-load-fonts` option
and `-dfont-export-dir=[dir]`.
(define (ps-load-file file-name)
(if (string? file-name)
(define (ps-load-file file-name)
(if (string? file-name)
- (if (string-contains file-name (ly:get-option 'datadir))
+ (if (and (not (ly:get-option 'font-export-dir))
+ (string-contains file-name (ly:get-option 'datadir)))
(begin
(set! file-name (ly:string-substitute (ly:get-option 'datadir)
"" file-name))
(begin
(set! file-name (ly:string-substitute (ly:get-option 'datadir)
"" file-name))