Carleton Fonts
By Geep, 2025. The analysis here as of TDM 2.12 and for "english" (including European) unless indicated otherwise.
The Carleton Family in a Nutshell
Carleton is a squarish print-style serif font. The lower case letters look like smaller versions of the upper case letters, so this font can also be referred to as "Carleton Caps", as in this screenshot. Within TDM, there are four members of the Carleton family:
- carleton
- carleton_bold
- carleton_condensed (i.e., more tightly spaced in the horizontal dimension)
- carleton_glow
Base-font carleton is used extensively throughout the main menu system. It may appear by itself, in black, for non-interactive subheadings and descriptions. (In a few places, like the "Downloadable Missions" title, a "headline" style using carleton_bold is deployed.)
Or it may participate in dynamic text highlighting for user interactions. Typical overlay combinations are:
- carleton and carleton_glow
- carleton_bold and carleton_glow
- carleton, carleton_bold and carleton_glow
The latter 3-way stacks provide attractive mouse-over highlighting for "buttons" like "Back" or "Main Menu".
For FMs, there are standard readable sheet and scroll prefabs and sign text decals that use carleton, just by itself. The style of this font makes it a good choices for notices; between title and body, and upper and lower case, there can appear to be four different sizes of "capital" letters.
All these usages predominately involve mid-sized and large text (e.g., GUI textscale 0.24 and up), that draws on the 24pt and 48pt size bitmaps. The "english" form of 24pt and 48pt both offer TDM’s full European glyph set. Glyphs are stylishly done for 48pt and for ACSII characters of 24pt; the accented characters of 24pt are rough-hewn and merely adequate.
While 48pt carleton_bold actually has bold (thickened) glyphs, 24pt glyphs are the same as regular carleton. A revision of the 24pt glyphs moved them to larger bitmaps, resulting in crisper characters (but really of benefit only to ASCII so far, as noted.)
File Naming and Content Sharing across the Carleton Family
The four members share bitmap naming. For instance, if you examine any of the 4 derived fontimage_24.ref files, you see references like:
shaderName fonts/Carleton_0_24.tga
and it will say "Carleton_..." in all cases, not for instance "Carleton_condensed_...". (As is typically the case in TDM, a shader filetype of .tga actually resolves to .dds, and shaderName is case-insensitive; the actual filenames are all lower-case.)
There is also file content sharing (i.e., duplication). As shown in the tables below, the sharing pattern is more complex, and arguably incoherent. This may reflect errors in distribution, or perhaps some member/size combinations not really being used.
filename | /carleton/ | /carleton_bold/ | /carleton_condensed/ | /carleton_glow/ |
---|---|---|---|---|
fontimage_12.dat | SAME | SAME | SAME | SAME |
fontimage_24.dat | SAME | SAME | unique | SAME |
fontimage_48.dat | SAME | SAME | unique | SAME |
filename | /carleton/ | /carleton_bold/ | /carleton_condensed/ | /carleton_glow/ |
---|---|---|---|---|
carleton_0_12.dds | SAME | unique | SAME | unique |
carleton_0_24.dds | SAME | SAME | unique | unique |
carleton_1_24.dds | SAME | SAME | unique | unique |
carleton_0_48.dds | SAME | unique | SAME | unique |
carleton_1_48.dds | SAME | unique | SAME | unique |
carleton_2_48.dds | SAME | unique | SAME | unique |
carleton_3_48.dds | SAME | unique | SAME | unique |
carleton_4_48.dds | SAME | unique | SAME | unique |
carleton_5_48.dds | SAME | unique | SAME | unique |
carleton_6_48.dds | SAME | unique | SAME | unique |
carleton_7_48.dds | SAME | unique | SAME | unique |
Bitmap File Sizes across the Carleton Family
The english 24pt DDS files shown in bold above have 512x512 bitmaps. All other files (including those for Russian, not in the table) have the default 256x256 bitmaps. This includes carleton_glow. Observe that it is not required that the base & glow have identical bitmap sizes (although that is helpful to allow GIMP layering).
See also Refont#Carleton_Family for corresponding refont commands.
Carleton & Carleton Glow in the Main Menu System
This pairing occurs basically everywhere thorough the main menu system. Against a parchment background, typical presentations:
- Major menu-page-selection keywords are by default rendered in black with no glow, but will turn white with blood-red glow highlighting when either selected (as if a tab for the current page) or moused-over. This will also play a sound and often show a text hint.
- Value keywords for a particular setting are shown in white with a faint black outline glow. This presentation style is also used for row items within lists.
Implementation of this starts under \tdm_gui01\guis\mainmenu_defs.gui, with:
#define MM_GLOW_FONT "fonts/carleton_glow" #define MM_FONT_RIGHT_GLOW font MM_GLOW_FONT forecolor INVISIBLE textscale 0.24 visible 1 textalign 2 #define MM_FONT_LEFT_GLOW MM_FONT_RIGHT_GLOW textalign 0 #define MM_FONT_CENTER_GLOW MM_FONT_RIGHT_GLOW textalign 1
These are then used in the glow layers (i.e., defWindows) of .gui for particular menu pages and their paired and aligned carleton-base layers. Associated mouse handlers can specify and turn on a glow color (temporarily or sticky if selected) and make other state changes as required.
#define MM_FONT_HEADLINE font MM_BOLD_FONT forecolor NORMAL_COLOR textscale MM_FONTSCALE*0.85 visible 1 textalign 1
[need to say more here about 2-way and 3-way layering and dynamic color changes]
Carleton in Assets for FMs
In the tables below, most content has a textscale above 0.30, so draws from the 48pt size, indicated in bold. Otherwise, with a textscale of 0.16 to 0.30, from 24pt.
Prefab | Title textscale | Body textscale |
---|---|---|
.../books/... none | ||
.../scrolls/scroll_print_carleton.gui | 0.40 | 0.28 |
.../sheets/sheet_paper_print_carleton_caps.gui | 0.40 | 0.31 |
Decal | Textscale |
---|---|
sign_text_carleton.gui | 2 |
sign_text_carleton_small.gui | 1 |
Carleton_condensed
As indicated above, Carleton_condensed DDS files are all 256x256.
12pt Size
The main menu system does not use this size. In your FM, it is recommended to NOT invoke 12pt carleton_condensed (i.e., by specifying a GUI textscale of 0.15 or less). Instead, use regular carleton, possibly with a slightly smaller textscale.
Although 12pt carleton_condensed exists, its DAT file and single DDS file are mere placeholders that are identical to those of carleton 12pt.
48pt Size
The main menu system does not use this size. In your FM, it is recommended to NOT invoke 48pt carleton_condensed (i.e., by specifying a GUI textscale of above 0.30). Instead, use regular carleton, possibly with a slightly smaller textscale.
The set of eight DDS files for 48pt carleton_condensed are identical to those for 48pt carleton. However, the DAT file has different content, though the difference is not due to horizontal "condensation".
A one time, Tels drafted a Font Patcher command file for 48pt carleton_condensed, to reduce the width and xSkip of a selected subset of the carleton’s ASCII alphanumeric characters, presumably those most generously spaced to begin with. Evidently this was not finalized and deployed. Instead, inspection of the current 48pt DAT file for carleton_condensed suggests it was based on an early version of carleton, at a time when only some of the accented characters were implemented. (In particular, the DAT lacks re-implemented metrics for chars 128-139 and 145-155.)
24pt Size
The main menu system uses this, but sparingly. Since a "glow" form of carleton_condensed was never developed, only regular non-glow uses are applicable.
The contents of the DAT file and the set of two DDS files for 48pt carleton_condensed DIFFER from those for 48pt carleton.
For the main menu system, where carleton was used for English-language players, the more-compact carleton_condensed was briefly considered as a method of accommodating European language translations. However, this would require dynamic language switching, and was found to be a hill too far, compared to just reducing Carleton’s textscale value.
The actual limited uses in the main menu systems are seen as you survey the downloadable missions. Specifically, when looking at a candidate mission, the Mission Details page has a Description section, whose body text is carleton_condensed with textscale 0.17. Compared to other similar text section here (that use regular carleton with textscale 0.18), this is slightly smaller and condensed. Also, the Next >> and << Prev buttons for cycling through screenshots have their button captions in this font (with textscale 0.23).
For More
- Character-set coverage of Carleton family is included in the the summary analysis of 2.12 TDM fonts, based on applying 'refont -stats ...' to all 'english' DAT files.