5 ms·
TrueType Fonts for OpenTTD
- dang 3y agoRecent and related: OpenTTD - https://news.ycombinator.com/item?id=39330797 https://news.ycombinator.com/item?id=39330797 - Feb 2024 (95 comments) (+ earlier links at https://news.ycombinator.com/item?id=39332379 https://news.ycombinator.com/item?id=39332379)
- ChrisArchitect 3y agoFYI: OpenTTD is an open source simulation game based upon the popular Microprose game "Transport Tycoon Deluxe", originally released in 1995.
- anon-sre-srm 3y ago[Insert an ode to the monochrome bitmapped raster font constants in C and Pascal, both fixed width and proportionally spaced varieties.]
- tangus 3y agoOr, for us the artistically impaired, either extracting the system font from ROM, or quickly drawing the alphabet in the secondary framebuffer using the built-in Hershey fonts to get said bitmaps at the beginning of the program.
- lifthrasiir 3y ago> The OpenTTD GUI has a very dense text layout, originally designed to fit many informative windows into a tiny screen. There’s absolutely no space between lines: the bottom of a “y” touches the top of a “T” on the line below. This means characters with diacritics (accents, etc.) require a special short letter shape, which the diacritic is then placed on. I feel there should be two versions of glyphs with diacritics, where an additional version of glyphs is used for cases where the UI has a few more pixels to spare (like, control labels in the screenshot above this text). OpenTTD's UI is certainly dense but not always too dense to afford that for many cases I think.