Gothic fonts

merged…
osebo41d ago

Are there any good gothic fonts we can use for titles like on the Threads, New Threads, and Workspace pages?

4 repliesoldestnewest
Osebotfable-5-141d ago

Plan:

  1. Check how titles are set today (app/layout.tsx next/font setup, the h2 rules in app/globals.css for the Threads / New thread / Workspace pages).
  2. Build a comparison board of free blackletter ("gothic") faces from Google Fonts rendered as those exact titles, light + dark, and screenshot it so you can pick by eye.
  3. Wire the strongest candidate in as a --font-display variable (next/font/google) applied only to page titles, so the preview deploy shows it live and swapping to another option is a one-line change.
Osebotfable-5-141d ago

Yes, several, all free (OFL) on Google Fonts, so they self-host through next/font exactly like Inter / Newsreader / JetBrains Mono do today. Board attached: every row is the real 30px h2 setting, light + dark, with a long thread title on the right so you can see how each one degrades on user text.

Shortlist, in my order:

  1. Grenze Gotisch (row 2/3): a gothic/roman hybrid, variable weight 100–900. Unmistakably blackletter at a glance but with modern lowercase proportions, so "New thread" and "Workspaces" still read instantly. Weight 500 sits well against Newsreader body text; 700 if you want it louder.
  2. Pirata One: rounded textura, single weight, very legible. More "pirate poster" than monastery.
  3. UnifrakturMaguntia: the proper Fraktur. Beautiful on "Threads", but "k" and "s" shapes slow reading on anything longer; fine for 1–2 word page titles only.
  4. Texturina: if you want only a hint of gothic. It's a serif with textura-ish strokes; at 30px most people would not call it gothic.

Skip: New Rocker / Metal Mania (band-logo flavour), Fruktur (too heavy, muddy in dark mode), Almendra Display (too thin, drops out in dark mode), the Jacquard pixel faces (fun, but they clash with the clean vals.ai chrome), Uncial Antiqua (Celtic, not gothic).

One note on the word: "gothic" in type-trade English also means a condensed grotesque sans (League Gothic, Franklin Gothic). I put three of those at the bottom of the board in case that was the intent; say so and I'll switch.

Next: I'm wiring Grenze Gotisch 500 in as --font-display, applied only to page-level titles (Threads, New thread, Workspaces, the workspace name, Faces, Themes, About). Thread titles stay Newsreader: they're user-written and often long. Swapping to Pirata One or Unifraktur later is one import line in app/layout.tsx.

Blackletter candidates from Google Fonts at the real 30px h2 size, light. Right column: a long thread title in each face.
Blackletter candidates from Google Fonts at the real 30px h2 size, light. Right column: a long thread title in each face.
Same board in dark mode
Same board in dark mode
Osebotfable-5-141d agothreadide@1f3dec3

Wired in Grenze Gotisch (weight 500) as the page-title face and pushed it to thread/38dd4dea so the preview deploy shows it live. Mockups attached (390px light, 900px dark): Threads head with the New thread CTA, the New thread page, and a workspace page with its open badge.

What changed (threadide, 1f3dec3)

  • app/layout.tsx: Grenze_Gotisch from next/font/google → --font-display on <html>, same self-hosted pattern as Inter / Newsreader / JetBrains Mono (no runtime request to Google, no flash).
  • app/globals.css: :root --display: var(--font-display), "Grenze Gotisch", var(--serif) and .page-title { font-family: var(--display); font-weight: 500; letter-spacing: 0 }.
  • The page h2s on /threads/new, /workspaces, /workspaces/[id], /about and /signin now carry className="page-title" (Threads, Faces and Themes already did). Bottom spacing is preserved with an inline marginBottom.
  • Not changed: h2.thread-h (a thread's own title) and the SignInGate h2, both user-written text, stay in Newsreader. The header wordmark is untouched.

To swap the face: replace the one Grenze_Gotisch import in app/layout.tsx with Pirata_One({ weight: "400", … }) or UnifrakturMaguntia({ weight: "400", … }), and update the fallback name in --display. Nothing else references it. If you'd rather it apply to thread titles too, add .thread-h to the .page-title rule, but check a long title first; blackletter gets heavy past ~40 characters.

Verified: tsc --noEmit clean, next build succeeds (next/font fetched the family). The app can't run in the sandbox, so the screenshots are static mockups over the real globals.css; please eyeball the preview deploy for the real thing.

--- a/app/globals.css
+++ b/app/globals.css
@@ :root
+  --display: var(--font-display), "Grenze Gotisch", var(--serif);
@@
-.page-title { margin: 0; }
+.page-title { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: 0; }
--- a/app/layout.tsx
+++ b/app/layout.tsx
-import { Inter, JetBrains_Mono, Newsreader } from "next/font/google";
+import { Grenze_Gotisch, Inter, JetBrains_Mono, Newsreader } from "next/font/google";
+const display = Grenze_Gotisch({ subsets: ["latin"], variable: "--font-display", display: "swap" });
-    <html lang="en" className={`${sans.variable} ${serif.variable} ${mono.variable}`} suppressHydrationWarning>
+    <html lang="en" className={`${sans.variable} ${serif.variable} ${mono.variable} ${display.variable}`} suppressHydrationWarning>
Grenze Gotisch 500 as the page title on Threads, New thread and a workspace page (static mockup over the real globals.css, 390px, light)
Grenze Gotisch 500 as the page title on Threads, New thread and a workspace page (static mockup over the real globals.css, 390px, light)
Same pages at 900px, dark
Same pages at 900px, dark
Osebot41d ago

Merged threadide #114 by @osebo (merge, 6568876).