This article is a mirror article of machine translation, please click here to jump to the original article.

View: 4385|Reply: 6

Font types TrueType and OpenType difference

[Copy link]
Posted on 2024-4-28 15:04:03 | | | |
OpenType and TrueType are both font file formats that are used to store and render text in digital devices. While both formats are widely used, they have some important differences in design and functionality.



TrueType is made up of Apple and Microsoft were introduced in the late 1980sA standard font format. Its key features include:

  • Quadratic Bézier Curves: TrueType fonts use quadratic Bézier curves to define the outline of a character, which scales well to different font sizes and resolutions.
  • Print Accuracy: When introduced, TrueType fonts contained a "font instruction set," a set of embedded font instructions that controlled the display and printing accuracy of fonts at different sizes and resolutions.
  • Single-file structure: TrueType fonts are typically stored in a single file (file extension .ttf).


OpenType is made up of A font format developed jointly by Microsoft and Adobe in the late 1990s, which combines the features of TrueType and PostScript (Type 1) formats and adds some new features. Key features of OpenType include:

  • Four-degree Bézier curves: OpenType fonts can use TrueType curves or PostScript's curves, which are based on four-degree Bézier curves. Files that support PostScript outlines in OpenType fonts often have a .otf extension.
  • Advanced Typography Capabilities: OpenType fonts support more complex typography features such as ligatures, alternate characters, superscripts, subscripts, and text variants. These features are useful for complex text layouts and multilingual support.
  • More Characters: OpenType fonts support up to 65,536 characters (extended Unicode range), allowing them to include a large number of glyphs like additional character sets, historical forms, and more.
  • Multi-Platform Compatibility: OpenType fonts are designed to maintain consistency across various platforms and applications, making them available on macOS, Windows, Linux, and more.


Overall,OpenType is a more modern and versatile font file format, which offers advanced typography options and better character support. However, TrueType fonts are still widely used in the field of electronic publishing and are supported by many systems and devices because of their simplicity and stability. The OpenType format was introduced to address the limitations of TrueType and Type 1 font formats, offering more powerful typography capabilities and extensive language support.

It's worth noting that although the .ttf file extension was originally used to identify TrueType Font, it can also be used in the OpenType font format. OpenType is a font format jointly developed by Microsoft and Adobe, which is based on TrueType font technology but adds support for PostScript font data and provides more advanced typography capabilities.

OpenType fonts can have two different file extensions:

  • .otf - This is the standard OpenType font file extension that typically contains fonts that use outlines in the form of PostScript. These are fonts known as OpenType PS or OpenType PostScript.
  • .ttf - This extension has historically been used to refer to TrueType fonts, but it is also used to refer to OpenType fonts that use TrueType formal outlines. These are fonts known as OpenType TT or OpenType TrueType.


So while a .ttf file typically represents a TrueType font, it can also be an OpenType font, depending on the data structure inside the font file. To determine whether a given .ttf file is a true TrueType font or an OpenType font, you may need to use a font viewer tool or specialized software to check its metadata or outline formatting. In most cases, it can be used in most modern operating systems and applications that support these formats, regardless of whether the font file is in TrueType or OpenType format.





Previous:Compile the NPM package into a browser-ready JavaScript script
Next:JS reverts the HTML entity encoding
 Landlord| Posted on 2024-4-28 15:19:49 |
Windows font: C:\Windows\Fonts
 Landlord| Posted on 2024-4-28 15:24:34 |
Fonts required for LaTeX Chinese typography:https://github.com/Haixing-Hu/latex-chinese-fonts
 Landlord| Posted on 2024-11-21 10:20:19 |
AFDKO tool to split ttc files into ttf files

Documentation:The hyperlink login is visible.
Source:The hyperlink login is visible.

The command is as follows:



  • SourceHanSansHCVF-ExtraLight.ttf: The "HC" here usually stands for "Hangul Chinese", meaning that the font is designed to support Hangul and Chinese, but this way of marking is uncommon and may be a specific version of the markup. However, according to common naming conventions, the "H" may refer to "Hong Kong", i.e., this font version is specifically for Chinese use in the Hong Kong region.
  • SourceHanSansKVF-ExtraLight.ttf: "K" stands for "Korean" (Korean), and this font file is specifically optimized for displaying Korean content.
  • SourceHanSansSCVF-ExtraLight.ttf: "SC" stands for "Simplified Chinese" (Chinese Simplified), and this font file is optimized for the Chinese Simplified Chinese mainland uses.
  • SourceHanSansTCVF-ExtraLight.ttf: "TC" stands for "Traditional Chinese" (Chinese Traditional), and this font file is optimized for Chinese Traditional used in regions such as Taiwan, Hong Kong, and others.
  • SourceHanSansVF-ExtraLight.ttf: There is no specific language region identity, which is usually a common version of the entire font family and can support multiple languages, including but not limited to Chinese Simplified, Chinese Traditional, Japanese, Korean, etc.


The "VF" in each file stands for "Variable Font," a modern font technology that allows fonts to change smoothly across attributes such as different weights, widths, and more, providing more typography flexibility. "ExtraLight" specifies the specific style of the font, which is the "Extra-Fine" style.
In summary, the main differences between these font files are the languages and regions they target, as well as whether they include region-specific character sets and typography optimizations. Choosing the right font file can improve the display quality and reading experience of your text according to your specific needs.

 Landlord| Posted on 2024-11-21 11:25:46 |
otf2ttf converts .otf files to .ttf format
 Landlord| Posted on 2024-11-21 13:42:49 |
360 Font Check - Check Copyright, Dispute-Free:https://fonts.safe.360.cn/
 Landlord| Posted on 2025-1-6 17:34:21 |
Windows looks at the font's character set total number of characters
https://www.itsvse.com/thread-10916-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com