{"id":648,"date":"2024-10-15T13:42:00","date_gmt":"2024-10-15T11:42:00","guid":{"rendered":"https:\/\/gabor.heja.hu\/blog\/?p=648"},"modified":"2024-10-20T20:47:28","modified_gmt":"2024-10-20T18:47:28","slug":"wu3-segments-free-vienna-subway-font-wien-u-bahn-font","status":"publish","type":"post","link":"https:\/\/gabor.heja.hu\/blog\/2024\/10\/15\/wu3-segments-free-vienna-subway-font-wien-u-bahn-font\/","title":{"rendered":"WU3 Segments &#8211; a free font based on Vienna subway displays"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"451\" src=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_1-1024x451.jpg\" alt=\"\" class=\"wp-image-656\" srcset=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_1-1024x451.jpg 1024w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_1-300x132.jpg 300w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_1-768x338.jpg 768w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_1.jpg 1515w\" sizes=\"auto, (max-width: 799px) 94vw, (max-width: 1023px) 67vw, (max-width: 1365px) 62vw, 1037\" \/><figcaption>A display on the U3 subway line in Vienna<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When I first was on the U3 subway in Vienna last year I noticed how many segments the characters have on these displays. It looked absurdly many, but I really liked the shape of the characters, so the next time when I was around I took a few pictures and started to draw it in Inkscape. I counted 84 segments in the end.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"325\" src=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_2-1024x325.jpg\" alt=\"\" class=\"wp-image-657\" srcset=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_2-1024x325.jpg 1024w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_2-300x95.jpg 300w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_2-768x244.jpg 768w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_2-1536x487.jpg 1536w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/blog_photo_2-2048x650.jpg 2048w\" sizes=\"auto, (max-width: 799px) 94vw, (max-width: 1023px) 67vw, (max-width: 1365px) 62vw, 1037\" \/><figcaption>Characters of the display recreated in Inkscape. Note: there is one extra segment, the bottom left internal rounding (seen in G), that was my mistake<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Needless to say, at this point I was already in love with these shapes. I was also <em>joking <\/em>about making a font out of it, but&#8230; well&#8230;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating the font<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After looking around for a bit I found <a href=\"https:\/\/birdfont.org\/\">Birdfont<\/a>,  a free open source font editor. Checking out the <a href=\"https:\/\/www.youtube.com\/watch?v=Z7qE5Y-tQyY\">Intro to Birdfont<\/a> tutorial by Spencer Saunders was enough to get me started.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Birdfont has a few sample fonts but you can really open any TTF file with it. As I had no idea what would be the correct shape and dimensions in the SVGs, I have opened a TTF font and exported a wide and full height letter with accents (&#8220;\u00cb&#8221; in my case) and based my characters on its shape (although it turned out to be a bit too low in the previews).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"484\" src=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/align2_trim-1024x484.jpg\" alt=\"\" class=\"wp-image-651\" srcset=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/align2_trim-1024x484.jpg 1024w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/align2_trim-300x142.jpg 300w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/align2_trim-768x363.jpg 768w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/align2_trim.jpg 1243w\" sizes=\"auto, (max-width: 799px) 94vw, (max-width: 1023px) 67vw, (max-width: 1365px) 62vw, 1037\" \/><figcaption>The letter &#8220;\u00cb&#8221;, overlaid with the segments used in the font, the normal uppercase letter height is aligned so the font size should be more or less precise, the width (with spacing) is based on the real displays<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Birdfont has a really great approach when importing the characters from SVGs. Basically you can import a directory containing one SVG per character with an easy to follow naming scheme:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>the base of the file name is the character to import (<code>C.svg<\/code> will imported as &#8220;C&#8221;)<\/li><li>everything after <code>#<\/code> is treated as comment (<code>C#v0.2.1.svg<\/code> will be &#8220;C&#8221;)<\/li><li>special characters (or anything, really) can be imported based on its Unicode codepoint (<code>U+&lt;codepoint&gt;.svg<\/code>, so <code>U+2e.svg<\/code> will be &#8220;.&#8221;, <code>U+5b.svg<\/code> will be &#8220;[&#8220;)<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">It can also set the character width based on the SVG document size. These were my SVG Folder Import settings:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"434\" src=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/image.png\" alt=\"\" class=\"wp-image-650\" srcset=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/image.png 850w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/image-300x153.png 300w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/image-768x392.png 768w\" sizes=\"auto, (max-width: 799px) 94vw, (max-width: 1023px) 67vw, (max-width: 1365px) 62vw, 1037\" \/><figcaption> SVG Folder Import settings  in Birdfont<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Although I had to manually unselect a few files, but that was just a few clicks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It can also export EOT and SVG formats, the OTF is unfortunately a &#8220;plus version&#8221; feature. It can also tune spacing, kerning, ligatures, but I didn&#8217;t need these.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After making a few characters I exported a TTF to play around with. It looked great! So I added the rest of the characters I had a photo of and also found some photos online (see the <a href=\"https:\/\/github.com\/gheja\/wu3-segments?tab=readme-ov-file#sources\">Sources in the readme<\/a>), and then guessed the rest of the characters based on these. The full character set as of v0.12 looks like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"550\" src=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/characters_in_v0.12-1024x550.png\" alt=\"\" class=\"wp-image-658\" srcset=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/characters_in_v0.12-1024x550.png 1024w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/characters_in_v0.12-300x161.png 300w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/characters_in_v0.12-768x413.png 768w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/characters_in_v0.12-1536x826.png 1536w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/characters_in_v0.12.png 1920w\" sizes=\"auto, (max-width: 799px) 94vw, (max-width: 1023px) 67vw, (max-width: 1365px) 62vw, 1037\" \/><figcaption>All the characters in the WU3 Segments v0.12 font. The ones with gray background are duplicates (lowercase letters are substituted with uppercase ones), the ones marked with a blue dot are guesses<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I did a side-by-side comparison with a photo and also a bit of a test run.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/demo_1-1024x1024.jpg\" alt=\"\" class=\"wp-image-659\" srcset=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/demo_1-1024x1024.jpg 1024w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/demo_1-300x300.jpg 300w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/demo_1-150x150.jpg 150w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/demo_1-768x768.jpg 768w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/demo_1-1536x1536.jpg 1536w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/demo_1-666x666.jpg 666w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/demo_1.jpg 1600w\" sizes=\"auto, (max-width: 799px) 94vw, (max-width: 1023px) 67vw, (max-width: 1365px) 62vw, 1037\" \/><figcaption>Some dummy text with the WU3 Segments font overlaid on a photo of a real display<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And well, I could not resist to try it in a terminal&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"726\" src=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/screenshot_ubuntu_terminal-1024x726.jpg\" alt=\"\" class=\"wp-image-660\" srcset=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/screenshot_ubuntu_terminal-1024x726.jpg 1024w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/screenshot_ubuntu_terminal-300x213.jpg 300w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/screenshot_ubuntu_terminal-768x545.jpg 768w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/screenshot_ubuntu_terminal-1536x1089.jpg 1536w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/screenshot_ubuntu_terminal.jpg 1897w\" sizes=\"auto, (max-width: 799px) 94vw, (max-width: 1023px) 67vw, (max-width: 1365px) 62vw, 1037\" \/><figcaption>A screenshot of a PuTTY terminal using the WU3 Segments font, connected to an Ubuntu machine<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Downloading the font<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I put everything in the <a href=\"https:\/\/github.com\/gheja\/wu3-segments\">wu3-segments GitHub repo<\/a>, you can download the font files under the releases tab:<br><a href=\"https:\/\/github.com\/gheja\/wu3-segments\/releases\/\">https:\/\/github.com\/gheja\/wu3-segments\/releases\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Feel free to use it and I&#8217;d appreciate any feedback you might have!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Further?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At this point I thought the font was quite complete and I didn&#8217;t expect any major changes &#8211; except&#8230; <a href=\"https:\/\/mastodon.social\/@derloris\/113250611901203615\">derloris on Mastodon <\/a>showed me two photos they took with <strong>lowercase letters<\/strong> displayed!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"1024\" src=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/Screenshot_20241016_131916_Tusky-767x1024.png\" alt=\"\" class=\"wp-image-661\" srcset=\"https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/Screenshot_20241016_131916_Tusky-767x1024.png 767w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/Screenshot_20241016_131916_Tusky-225x300.png 225w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/Screenshot_20241016_131916_Tusky-768x1025.png 768w, https:\/\/gabor.heja.hu\/blog\/wp-content\/uploads\/2024\/10\/Screenshot_20241016_131916_Tusky.png 1080w\" sizes=\"auto, (max-width: 767px) 100vw, 767px\" \/><figcaption>A screenshot of a Toot from mastodon, with two photos showing the lowercase letters on these displays<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I did not expect this. Although they look a bit janky (the spacing is all over the place) now I feel the font is not quite as complete as I thought. And maybe now I should add these characters, too&#8230;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Some notes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Collecting all the characters needed for a font seems to be an impossible task, as only a few station names and the numbers are displayed, apart from occasional messages like &#8220;Use public transport, save the climate!&#8221; (&#8220;\u00d6ffis n\u00fctzen, Klima sch\u00fctzen!&#8221;, which actually led to <a href=\"https:\/\/futurezone.at\/digital-life\/wiener-linien-crashen-echtzeitanzeige-mit-klima-schuetzen\/400507669\">misbehave\/crash the mobile apps and other connected services<\/a>). So long story short, I had to guess several characters (surprisingly Q, X, Y are amongst those).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have any pictures of any letters that are missing or marked as guesses, I&#8217;d happy to update the font, see the <a href=\"https:\/\/github.com\/gheja\/wu3-segments?tab=readme-ov-file#about\">About section of the readme<\/a> for details.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Posting about it on Mastodon (okay, tooting is the correct verb) was a big part of kicking this project forward. Each of my posts about it got more and more positive reactions and encouragement: <a href=\"https:\/\/mastodon.social\/@gheja\/113012797551894562\">my first impressions<\/a>, <a href=\"https:\/\/mastodon.social\/@gheja\/113138822732431374\">kind of joking about making a font<\/a>, <a href=\"https:\/\/mastodon.social\/@gheja\/113215721872127696\">releasing the preview TTF font file<\/a>, they all got great reactions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/mastodon.social\/@mwichary@mastodon.online\">Marcin Wichary<\/a> made a really nice <a href=\"https:\/\/aresluna.org\/segmented-type\/\">Segmented type appreciation corner<\/a> webpage to play around with segmented fonts, I think you might like it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I first was on the U3 subway in Vienna last year I noticed how many segments the characters have &hellip; <a href=\"https:\/\/gabor.heja.hu\/blog\/2024\/10\/15\/wu3-segments-free-vienna-subway-font-wien-u-bahn-font\/\" class=\"more-link\"><span class=\"more-button\">Continue reading &gt;<span class=\"screen-reader-text\">WU3 Segments &#8211; a free font based on Vienna subway displays<\/span><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":668,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4],"tags":[74,28,71,75,72,73],"class_list":["post-648","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-dev","tag-birdfont","tag-dev","tag-font","tag-ttf","tag-vienna","tag-wien"],"_links":{"self":[{"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/posts\/648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/comments?post=648"}],"version-history":[{"count":12,"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/posts\/648\/revisions"}],"predecessor-version":[{"id":675,"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/posts\/648\/revisions\/675"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/media\/668"}],"wp:attachment":[{"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/media?parent=648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/categories?post=648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gabor.heja.hu\/blog\/wp-json\/wp\/v2\/tags?post=648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}