Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
TrueType
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== File formats == === Basic === A basic font is composed of multiple tables specified in its header. A table name can have up to 4 letters. A <code>.ttf</code> extension indicates a regular TrueType font or an OpenType font with TrueType outlines. Windows end user defined character editor (EUDCEDIT.EXE) creates TrueType font with name EUDC.TTE.<ref>{{cite web|author=<!--Not stated Apitron LTD -->|title=How to create and use custom fonts for PDF generation|url=https://apitron.com/docs/articles/How_to_create_and_use_custom_fonts_for_PDF_generation.pdf|publisher=apitron.com|date=6 March 2015|access-date=25 June 2017}}</ref> An OpenType font with PostScript outlines must have an .otf extension. In principle, an OpenType font with TrueType outlines may have an .otf extension, but this has rarely been done in practice. In classic Mac OS and macOS, OpenType is one of several formats referred to as data-fork fonts, as they lack the classic Mac resource fork. === Collection === TrueType Collection (TTC) is an extension of TrueType format that allows combining multiple fonts into a single file, creating substantial space savings for a collection of fonts with many glyphs in common. They were first available in Chinese, Japanese, and Korean versions of Windows, and supported for all regions in Windows 2000 and later. Classic Mac OS included support of TTC starting with [[Mac OS 8]].5. A TrueType Collection file begins with a <code>ttcf</code> table that allows access to the fonts within the collection by pointing to individual headers for each included font. The fonts within a collection share the same glyph-outline table, though each font can refer to subsets within those outlines in its own manner, through its <code>cmap</code>, <code>name</code> and <code>loca</code> tables. Collection files bear a <code>.ttc</code> filename extension. In classic Mac OS and macOS, TTC has file type <code>ttcf</code>. === Suitcase === The suitcase format for TrueType is used on classic Mac OS and macOS. It adds additional Apple-specific information. Like TTC, it can handle multiple fonts within a single file. But unlike TTC, those fonts need not be within the same family. Suitcases come in [[Resource fork|resource-fork and data-fork]] formats. The resource-fork version was the original suitcase format. Data-fork-only suitcases, which place the resource fork contents into the data fork, were first supported in macOS. A suitcase packed into the data-fork-only format has the extension ''[[dfont]]''. === PostScript === In the [[PostScript]] language, TrueType outlines are handled with a PostScript wrapper as Type 42 for name-keyed or Type 11 for [[CID fonts|CID-keyed]] fonts.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)