Hi Valentin,
thank you for the reply!
Yes, I found the solution of exporting into svg. The eps format, for me,
would have been more preferable in those situations where I have to import
the graphics into some other software that doesn't accept svg, only eps. So
I'll have to make a second convertion step, no problem.
About the Lilypond-generated eps, I noticed that, if I open it with
notepad, it reveals some encryption-like glyphs which make it impossible to
decrypt the content. I'm curious, also in that, to understand the reason.
Thank you again for your help!

rip

Il mar 8 nov 2022, 13:36 Valentin Petzel <valen...@petzel.at> ha scritto:

> Hi Rip,
>
> the problem is that while Lilypond will embed the glyphs into the eps it
> will
> reference them with a simple sequence. This cannot really be interpreted
> as
> text (the first glyph will be referenced as "1", which is the "Start of
> Heading" character). So either this will in fact fail to extract this
> glyph at
> all, or it will turn it into a string containing a simple CC, which is
> then of
> course not displayed.
>
> If you include enough glyphs you will get normal chars (try for example
> this
>
> #(define glyph-list
>     (lset-difference
>      equal?
>      (ly:otf-glyph-list (ly:system-font-load "emmentaler-20"))
>      '(".notdef" "backslash")))
>
> \markuplist #(map (lambda (x) (markup #:musicglyph x))
>                   glyph-list)
>
> ), but these will probably simply be rendered with any font available on
> the
> system instead of the actual glyphs (unless AI does a thing where it tries
> to
> reconstruct the font from the embedded glyphs, which would defintely
> require
> more effort than simply importing the glyphs and replacing the font
> references
> with references to these glyphs, which AI does not appear to be doing in
> this
> case.
>
> But then this is not really an issue of Lilypond but of how AI imports
> file
> with such glyphsets. Also going into AI via eps seems a bit
> counterintuitive
> for me. After all PS is not particularly good at storing data in a machine
> readable way, so AI will have to try to interpret what it sees. Instead,
> why
> not go for SVG-Output, which is a format that is intended to store data in
> a
> machine readable way and simply has to be parsed by AI? In fact the SVG
> output
> will not store these glyphs as font references, but will insert paths,
> getting
> rid of all dependencies to specfic font files (although I remember that
> with
> much earlier versions like I think 2.18 this was not the case).
>
> Cheers,
> Valentin
>
> Am Dienstag, 8. November 2022, 10:39:54 CET schrieb Rip _Mus:
> > Good morning,
> > I noticed that if a score is exported in eps format, I'm not able to open
> > the eps correctly in Illustrator. It renders the staff line, but not the
> > other symbols included in the encapsulated font (Emmentaler, the default
> > one).
> > I'm running Lilypond 2.22.1 on Windows 10.
> > Is it a known issue or am I doing something wrong?
> >
> > Thank you
> >
> > rip_mus
>
>

Reply via email to