TrueType

TrueType(トゥルータイプ)はデジタルフォントの規格である。Windows や macOS、Linux で標準的に利用されている。

TrueType
TrueType
拡張子 .ttf, .ttc, .dfont[注 1]
MIMEタイプ font/ttf, font/collectionTemplate:Efm2, application/font-sfnt [1]
タイプコード tfil
UTI public.truetype-ttf-font
開発者 Apple Computer
初版 1990年 (1990)
種別 アウトラインフォント
テンプレートを表示

TrueType(トゥルータイプ)はデジタルフォントの規格である。WindowsmacOSLinux で標準的に利用されている。

規格

TrueType は、Apple Computerが開発し、1990年に発表したスケーラブルフォントの規格で、補助目的のビットマップフォントを埋め込むこともできる。3次ベジェ曲線で曲線を表現する PostScriptフォントとは異なり、2次ベジェ曲線を接続したもので曲線を表現する[注 2]

高度なヒンティング言語を実装したのも特徴で、さまざまなフォントサイズにおいてピクセル単位で表示を制御することができる。これにより、低解像度なディスプレイなどで不適切な表示が発生するのを避けることができる。

拡張子は「.TTF」と「.TTC」の2種類である。前者は単体のフォントファイルであり、後者は1つのファイルに、プロポーショナルフォントや等幅フォントなどの類似する複数のフォントファイルを収納したものである。

後継規格となる OpenType では PostScript (CFF) ベースと TrueType ベースでアウトラインの記述方式を選ぶことが可能だが、TrueType をベースとした場合、拡張子は「.TTF」もしくは「.TTC」と変わらない。

macOS では、拡張子「.DFONT」も使用されている。これは、Mac OS 9 までの TrueType におけるデータの扱い方を変えたものであり、それまでリソースフォークにフォントデータを格納して「フォントスーツケース」という形で取り扱っていた(TrueType 以外の型式も同様であった)ものを、データフォーク側にフォントデータを移し変えたものである。また、フォントスーツケースで取り扱う TrueType は、macOS では FFIL 形式となる。いずれも1つのファイル(もしくはスーツケース)に複数のフォントの収録が可能だが、これらの型式は他の OS では対応していない。

経緯

もともと TrueType は、アップルがアドビPostScriptフォントに対抗するために開発したものであった。その後、アップルはマイクロソフトに無償で技術供与をし、マイクロソフトは Windows 3.1 で TrueType のラスタライズエンジンを実装した[3]。その後、 Windows では TrueType は標準的なフォント形式となったが、アップルは PostScript と TrueType が両立するという形となった。

1995年には、OpenType の前身となる TrueType Open がマイクロソフトによって発表され、その後1996年には TrueType に加え PostScript フォントのアウトライン形式もサポートした OpenType が発表された。現在では Windows にバンドルされているフォントの多くが、TrueType アウトラインの OpenType フォントとなっている。

現在では Linux でも利用されるようになり、数多くのLinuxディストリビューションにおいても標準的に利用されている。

脚注

注釈

  1. ^ .dfontはmacOS固有の拡張子。
  2. ^ PostScript フォントでは PostScript の curveto オペレータにより3次ベジェ曲線を使用できる。TrueType は「2次B-スプライン曲線を使用している」との説明がインターネット上に多数見られるが、規格書には「2次B-スプライン曲線」とは書かれていない[2]。(ただし、仕様中で説明されているベジェ曲線の接続方法により作られる曲線は2次B-スプライン曲線と一致する)

出典

関連項目

外部リンク

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.