Unified Font Object Explained

Unified Font Object (UFO)
Extension:.ufo, .ufoz
Developer:Tal Leming, Just van Rossum, Erik van Blokland, Ben Kiel, Frederik Berlaen
Type:macOS Package, XML, Property List
Released:UFO 1
Latest Release Version:UFO 3
Free:Yes
Url:http://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. 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

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

RoboFog (1996–2003)

The idea for the Unified Font Object originated with a customized version of the font editor Fontographer 3.5.[3] 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] RoboFog allowed users to script in Python, a language Just's brother Guido van Rossum invented two years prior in 1994.[5] The tool became very popular among type designers because of the ability to automate tasks.

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. On March 24, 2001, Apple released Mac OS X 10.0, a major rewrite of the Mac operating system.[6] Fontographer was by then too old to be ported to Mac OS X, so the RoboFog developers turned their attention to FontLab.

RoboFab and the creation of UFO (2003–2009)

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.[7] The group started going by the name "The RoboFab Consortium". With RoboFab came a need for an interchange file format for transferring font data between RoboFog and FontLab. In April, 2003, van Rossum started work on an XML-based file format for glyph data called the Glyph Interchange Format (GLIF). 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." The group intended to present it at the 2003 RoboThon conference, but its launch was delayed until March 14, 2004.

The group introduced the UFO with the following manifesto:

  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.

