You need dfontsplitter.
I've never heard of the TTC format before, but a quick Google reveals that it's somewhat Microsoft-specific. I was able to locate a Windows tool, here, for putting TTF fonts into a TTC - though I wasn't able to find any Mac OS X tools for this purpose.Thank you for helping.
What about ttf to ttc? I used Transtype to decode my .dfont into two .ttf files, now I want to create one .ttc file, is there a way to do it?
I've never heard of the TTC format before, but a quick Google reveals that it's somewhat Microsoft-specific. I was able to locate a Windows tool, here, for putting TTF fonts into a TTC - though I wasn't able to find any Mac OS X tools for this purpose.
Hey, it just so happens that I have access to Windows XP (in a virtual machine). If it can run that tool... I'll be able to convert the fonts for you. Check my profile for contact info, or send me a private message. Always glad to help.
perl ttf2ttc.pl font1.ttf font2.ttf font3.ttf ...
Grr, that program did not want to run. It came with source code, but the source code does NOT compile on my Mac... oh well.
However, I did manage to find a Mac tool... it's written in Perl. The way you use it is like this (from the Terminal):
Code:perl ttf2ttc.pl font1.ttf font2.ttf font3.ttf ...
Here's the link: http://www.worldwizard.net/font-tool/ttf2ttc.zip
EDIT: Here's where I found the tool originally: http://www.nabble.com/Feature-request:-tool-to-create-TTC-td10756665.html
Number found where operator expected at ttf2ttc.pl line 70, near "pl"
Number found where operator expected at ttf2ttc.pl line 70, near ""
(Missing operator before ?)
Number found where operator expected at ttf2ttc.pl line 70, near ""
(Missing operator before ?)
Number found where operator expected at ttf2ttc.pl line 70, near ""
(Missing operator before ?)
Number found where operator expected at ttf2ttc.pl line 70, near ""
(Missing operator before ?)
Number found where operator expected at ttf2ttc.pl line 70, near ""
(Missing operator before ?)
Number found where operator expected at ttf2ttc.pl line 70, near ""
(Missing operator before ?)
Bareword found where operator expected at ttf2ttc.pl line 70, near ""
(Missing operator before ustar?)
Bareword found where operator expected at ttf2ttc.pl line 70, near ""
(Missing operator before sssa?)
Bareword found where operator expected at ttf2ttc.pl line 70, near ""
(Missing operator before sssa?)
syntax error at ttf2ttc.pl line 70, near "pl"
syntax error at ttf2ttc.pl line 78, near "}"
Execution of ttf2ttc.pl aborted due to compilation errors.
ttf2ttc-20070525/merge2ttc.pl0000744000076500007650000001061310625500374014325 0ustar sssasssa#!/usr/bin/env perl
Found the cause of the problem. Apparently, I failed to notice that two Perl scripts were concatenated together into one file.
Uploaded the fixed version at the same web address as before. It now contains 2 scripts: ttf2ttc.pl (which is now only 68 lines, so it doesn't have the compilation error), and merge2ttc.pl (the other script, which was in the same file).
Matheus-Bossles-MacBook:~ Matheus$ cd Downloads/Fonts
Matheus-Bossles-MacBook:Fonts Matheus$ perl ttf2ttc.pl LucidaGrande.TTF LucidaGrandeBold.TTF
Require prefix to write TTF tables
Matheus-Bossles-MacBook:Fonts Matheus$ perl merge2ttc.pl LucidaGrande.TTF LucidaGrandeBold.TTF
Require TTC output pathname at merge2ttc.pl line 14.
eric-ahnells-imac:TTF2TTC wrldwzrd89$ perl ttf2ttc.pl --output-prefix=Lucida --input-ttf=LucidaGrande.ttf --input-ttf=LucidaGrandeBold.ttf
*** this font file include 18 tables
*** table GDEF @ 0x0010cfc4
*** table LTSH @ 0x00003fb4
*** table OS/2 @ 0x000001a8
*** table VDMX @ 0x00004f24
*** table cmap @ 0x0001c78c
*** table cvt @ 0x0001fd44
*** table fpgm @ 0x0001e5c0
*** table glyf @ 0x00020280
*** table hdmx @ 0x00005504
*** table head @ 0x0000012c
*** table hhea @ 0x00000164
*** table hmtx @ 0x00000208
*** table kern @ 0x000cc6e8
*** table loca @ 0x000c8938
*** table maxp @ 0x00000188
*** table name @ 0x000fe7cc
*** table post @ 0x00100478
*** table prep @ 0x0001f468
*** seeking table GDEF @ 0x0010cfc4
dump sfnt table "GDEF" to file "Lucida.GDEF.sdat"
*** seeking table LTSH @ 0x00003fb4
dump sfnt table "LTSH" to file "Lucida.LTSH.sdat"
*** seeking table OS/2 @ 0x000001a8
dump sfnt table "OS/2" to file "Lucida.OS_2.sdat"
*** seeking table VDMX @ 0x00004f24
dump sfnt table "VDMX" to file "Lucida.VDMX.sdat"
*** seeking table cmap @ 0x0001c78c
dump sfnt table "cmap" to file "Lucida.cmap.sdat"
*** seeking table cvt @ 0x0001fd44
dump sfnt table "cvt " to file "Lucida.cvt .sdat"
*** seeking table fpgm @ 0x0001e5c0
dump sfnt table "fpgm" to file "Lucida.fpgm.sdat"
*** seeking table glyf @ 0x00020280
dump sfnt table "glyf" to file "Lucida.glyf.sdat"
*** seeking table hdmx @ 0x00005504
dump sfnt table "hdmx" to file "Lucida.hdmx.sdat"
*** seeking table head @ 0x0000012c
dump sfnt table "head" to file "Lucida.head.sdat"
*** seeking table hhea @ 0x00000164
dump sfnt table "hhea" to file "Lucida.hhea.sdat"
*** seeking table hmtx @ 0x00000208
dump sfnt table "hmtx" to file "Lucida.hmtx.sdat"
*** seeking table kern @ 0x000cc6e8
dump sfnt table "kern" to file "Lucida.kern.sdat"
*** seeking table loca @ 0x000c8938
dump sfnt table "loca" to file "Lucida.loca.sdat"
*** seeking table maxp @ 0x00000188
dump sfnt table "maxp" to file "Lucida.maxp.sdat"
*** seeking table name @ 0x000fe7cc
dump sfnt table "name" to file "Lucida.name.sdat"
*** seeking table post @ 0x00100478
dump sfnt table "post" to file "Lucida.post.sdat"
*** seeking table prep @ 0x0001f468
dump sfnt table "prep" to file "Lucida.prep.sdat"
eric-ahnells-imac:TTF2TTC wrldwzrd89$ perl merge2ttc.pl --output-ttc=LucidaGrande.ttc
eric-ahnells-imac:TTF2TTC wrldwzrd89$