[go: up one dir, main page]

Jump to content

Unified Font Object

From Wikipedia, the free encyclopedia
Unified Font Object (UFO)
Filename extension
.ufo, .ufoz
Developed byTal Leming, Just van Rossum, Erik van Blokland, Ben Kiel, Frederik Berlaen
Initial releaseUFO 1
Latest release
UFO 3
Type of format macOS Package, XML, Property List
Free format?Yes
Websitehttp://unifiedfontobject.org

The Unified Font Object (UFO) is an XML-based source file format for digital fonts. It was created by Tal Leming, Just van Rossum and Erik van Blokland.[1] Contributors to the format also include Ben Kiel and Frederik Berlaen.[1] According to its creators, the UFO is a "future proof" open format that is designed to be "application independent", "human readable and human editable".[2]

History

[edit]

The first version of the UFO format was created in 2003.[3] The most recent version, UFO 3, was released in 2012.[2]

RoboFog (1996–2003)

[edit]

The idea for the Unified Font Object originated with a customized version of the font editor Fontographer 3.5.[4] Petr van Blokland, together with Just van Rossum and Erik van Blokland, and with assistance from David Berlow and Steven Paul of the Font Bureau, created and distributed on a subscription basis a customized version of Fontographer called RoboFog in 1996.[4][5] RoboFog allowed users to script in Python, a language Just's brother Guido van Rossum invented two years prior in 1994.[4][5][6] The tool became very popular among type designers because of the ability to automate tasks.[5]

In 1998, FontLab, rival font editor developer to Fontographer (then owned by Macromedia) added Python to version 2.0 of their application, partially due to the popularity of RoboFog.[4] On March 24, 2001, Apple released Mac OS X 10.0, a major rewrite of the Mac operating system.[7] Fontographer was by then too old to be ported to Mac OS X, so the RoboFog developers turned their attention to FontLab.[5]

RoboFab and the creation of UFO (2003–2009)

[edit]

In February, 2003, at the TypoTechnica conference in Heidelberg, van Rossum, van Blokland and Baltimore-based type designer Tal Leming combined their existing FontLab API scripts into a Python module called RoboFab.[6][3] The group started going by the name "The RoboFab Consortium".[6] With RoboFab came a need for an interchange file format for transferring font data between RoboFog and FontLab.[4] In April, 2003, van Rossum started work on an XML-based file format for glyph data called the Glyph Interchange Format (GLIF).[3] In July, 2003, the group started work on the first UFO file format (later known as "UFO 1"), which used "GLIF for glyph information and Apple's .plist (also XML based and entirely cross platform) for any other data as listings, indices, etc."[3] The group intended to present it at the 2003 RoboThon conference, but its launch was delayed until March 14, 2004.[6][3]

The group introduced the UFO with the following manifesto:[4]

  1. The data must be human readable and human editable.
  2. The data should be application independent.
  3. Data duplication should be avoided unless absolutely necessary.

In the consortium's view, font data should be independent of font editors to avoid issues like Software rot, which the field of type design is particularly prone to, due to the long period of time that fonts take to develop and the relative lack of variety in font editing applications.[6]

Decentralization (2009–Present)

[edit]

In 2009, UFO version 2 was announced at RoboThon 2009, bringing minor changes to the format.[8] A variety of applications outside of FontLab using the UFO format started to be written at around this time, such as Leming's kerning application MetricsMachine, van Blokland's interpolation application, Superpolator, and Frederik Berlaen's parametric design application, KalliCulator.[4][9]

At the request of David Berlow and Petr van Blokland, Frederik Berlaen started work in 2009 on a font editor that used the UFO as a native format.[4] Because of the network of apps now being used in the "UFO workflow", "the dependency of FontLab as a central drawing environment had created a bottleneck", in their view.[10] Berlaen presented his font editor RoboFont at ATypI 2011 in Reykjavík,[10] and gave it the tagline, "The missing UFO font editor".[11]

At RoboThon 2012, UFO 3 was announced, and Tal Leming was named “Benevolent Dictator for life” of the UFO format.[11] Major changes to the UFO include a reworking of how the format organizes design layers, and an introduction of a ZIP-compressed "UFOZ" format.[12]

Shortly thereafter, other font editing programs, such as Glyphs,[11][13] FontLab[14] and FontForge[15] started supporting the UFO as an interchange format.

The fourth version of the format, "UFO 4", is currently in the concept phase.[16]