Decentralization (2009–Present)

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.[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. 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, and gave it the tagline, "The missing UFO font editor".

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,[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

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".

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.

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

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".[19]

Criticism

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.[20] 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.

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. This led to the creation of a few "UFO Normalizers", like the "psfnormalize" command in SIL International's "pysilfont" project, and the "ufonormalizer" project by Tal Leming.

Use in applications

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!
Area51UFO Viewer, feature editormacOSRetail
FontCreatorMultipurpose font editorWindowsRetail[21]
FontForgeMultipurpose font editorLinux, Windows, macOS (through X11)Mix of GNU General Public License v3 and BSD license[22] [23]
FontLabMultipurpose font editorWindows, macOSRetail
GlyphsMultipurpose font editormacOSRetail
KalliCulatorParametric font editormacOSRetail
MetapolatorParametric font editorOnlineGNU General Public License[24]
MetricsMachineKerning editormacOSRetail
PrepolatorInterpolation compatibility managermacOSRetail
RoboFontMultipurpose font editormacOSRetail[25]
RoundingUFOFont outline rounding and inktrap toolmacOSRetail
SuperpolatorMultidimensional interpolation managermacOSRetail
TruFontMultipurpose font editormacOSGNU General Public License[26]
UFOStretchLinear Interpolation AppmacOSRetail

Use in open source font projects

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.[27] SIL International recommends UFO as the format for new font projects.[28]

Use in programming

The UFO file format translates easily to object-based representation[32] 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.

See also

External links

Notes and References

  1. Web site: Contributors. live. https://web.archive.org/web/20211105175840/https://unifiedfontobject.org/contributing/. 2021-11-05. 2021-11-05. unifiedfontobject.org.
  2. Web site: Overview. live. https://web.archive.org/web/20211105175836/https://unifiedfontobject.org/. 2021-11-05. 2021-11-05. unifiedfontobject.org.
  3. 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. it, en. AIAP Edizioni. 33–39.
  4. Book: Middendorp, Jan. Dutch type. 2004. 010 Publishers. 90-6450-460-1. Rotterdam. 187. 54880333.
  5. Web site: Kiel. Ben. May 4, 2005. An Introduction to RoboFab. https://web.archive.org/web/20220215000339/https://typographica.org/on-typography/an-introduction-to-robofab/. 2022-02-15. 2022-02-21. Typographica.
  6. Web site: Siracusa. John. 2001-04-02. Mac OS X 10.0. https://web.archive.org/web/20220221200435/https://arstechnica.com/gadgets/2001/04/macos-x/. 2022-02-21. 2022-02-21. Ars Technica.
  7. Web site: 2008-10-04. RoboFab Release History. 2022-02-21. https://web.archive.org/web/20081004212117/http://www.robofab.org/history.html. 2008-10-04.
  8. Web site: UFO 2. https://web.archive.org/web/20201019185141/https://unifiedfontobject.org/versions/ufo2/index.html. 2020-10-19. 2022-02-21. unifiedfontobject.org.
  9. Book: Typeface as program : applied research and development in typography = Le caractère typographique comme programme : recherche appliquée et développement en typographie . 2010 . . Peter Bilak . François Rappo . Pierre Keller . 978-3-03764-072-2 . Lausanne, Switzerland . 630189661.
  10. Web site: RoboFont. The history of RoboFont. https://web.archive.org/web/20220126205618/https://robofont.com/documentation/topics/robofont-history/. 2022-01-26. 2022-02-21. robofont.com.
  11. Web site: Robothon 2012, RoboHint, and the Gerrit Noordzij Prize. 2022-02-14. Typographica. en-US.
  12. Web site: UFO 3. https://web.archive.org/web/20220120213047/https://unifiedfontobject.org/versions/ufo3/index.html. 2022-01-20. 2022-02-21. unifiedfontobject.org.
  13. Web site: Working with UFO Glyphs. live. https://web.archive.org/web/20211105175858/https://glyphsapp.com/learn/working-with-ufo. 2021-11-05. 2021-11-05. glyphsapp.com.
  14. Web site: Font Formats. live. https://web.archive.org/web/20211105193951/https://help.fontlab.com/fontlab/7/manual/Font-Formats/. 2021-11-05. 2021-11-05. help.fontlab.com.
  15. Web site: Technical Bulletin: UFO 3 Export. live. https://web.archive.org/web/20211105175904/https://fontforge.org/en-US/bulletins/ufo3_2018_1/. 2021-11-05. 2021-11-05. fontforge.org.
  16. Web site: UFO 4. https://web.archive.org/web/20220221214950/https://unifiedfontobject.org/versions/ufo4/. 2022-02-21. 2022-02-21. unifiedfontobject.org.
  17. Web site: Glyph Interchange Format. 2022-02-14. unifiedfontobject.org.
  18. Web site: UFO: Unified Font Object. 2022-02-14. luc.devroye.org.
  19. Web site: features.fea. https://web.archive.org/web/20201018044040/https://unifiedfontobject.org/versions/ufo3/features.fea/. 2020-10-18. 2022-02-21. unifiedfontobject.org.
  20. Web site: Simonson. Mark. 2014-06-12. I didn't quite realize until recently: .ufo + Dropbox kind of sucks.. 2020-05-28. @marksimonson. en.
  21. Web site: FontCreator features and benefits . 2022-09-23 . www.high-logic.com.
  22. Web site: Willis. Nathan. 2014-12-08. A quick look at the new FontForge release [LWN.net]]. https://web.archive.org/web/20220221234507/https://lwn.net/Articles/624623/. 2022-02-21. 2022-02-21. lwn.net.
  23. Web site: Willis. Nathan. Font and type development at LGM 2014. https://web.archive.org/web/20220221233443/https://lwn.net/Articles/592959/. 2022-02-21. 2022-02-21. lwn.net.
  24. Web site: Metapolator – Free Font Editor for Designing Typeface Families. 2022-02-21. metapolator.com. en.
  25. Web site: RoboFont. Welcome to RoboFont!. https://web.archive.org/web/20211105182137/https://robofont.com/documentation/topics/welcome-to-robofont/. 2021-11-05. 2022-02-21. robofont.com.
  26. Web site: Willis. Nathan. April 27, 2016. Introducing TruFont [LWN.net]]. https://web.archive.org/web/20181123052844/https://lwn.net/Articles/684970/. 2018-11-23. 2022-02-21. LWN.net.
  27. Web site: LWN.net Weekly Edition for August 29, 2013 [LWN.net]]. live. https://web.archive.org/web/20211105175918/https://lwn.net/Articles/564371/. 2021-11-05. 2021-11-05. lwn.net.
  28. Web site: Font Development Best Practices: UFO. https://web.archive.org/web/20220222001044/https://silnrsi.github.io/FDBP/en-US/UFO.html. 2022-02-22. 2022-02-22. silnrsi.github.io.
  29. Web site: 2014-06-13. Cooper Hewitt: the typeface by Chester Jenkins Cooper Hewitt, Smithsonian Design Museum. 2022-02-21. www.cooperhewitt.org. en-US.
  30. Web site: 2020-11-25. Inisiatif Google Melestarikan Bahasa Terancam Punah Lewat Noto Font. 2021-11-05. liputan6.com. id.
  31. Web site: Open Baskerville. https://web.archive.org/web/20220102232019/http://klepas.org/openbaskerville/. 2022-01-02. 2022-02-22. klepas.org.
  32. Book: Beckmann, Tom. The font engineering platform collaborative font creation in a self-supporting programming environment. 2019 . Justus Hildebrand . Corinna Jaschek . Eva Krebs . Alexander Löser . Marcel Taeumel . Tobias Pape . Lasse Fister . Robert Hirschfeld . 978-3-86956-464-7. Potsdam . Universitätsverlag Potsdam. 72. en. 1169672607.