]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4880: Add ly:get-font-format to get the font format
authorMasamichi Hosoda <trueroad@trueroad.jp>
Fri, 3 Jun 2016 15:49:15 +0000 (00:49 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Thu, 9 Jun 2016 14:53:31 +0000 (23:53 +0900)
commit887eee27389862497fd4754f24348c1d77c91999
treec46d0910cc0d980a1b23446626670057230dc54c
parent339ead1a074ea4504ecc5d6d4f2d5561e2a0a567
Issue 4880: Add ly:get-font-format to get the font format

Most of the OpenType/CFF Collection (OTC) fonts
have the extension `*.ttc'.
TrueType Collection (TTC) fonts
also have the same extension `*.ttc'.

However, it is necessary that different embed method,
between OTC and TTC.
So we need to distinguish them.

This commit adds ly:get-font-format
that can get font format for distinguishing them.
lily/open-type-font-scheme.cc