Technical format

[edit]

The UFO is a package; a file system directory that presents as a single file on MacOS. On Windows and other operating systems without support for packages, it appears as a normal file system directory with the extension ".ufo".[17]

UFOs are organized with XML-based Property List files in the main UFO file system directory, describing font-wide metadata, like font name and weight, as well as interactions between glyphs, like glyph groups and kerning.[17]

Files containing glyph outline data are contained in a directory one level down, one file per glyph.[17] These files end in ".glif", and are in an XML-based format called "Glyph Interchange Format (GLIF)".[18] GLIF files can describe glyph Bézier curves in cubic or quadratic formats.[19]

OpenType features in AFDKO feature syntax are stored in a plain text file in the main UFO file system directory, with the filename extension ".fea".[20]

Criticism

[edit]

A common criticism of the format is that its structure (of sometimes hundreds of GLIF files) does not work well with online file hosting services like Dropbox.[21] This criticism led to the proposal and adoption of the "UFOZ" format, which is a UFO (version 3 and up) compressed into a ZIP archive.[12]

Another criticism of the UFO is that there is no normalized form, as the order of elements in its files and indent standards are left up to the editor.[17] This led to the creation of a few "UFO Normalizers", like the "psfnormalize" command in SIL International's "pysilfont" project,[17] and the "ufonormalizer" project by Tal Leming.[22]

Use in applications

[edit]

The following are some applications that support the UFO format either natively or as an officially-supported interchange format.

Application Name Kind of Application Platform License
Area51 UFO Viewer, feature editor macOS Proprietary [4][11]
FontCreator Multipurpose font editor Windows Proprietary [23]
FontForge Multipurpose font editor Linux, Windows, macOS (through X11) Mix of GNU General Public License v3 and BSD license [15][24][25]
FontLab Multipurpose font editor Windows, macOS Proprietary [17][14]
Glyphs Multipurpose font editor macOS Proprietary [13][17]
KalliCulator Parametric font editor macOS Proprietary [9]
Metapolator Parametric font editor Online GNU General Public License [26]
MetricsMachine Kerning editor macOS Proprietary [4][11]
Prepolator Interpolation compatibility manager macOS Proprietary [4]
RoboFont Multipurpose font editor macOS Proprietary [17][27]
RoundingUFO Font outline rounding and inktrap tool macOS Proprietary [11]
Superpolator Multidimensional interpolation manager macOS Proprietary [4][11]
TruFont Multipurpose font editor macOS GNU General Public License [17][28]
UFOStretch Linear Interpolation App macOS Proprietary [4]

Use in open source font projects

[edit]

The UFO format is a popular choice among open source font projects because the XML-based, multiple file format is compatible with collaborative version control systems like Git.[29] SIL International recommends UFO as the format for new font projects.[17]

Use in programming

[edit]

The UFO file format translates easily to object-based representation[33] in code. In addition to RoboFab, the project that originated the UFO format, many closed and open source projects read and write UFOs, for instance the Adobe Font Development Kit for OpenType.[17]

See also

[edit]

References

