‘dropcaps (typography)’ directory
We develop AI image generation workflows for webpage dropcap typography, creating PNGs & SVGs using image generators. As demos, we create new Gwern.net logos and several custom FLOSS dropcap sets, including felines, Gene
Wolfe horror fiction, and neural- net-inspired dropcaps. Initials or ‘dropcaps’ are fun typographic features used on Gwern.net, but there are few fonts suitable for Web use; creating new ones is difficult & expensive. However, AI image generators have revolutionized image generation, and shown promise in typography.
How practical is it for a hobbyist to use generative models to create dropcap letters, and use them in a web page (like this one)? Can we achieve (1) high-
quality dropcaps, (2) little total human labor, and (3) acceptable bandwidth use (~100kb)? After working through image & SVG- based workflows, we find that: yes, we mostly can.To expand our dropcaps selection, I & Said Achmiz experiment with use of Midjourneyv5/
6 & DALL·E 3 in late 2023, and discover that, while somewhat tricky to prompt, they generate dropcap images we like. The challenge is using them—web font-based dropcaps are already challenging to do, but image- based dropcaps are even harder, due to problems with removing backgrounds, positioning, multiple sizes, and light/ dark- mode compatibility. We first demonstrate image dropcaps by creating a c
at- themed dropcaps set which we call dropcat: we generate & curate the most dropcap- esque ones; we hand- edit them into repositioned & background- free images, and display them with our custom CSS/ JS dropcap implementation. The images are small enough (~32kb, range: 8–140kb) to use freely. We also made holiday- themed Gwern.net logos (Christmas & Halloween). And because we can generate so many dropcaps, we generate many for each letter and pick randomly per-page-load. However, while feasible, the hand-
editing is laborious and took longer than generation! So we looked into vector generation instead, which would make it easier to automatically remove backgrounds & reposition them. While no 2023 vector generation AI does adequate dropcaps, and converting image → SVG often produces large/ bad- looking SVGs, we find that with careful processing, we can make SVGs which look identical & generally are only ~2× larger than hand- tailored PNGs, while still requiring a little manual repositioning. To make that repositioning easier, Said Achmiz developed Dropcap Workshop, a specialized web- GUI dropcap SVG editor. The SVG workflow is: generate an image in a NN → vectorize using the free Recraft.ai service → remove SVG background → reduce precision of numbers in SVG → minify SVG → adjust margins/
positions in Dropcap Workshop → drop into a directory for automatic inclusion in website build → web pages set a CSS variable. We demonstrate this with sets of Gene-
Wolfe/ dropcaps and AI/horror/ vampire- themed neural- (in progress).net/ steampunk dropcaps We release all our dropcap images, code/
scripts , & editor under FLOSS licenses, and hope that this will democratize dropcaps for everyone.
See Also
- Gwern
-
Links
-
“Announcing
turntrout.com
, My New Digital Home ”, Turntrout 2024 - “Re-Noted: Carl Jung’s Midlife-Crisis Notebooks ”, Hess 2024
- “The Design of Turntrout.com ”, Turntrout 2024
- “Dunwich Ink Font [H. P. Lovecraft] ”, Guzovskyi 2024
- “Dynamic Typography: Bringing Text to Life via Video Diffusion Prior ”, Liu et al 2024
- “𝜇NCA: Texture Generation With Ultra-Compact Neural Cellular Automata ”, Mordvintsev & Niklasson 2021
- “Fancy Euclid’s Elements in TeX ”, Slyusarev 2019
- “Computer-Generated Floral Ornament Based on Magnetic Curves ”, Lopyrev 2016
- “Ein Totentanz by Walter Draesner ”, Hardwig 2016
- “Book Design Basics § Dropcaps and Initial Impressions ”, Bricker 2012
- “Magnetic Curves: Curvature-Controlled Esthetic Curves Using Magnetic Fields ”, Xu & Mould 2009
- “The Elements of Typographic Style § Chapter 4: Structural Forms & Devices § 4.1.4 Mark Each Beginning and Resumption of the Text ”, Bringhurst 2004
- “Computer-Generated Floral Ornament ”, Wong et al 1998
- “The Rise and Fall of Uncitedness ”, Schwartz 1997
- “Analog Magazine, October 1960 (V66, #2) § Pg3 ”, Campbell 1960 (page 3)
- “The Machine Man of Ardathia ”, Flagg 1927
- “Woman in Girlhood, Wifehood, Motherhood; Her Responsibilities and Her Duties at All Periods of Life; a Guide in the Maintenance of Her Health and that of Her Children ”
- “CSS Zen Garden #176 § Kelmscott ”, Hodgkinson 2025
- “Cinzel Decorative ”
- “Elsie Swash Caps ”
- “Sail ”
- “Bodoni Classic Deco Caps Medium ”
-
“Gwern.net/
font/ dropcap/ dropcat/ dark at Master ” - “Art Nouveau Initialen ”
- “The LaTeX Font Catalogue: Goudy Initialen ”
- “Cheshire Initials ”
- “Kanzlei Initialen ”
- “Monarchia Dropcap ”
- “Caslon Font Family ”
- “Goudy Initialen ”
- “Neugotische Initialen Font ”
- “Pauls Franck Initialen ”
- “Thannhaeuser Zier Font ”
- “The AI Animal Letters of the Alphabet ”
- “Interactive Floral Ornament Generator Tutorial ”
- Wikipedia
-
“Announcing
- Miscellaneous
Gwern
“Lorem Ipsum: Dropcaps ”, Gwern 2020
Links
“Announcing turntrout.com
, My New Digital Home ”, Turntrout 2024
Announcing turntrout.com
, my new digital home
“Re-Noted: Carl Jung’s Midlife-Crisis Notebooks ”, Hess 2024
“The Design of Turntrout.com ”, Turntrout 2024
“Dunwich Ink Font [H. P. Lovecraft] ”, Guzovskyi 2024
“Dynamic Typography: Bringing Text to Life via Video Diffusion Prior ”, Liu et al 2024
Dynamic Typography: Bringing Text to Life via Video Diffusion Prior
“𝜇NCA: Texture Generation With Ultra-Compact Neural Cellular Automata ”, Mordvintsev & Niklasson 2021
𝜇NCA: Texture Generation with Ultra-Compact Neural Cellular Automata
“Fancy Euclid’s Elements in TeX ”, Slyusarev 2019
“Computer-Generated Floral Ornament Based on Magnetic Curves ”, Lopyrev 2016
“Ein Totentanz by Walter Draesner ”, Hardwig 2016
Ein Totentanz by Walter Draesner
“Book Design Basics § Dropcaps and Initial Impressions ”, Bricker 2012
Book Design Basics § Dropcaps and Initial Impressions
“Magnetic Curves: Curvature-Controlled Esthetic Curves Using Magnetic Fields ”, Xu & Mould 2009
Magnetic Curves: Curvature-Controlled esthetic Curves Using Magnetic Fields
“The Elements of Typographic Style § Chapter 4: Structural Forms & Devices § 4.1.4 Mark Each Beginning and Resumption of the Text ”, Bringhurst 2004
“Computer-Generated Floral Ornament ”, Wong et al 1998
“The Rise and Fall of Uncitedness ”, Schwartz 1997
“Analog Magazine, October 1960 (V66, #2) § Pg3 ”, Campbell 1960 (page 3)
Analog Magazine, October 1960 (v66, #2) § pg3
“The Machine Man of Ardathia ”, Flagg 1927
“Woman in Girlhood, Wifehood, Motherhood; Her Responsibilities and Her Duties at All Periods of Life; a Guide in the Maintenance of Her Health and that of Her Children ”
“CSS Zen Garden #176 § Kelmscott ”, Hodgkinson 2025
CSS Zen Garden #176 § Kelmscott
“Cinzel Decorative ”
“Elsie Swash Caps ”
“Sail ”
“Bodoni Classic Deco Caps Medium ”
“Gwern.net/font/dropcap/dropcat/dark at Master ”
“Art Nouveau Initialen ”
“The LaTeX Font Catalogue: Goudy Initialen ”
The LaTeX Font Catalogue: Goudy Initialen
“Cheshire Initials ”
“Kanzlei Initialen ”
“Monarchia Dropcap ”
“Caslon Font Family ”
“Goudy Initialen ”
“Neugotische Initialen Font ”
“Pauls Franck Initialen ”
“Thannhaeuser Zier Font ”
“The AI Animal Letters of the Alphabet ”
The AI Animal Letters of the Alphabet
“Interactive Floral Ornament Generator Tutorial ”
Wikipedia
Miscellaneous
/doc/
design/ typography/ dropcap/ 2024-02-11-techcrunch-dropcap-excessmarginerror.png : /doc/
design/ typography/ dropcap/ 2024-02-04-theeconomist-dropcap-toomuchmargin.png : /doc/
design/ typography/ dropcap/ 2024-02-01-diplomaticcourier-dropcap-reddotplusunderline.png : /doc/
design/ typography/ dropcap/ 2024-01-30-newyorker-dropcap-qswasherror.png : /doc/
design/ typography/ dropcap/ 2024-01-20-theeclecticlightcompany-dropcap-shadowedbackground.png : /doc/
design/ typography/ dropcap/ 2024-01-19-davidmillington-daveondesign-dropcapsizeerror.png : /doc/
design/ typography/ dropcap/ 2024-01-19-esquire-dropcap-toolowerror.png : /doc/
design/ typography/ dropcap/ 2024-01-19-theverge-dropcaps-splittingworderror.png : /doc/
design/ typography/ dropcap/ 2024-01-19-vanityfair-dropcap-quotationandspacingerror.png : /doc/
design/ typography/ dropcap/ 2024-01-15-fivedials-dropcap-sizefailurecase.png : /doc/
design/ typography/ dropcap/ 2024-01-15-gwern-dropcap-backgroundandpositioningfailureexample.png : /doc/
design/ typography/ dropcap/ 2024-01-15-harpersmagazine-dropcap-upscaledserif.png : /doc/
design/ typography/ dropcap/ 2024-01-15-jdsalari-dropcap-labelingandspacingerror.png : /doc/
design/ typography/ dropcap/ 2024-01-15-medium-dropcap-doubleletterfailure.png : /doc/
design/ typography/ dropcap/ 2024-01-15-medium-onezero-dropcap-solidcirclebackgroundoutline.png : /doc/
design/ typography/ dropcap/ 2024-01-15-nautilus-dropcap-blackoutline.png : /doc/
design/ typography/ dropcap/ 2024-01-15-newyorker-dropcap-excesspunctuation.png : /doc/
design/ typography/ dropcap/ 2024-01-15-politico-dropcap-doubleletterfailurecase.png : /doc/
design/ typography/ dropcap/ 2024-01-15-theatavist-dropcap-upscaleofexistingfont.png : /doc/
design/ typography/ dropcap/ 2024-01-15-thenation-dropcap-doublequotefailure.png : /doc/
design/ typography/ dropcap/ 2024-01-15-thenation-dropcap-redsquarebackground.png : /doc/
design/ typography/ dropcap/ 2024-01-15-time-dropcap-partialoutlineplusrubrication.png : /doc/
design/ typography/ dropcap/ 2024-01-15-undark-dropcap-outlineoverlappingtexterror.png : /doc/
design/ typography/ dropcap/ 2024-01-15-vanityfair-dropcap-positioningandmarginerror.png : /doc/
design/ typography/ dropcap/ 2024-01-14-gwern-googleimages-searchresults-italiccapitallettera.png : /doc/
design/ typography/ dropcap/ 2023-10-31-frederikbl-font-crypticcreatures-regular.ttf /doc/
design/ typography/ dropcap/ 2023-10-25-gwern-gwernnet-dropcat-csspositioningerror-bottom.png : /doc/
design/ typography/ dropcap/ 2023-10-25-gwern-gwernnet-dropcat-csspositioningerror.png : /doc/
design/ typography/ dropcap/ 2023-10-17-gwern-dropcap-mobiledemo.png : /doc/
design/ typography/ dropcap/ 2019-06-17-ethamarcotte-vox-dropcapsanddesignsystems.html : /doc/
design/ typography/ rubrication/ 2019-wolfe-thebookofthenewsun-dropcap.jpg : /doc/
design/ typography/ dropcap/ 2018-08-06-jamieclarke-shovelknightdropcaps.html : /doc/
design/ typography/ dropcap/ 2016-05-16-jayewmanus-amazonkindlewhite-italicdropcaperror.jpg : /doc/
design/ typography/ dropcap/ 2016-01-25-tomlane-sherlockholmesdropcap.html : /doc/
design/ typography/ dropcap/ 2015-09-11-mariozucca-grantland-yankeesuckyankeesuck-dropcaps.html : /doc/
design/ typography/ dropcap/ 2012-04-04-laurafranz-dropcapscurrentcssbestpractices.html : http://
klepas.org/ versal-letters-on-the-web.html : http://
tom7.org/ lowercase/ lowercase.pdf : http://
www.dailydropcap.com/ : https://
archive.org/ details/ Science_Wonder_Stories_v01n12_1930-05.Stellar/ page/ n40/ mode/ 1up : https://
archive.org/ details/ artofilluminatin00tymmrich/ page/ n272 : https://
archive.org/ details/ artofilluminatin00tymmrich/ page/ n281 : https://
blog.8faces.com/ post/ 104679238117/ day8-type-lettering-advent-calendar : https://
blog.8faces.com/ post/ 110538221617/ the-lindisfarne-gospels-the-finest-dropcaps : https://
caniuse.com/ css-initial-letter : https://
cdn.dribbble.com/ users/ 751932/ screenshots/ 1925368/ 8bitcalligraphy.png https://
commons.wikimedia.org/ wiki/ File:Decorated_Incipit_Page_-_Google_Art_Project_(6850309).jpg : https://
grantland.com/ features/ yankees-suck-t-shirts-boston-red-sox/ https://
ilovetypography.com/ 2020/ 08/ 20/ history-of-illuminated-initials/ https://
ilovetypography.com/ 2023/ 03/ 06/ steven-hellers-font-of-the-month-juma/ https://
jonathonf.github.io/ solbera-dnd-fonts/ #solbera : https://
pro.univ-lille.fr/ fileadmin/ user_upload/ pages_pros/ lorenzo_ramero/ CoursAG.pdf : https://
thebookofthree.thecomicseries.com/ comics/ 205/ #content-start : https://
twitchard.github.io/ posts/ 2022-09-23-system-dynamics-schmystem-dynamics.html : https://
wot.fandom.com/ wiki/ Category:Chapter_art : https://
www.1001fonts.com/ andrade-font.html#waterfall : https://
www.1001fonts.com/ botanic-personal-use-font.html : https://
www.1001fonts.com/ floral-capitals-font.html : https://
www.1001fonts.com/ knotty-font.html : https://
www.1001fonts.com/ medici-text-font.html : https://
www.1001fonts.com/ unger-fraktur-zierbuchstaben-font.html#waterfall : https://
www.comicartfans.com/ GalleryPiece.asp?Piece=1777092 : https://
www.dafont.com/ dearest.font : https://
www.foliosociety.com/ usa/ the-book-of-the-new-sun-2-volume.html : https://
www.muddycolors.com/ 2019/ 06/ the-book-of-the-new-sun/ https://
www.myfonts.com/ collections/ ltc-goudy-initials-font-lanston-type-company https://
www.paulshawletterdesign.com/ 2011/ 05/ from-the-bookcase-no-2%E2%80%94spacing-in-typography/ : https://
www.reddit.com/ r/ kindle/ comments/ 13ybmq7/ drop_caps_on_scribe_vs_paprwhite/ : https://
www.reddit.com/ r/ typography/ comments/ 13kwocp/ ok_so_heres_the_drop_caps_of_weaponry_series/ : https://
www.reddit.com/ r/ typography/ comments/ u623fs/ found_these_amazing_drop_caps_in_this_old/ https://
www.reddit.com/ user/ Cretalyst/ submitted/ : https://
www.steelypips.org/ wotfaq/ 2_nondark/ 2.7_generalities/ 2.7.5_iconography.html : https://
www.typografie.info/ 3/ Schriften/ fonts.html/ deutsche-zierschrift-r250/ :