Davide Liessi <davide.lie...@gmail.com> writes:

> The file
>
> \version "2.19.81"
> \header { title = "č" }
> { b1 }
>
> results in a PDF with correct printed title (lowercase c with caron)
> but wrong title field in metadata (Ċ, i.e. uppercase c with dot
> above).
> I tried with other letters with caron but apparently only the
> lowercase c has this problem.
> I tested this on Mac (OS X 10.11.6) and checked the metadata with
> several programs (Adobe Acrobat Reader, Apple Preview, pdftk).

Ghostscript bug when converting PostScript output to PDF.  The
PostScript reads (pasted from less' display)

mark /Creator (LilyPond 2.21.0)
/Title (<FE><FF>^A^M)
/DOCINFO pdfmark

which is the correct UTF16-LE string with BOM.  GhostScript however
converts the ^M (0x0d) into ^J (0x0a), basically converting an ASCII CR
to an ASCII LF.  Unfortunately, we are not in the middle of ASCII here.

-- 
David Kastrup

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to