[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong letter in title
From: |
David Kastrup |
Subject: |
Re: Wrong letter in title |
Date: |
Sun, 20 May 2018 20:52:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Davide Liessi <address@hidden> 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