[edit]
  1. ^ a b "Contributors". unifiedfontobject.org. Archived from the original on 2021-11-05. Retrieved 2021-11-05.
  2. ^ a b "Overview". unifiedfontobject.org. Archived from the original on 2021-11-05. Retrieved 2021-11-05.
  3. ^ a b c d e "RoboFab Release History". 2008-10-04. Archived from the original on 2008-10-04. Retrieved 2022-02-21.
  4. ^ a b c d e f g h i j k l m Arista, Roberto (Autumn 2016). "RoboTools: L'influenza dell'open source sugli strumenti di produzione del carattere tipografico" [RoboTools: The influence of open source on typeface production tools]. Progetto Grafico 30 (in Italian and English). AIAP Edizioni: 33–39.
  5. ^ a b c d Middendorp, Jan (2004). Dutch type. Rotterdam: 010 Publishers. p. 187. ISBN 90-6450-460-1. OCLC 54880333.
  6. ^ a b c d e Kiel, Ben (May 4, 2005). "An Introduction to RoboFab". Typographica. Archived from the original on 2022-02-15. Retrieved 2022-02-21.
  7. ^ Siracusa, John (2001-04-02). "Mac OS X 10.0". Ars Technica. Archived from the original on 2022-02-21. Retrieved 2022-02-21.
  8. ^ "UFO 2". unifiedfontobject.org. Archived from the original on 2020-10-19. Retrieved 2022-02-21.
  9. ^ a b Peter Bilak; François Rappo; Pierre Keller (2010). Typeface as program : applied research and development in typography = Le caractère typographique comme programme : recherche appliquée et développement en typographie. Lausanne, Switzerland: École cantonale d'art de Lausanne. ISBN 978-3-03764-072-2. OCLC 630189661.
  10. ^ a b RoboFont. "The history of RoboFont". robofont.com. Archived from the original on 2022-01-26. Retrieved 2022-02-21.
  11. ^ a b c d e f g "Robothon 2012, RoboHint, and the Gerrit Noordzij Prize". Typographica. Retrieved 2022-02-14.
  12. ^ a b "UFO 3". unifiedfontobject.org. Archived from the original on 2022-01-20. Retrieved 2022-02-21.
  13. ^ a b "Working with UFO | Glyphs". glyphsapp.com. Archived from the original on 2021-11-05. Retrieved 2021-11-05.
  14. ^ a b "Font Formats". help.fontlab.com. Archived from the original on 2021-11-05. Retrieved 2021-11-05.
  15. ^ a b "Technical Bulletin: UFO 3 Export". fontforge.org. Archived from the original on 2021-11-05. Retrieved 2021-11-05.
  16. ^ "UFO 4". unifiedfontobject.org. Archived from the original on 2022-02-21. Retrieved 2022-02-21.
  17. ^ a b c d e f g h i j k l m "Font Development Best Practices: UFO". silnrsi.github.io. Archived from the original on 2022-02-22. Retrieved 2022-02-22.
  18. ^ "Glyph Interchange Format". unifiedfontobject.org. Retrieved 2022-02-14.
  19. ^ "UFO: Unified Font Object". luc.devroye.org. Retrieved 2022-02-14.
  20. ^ "features.fea". unifiedfontobject.org. Archived from the original on 2020-10-18. Retrieved 2022-02-21.
  21. ^ Simonson, Mark (2014-06-12). "I didn't quite realize until recently: .ufo + Dropbox kind of sucks". @marksimonson. Retrieved 2020-05-28.
  22. ^ Leming, Tal, ufonormalizer: Script to normalize the XML and other data inside of a UFO., retrieved 2022-02-22
  23. ^ "FontCreator features and benefits". www.high-logic.com. Retrieved 2022-09-23.
  24. ^ Willis, Nathan (2014-12-08). "A quick look at the new FontForge release [LWN.net]". lwn.net. Archived from the original on 2022-02-21. Retrieved 2022-02-21.
  25. ^ Willis, Nathan. "Font and type development at LGM 2014". lwn.net. Archived from the original on 2022-02-21. Retrieved 2022-02-21.
  26. ^ "Metapolator – Free Font Editor for Designing Typeface Families". metapolator.com. Retrieved 2022-02-21.
  27. ^ RoboFont. "Welcome to RoboFont!". robofont.com. Archived from the original on 2021-11-05. Retrieved 2022-02-21.
  28. ^ Willis, Nathan (April 27, 2016). "Introducing TruFont [LWN.net]". LWN.net. Archived from the original on 2018-11-23. Retrieved 2022-02-21.
  29. ^ a b "LWN.net Weekly Edition for August 29, 2013 [LWN.net]". lwn.net. Archived from the original on 2021-11-05. Retrieved 2021-11-05.
  30. ^ "Cooper Hewitt: the typeface by Chester Jenkins | Cooper Hewitt, Smithsonian Design Museum". www.cooperhewitt.org. 2014-06-13. Retrieved 2022-02-21.
  31. ^ "Inisiatif Google Melestarikan Bahasa Terancam Punah Lewat Noto Font". liputan6.com (in Indonesian). 2020-11-25. Retrieved 2021-11-05.
  32. ^ "Open Baskerville". klepas.org. Archived from the original on 2022-01-02. Retrieved 2022-02-22.
  33. ^ Beckmann, Tom; Justus Hildebrand; Corinna Jaschek; Eva Krebs; Alexander Löser; Marcel Taeumel; Tobias Pape; Lasse Fister; Robert Hirschfeld (2019). The font engineering platform collaborative font creation in a self-supporting programming environment. Potsdam: Universitätsverlag Potsdam. p. 72. ISBN 978-3-86956-464-7. OCLC 1169672607.
[edit]