How adobe-fonts/source-serif works
1. This repository is a font distribution package, not a typical application. Its purpose is to publish the Source Serif typeface in multiple delivery formats for desktop and web use.
2. The main artifact layer is the OpenType font set under OTF/. These files are the core released fonts and are organized by optical size family and style/weight: Text, SmText, Subhead, Caption, Display, plus a Variable family. Each family includes regular, italic, light, semibold, bold, black, and extra-light cuts where applicable.
3. VAR/ contains the variable font binaries: one Roman and one Italic file. These represent the compact, axis-based form of the family and are the source for browsers or apps that support variable fonts.
4. WOFF/ and WOFF2/ are the webfont packaging layers. Their nested OTF/, TTF/, and VAR/ subfolders indicate conversion targets from the different upstream font formats into browser-friendly compressed assets. This is the repo’s main “distribution fan-out” for web consumption.
5. TTF/ is present as a separate delivery family for TrueType desktop fonts. Even though the tree excerpt doesn’t list its contents, its existence shows the project publishes more than one desktop format, likely to support broader installation compatibility.
6. The source-serif-*.css files are the integration boundary for web usage. Each stylesheet corresponds to one family (caption, display, smtext, subhead, text, variable) and would declare the @font-face mappings that connect CSS font-family names to the packaged font files.
7. demo/index.html and demo/style.css form a small consumer-facing validation site. This is likely used to visually inspect rendering, compare weights/optical sizes, and demonstrate how the CSS/font assets are meant to be loaded.
8. package.json suggests the repo is also a publishable package in the Node/npm sense, even though there is no application runtime. It likely exists to support packaging, release metadata, and tooling around the font assets.
9. The repository boundaries are important: the README points to the source files and build instructions in the main branch of the upstream project, so this tree is primarily a released artifact mirror rather than the design/build source itself.
10. The external dependency model is simple: the fonts are consumed by desktop OS font managers, browser CSS loading, and the demo page. There is no backend service, database, or application server in this repo.
11. For an architecture diagram, the cleanest flow is: font sources in upstream project → generated desktop/web font binaries (OTF, TTF, VAR, WOFF, WOFF2) → CSS family entry points → demo/consumers. The key boundaries are between source-derived binaries, web packaging, and presentation/demo assets.
Main entry points: OTF WOFF OTF · index.html Demo page · README.md README · SourceSerif4-Regular.otf OTF Text
Components 24
Font binaries
Released desktop/font artifacts
- OTF Text · Core static OpenType text cut set.
OTF/SourceSerif4-Regular.otf - OTF SmText · Static OpenType small-text cuts.
OTF/SourceSerif4SmText-Regular.otf - OTF Subhead · Static OpenType subhead cuts.
OTF/SourceSerif4Subhead-Regular.otf - OTF Caption · Static OpenType caption cuts.
OTF/SourceSerif4Caption-Regular.otf - OTF Display · Static OpenType display cuts.
OTF/SourceSerif4Display-Regular.otf - TTF · TrueType desktop delivery family.
TTF - Var Roman · Roman variable-font binary.
VAR/SourceSerif4Variable-Roman.otf - Var Italic · Italic variable-font binary.
VAR/SourceSerif4Variable-Italic.otf
Web packaging
Browser-friendly font outputs and CSS entry points
- WOFF OTF · Compressed webfont outputs derived from OTF binaries.
WOFF/OTF - WOFF TTF · Compressed webfont outputs derived from TTF binaries.
WOFF/TTF - WOFF VAR · Compressed webfont outputs derived from variable fonts.
WOFF/VAR - WOFF2 OTF · WOFF2 outputs derived from OTF binaries.
WOFF2/OTF - WOFF2 TTF · WOFF2 outputs derived from TTF binaries.
WOFF2/TTF - WOFF2 VAR · WOFF2 outputs derived from variable fonts.
WOFF2/VAR - CSS Text · Web integration boundary for the text family.
source-serif-text.css - CSS SmText · Web integration boundary for the small-text family.
source-serif-smtext.css - CSS Subhead · Web integration boundary for the subhead family.
source-serif-subhead.css - CSS Caption · Web integration boundary for the caption family.
source-serif-caption.css - CSS Display · Web integration boundary for the display family.
source-serif-display.css - CSS Variable · Web integration boundary for the variable family.
source-serif-variable.css
Demo
Consumer-facing preview and validation assets
- Demo page · Browser preview for rendering inspection and usage checks.
demo/index.html - Demo styles · Styling for the preview page layout and samples.
demo/style.css
Connections 28
- README → Package: documents · Repository metadata and release context.
- README → OTF Text: describes · Explains the published font set.
- README → CSS Text: links usage · Web consumption entry point.
- OTF Text → WOFF OTF: packages to · Static OTF family is web-packaged.
- OTF SmText → WOFF OTF: packages to · Small-text OTF is web-packaged.
- OTF Subhead → WOFF OTF: packages to · Subhead OTF is web-packaged.
- OTF Caption → WOFF OTF: packages to · Caption OTF is web-packaged.
- OTF Display → WOFF OTF: packages to · Display OTF is web-packaged.
- TTF → WOFF TTF: packages to · TrueType delivery is web-packaged.
- Var Roman → WOFF VAR: packages to · Variable Roman is web-packaged.
- Var Italic → WOFF VAR: packages to · Variable Italic is web-packaged.
- OTF Text → WOFF2 OTF: packages to · Static OTF family is WOFF2-packaged.
- TTF → WOFF2 TTF: packages to · TrueType delivery is WOFF2-packaged.
- Var Roman → WOFF2 VAR: packages to · Variable Roman is WOFF2-packaged.
- Var Italic → WOFF2 VAR: packages to · Variable Italic is WOFF2-packaged.
- WOFF OTF → CSS Text: referenced by · CSS maps family names to packaged assets.
- WOFF OTF → CSS SmText: referenced by · CSS maps family names to packaged assets.
- WOFF OTF → CSS Subhead: referenced by · CSS maps family names to packaged assets.
- WOFF OTF → CSS Caption: referenced by · CSS maps family names to packaged assets.
- WOFF OTF → CSS Display: referenced by · CSS maps family names to packaged assets.
- WOFF VAR → CSS Variable: referenced by · CSS maps variable font assets.
- CSS Text → Demo page: consumed by · Demo page previews the text family.
- CSS SmText → Demo page: consumed by · Demo page previews the small-text family.
- CSS Subhead → Demo page: consumed by · Demo page previews the subhead family.
- CSS Caption → Demo page: consumed by · Demo page previews the caption family.
- CSS Display → Demo page: consumed by · Demo page previews the display family.
- CSS Variable → Demo page: consumed by · Demo page previews the variable family.
- Demo styles → Demo page: styles · Presentation styling for the preview site.