]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4989/2: Fix Type 1 (PFB) font embedding
authorMasamichi Hosoda <trueroad@trueroad.jp>
Thu, 27 Oct 2016 14:56:42 +0000 (23:56 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Thu, 3 Nov 2016 21:52:50 +0000 (06:52 +0900)
commit65a0059b69385985896a24f407b3a791d33aef0f
tree0a8b0f504d107992c54bcad92a9bf2104a8b53ac
parent1e0bc03d9e50ea4d69e08fdbb0a85e56203299f2
Issue 4989/2: Fix Type 1 (PFB) font embedding

Type 1 PFA data which is converted from PFB files can contain '\0'.

In order to avoid problems with '\0',
this commit makes to use the file length
instead of zero-terminated string.
lily/include/font-metric.hh
lily/pfb-scheme.cc
lily/pfb.cc